intellij-foldable-project-view
intellij-foldable-project-view copied to clipboard
"Select opened file" doesn't work for folded files
When you're viewing / editing a file that is folded (or belongs to a folded directory), when you execute "Select opened file" in the project view, the file won't be highlighted in a tree structure
I'm getting annoyed by this, too. One use case, where it can easily happen, is when you have, for example, the Maven target
directory marked as ignored (e.g. via .gitignore) and then you have generated Java sources. The source directories for those generated sources are located inside the target
directory. So when I open such generated Java file and then click the "Select opened file", nothing happens. Of course, a workaround is to turn off the folding of the hidden files, but then the plugin becomes useless.
If you mean Always select opened file
, that's working great for me at PHPStorm 2022.1.1 / 221.5591.58
@bartekczyz Does this happen in project roots? @mamuf's description seems to indicate it is happening with subdirectories.
Not sure, but likely related to #3, #6, #11, and #14.
I love this plugin and was also annoyed by this issue as well.
The "Select Opened file" button does not work:
The situation where it annoyed me the most was when navigating in a JS project, navigating to an imported module, then asking IntelliJ to show me the file in the tree, more specifically in the node_modules
directory.
I found a workaround which is OK for me: uncheck "Hide ignored files". This puts the node_modules
directory out of the "Folded files" group, and then "Select Opened file" works again.
