This is feature request, not a bug. I did not find suitable place for feature request. Feature request: "Focus/highlight/select currently edited file in the project view." Current state: There is no simple way how to focus/highlight/select currently* edited file in the "Projects" toolview"(*or any file opened in the editor tab). Business requirement: The user shall be able to quickly find currently opened or edited file in the "Projects" toolview in order to get context of the file. The immediate action "Select in projects view" should be accessible: - from editor context menu, - from editor tab context menu, - have the possibility to bind to user defined "shortcut". User story: - Bob opens large project - Bob will start build of the project - There are multiple errors in CMakeList.txt files, which Bob opens by clicking on the error messages showed in the "Build" toolview. - Bob finds that there are so many CMakeList.txt files opened in the editor - Bob wants to identify context of actually opened file - Bob press "Ctrl+Alt+P" and get the current file highlighted/selected in the "Projects" toolview. Notes: The shortcut "Ctrl+Alt+P" is just example/placeholder for more appropriate shortcut. Instead using the shortcut, Bob may want to use particular context menu. Alternatively if the file is not part of any project, the file may be highlighted in the Filesystem toolview.
Hmm, isn't that what the "Locates current document ..." action in the projects toolview's tool bar does? It also has a default shortcut: Ctrl+< You can search for the action in the shortcut editor dialog: Settings -> Configure Shortcuts
Thank you! Yes, it is exactly what I was looking for. My toolview had disabled toolbar so I did not see the icon and did not find it elsewhere. Once it is here :-) what do you think about to have it in the context menu?
You can find the action in the context menu of the tool view itself (RMB click either on title bar of the tool view or the view tool toggle button at the window border). IMHO adding it as well to the context menu shown when invoking that menu inside the Projects tool view would have disadvantages: a) clutters that menu some more b) mixes different contexts
Yep, I don't think this action needs to be added in more places.