Show directory in class navigator
Answered
I work on a project where there are multiple files with the same name in different directories. When I use the class navigator to search for a file and there are multiple files with the same name, I cannot distinguish which file I need to open. Is there a way for IntelliJ to display the directory name of the selected file in the class navigator so I can determine the correct file?
Please sign in to leave a comment.
You can include directory name (or its part) in your search, like dir/file.txt. Does it help? Use the slash to separate directory from the file.
Also, Navigate | File dialog displays the directory where the file is located in the parenthesis after the file name:
Hey Serge,
this is a workaround which is usable, thanks. It's not as good as having the directory in parenthesis for class navigation as file navigation give many more results. Please add this as a feature request.
Darryl