crazyproger / Tabdir

IntelliJ IDEA plugin for adding path chunks to file tabs
32 stars 12 forks source link

Folders for some files not showing #28

Open richardhabits opened 2 years ago

richardhabits commented 2 years ago

As requested, the issue of missing folders with screenshots:

This 'root directory' option on the plugin page does not exist image

This is the properties overview on macOS, IntelliJ IDEA 2021.3.3 (Ultimate Edition): image

It does not seem to show anything from the root directory of the repo. The tab at the top does work for some reason. image

vniehues commented 5 months ago

I know this is old but I stumbled over this while searching for a solution so I'll provide what worked for me :)

Basically in the main settings the inputs for "root directory" are missing but if you just enable "use per project configuration" and add a config for your current project (and each other project because it's ... per project ^^) you can configure it there and it will work.

I just selected the project root folder in both inputs.

Edit: Also, if you head over to this fork: vlascik fork you can download the jar file which will work in Rider 2024.1. Just install the plugin from disk after downloading. I didn't test anything else but I can confirm it works there.

Here are some screenshots describing the process: Bildschirmfoto 2024-04-12 um 10 47 08 Bildschirmfoto 2024-04-12 um 10 47 57 Bildschirmfoto 2024-04-12 um 10 48 30

vlascik commented 4 months ago

There is now a fork of this addon at https://plugins.jetbrains.com/plugin/24528-tabdir-redux , should be approved in 2 days. The repo is at https://github.com/vlascik/Tabdir.

Seems that I fixed the exceptions people were complaining about in issues.

The folders are missing if the shortening ends up in an empty string. If this is the case, my fork has a feature called "Empty path replacement", where you can decide what prefix should be shown on global, or per folder level.

I also added an option to use Regex replacements on tab titles.

Users will have to uninstall this version before installing a new one.