Shortcut

Answered

Hey, is there a shortcut similar to the one we have in Rider IDE to locate the current file in the project structure?

If you guys can give me the shortcut for mac and linux as well would be great.

Thank you.

 

Jhonny

0
1 comment

Hi!

1. You can right-click the Project toolbar in the Project tool window and from the context menu select Autoscroll from Source. After that CLion will track the file that is currently opened in the active editor tab and locate it in the Project tool window automatically.

2. You can locate a target in the Project tool window. If the file is opened in the editor, press ⌥F1 for the Select in popup. In the popup, select Project View and press . CLion locates your target in the Project View window.

More info: https://www.jetbrains.com/help/clion/navigating-through-the-source-code.html.

0

Please sign in to leave a comment.