Rory Baffle
Rory Baffle

Reputation: 155

Reveal current file in project sidebar pane in Qt Creator

After using Sublime Text for a while for work, I've found myself wanting this feature more and more in Qt Creator. For those that don't know, in Sublime there is an option to open the project tree to the current file called "Reveal in sidebar".

Is there a keyboard shortcut for Qt Creator that I'm missing here? Or is the functionality simply not there?

Thank you for any light you can shed on the situation!

Upvotes: 14

Views: 1805

Answers (1)

MusiGenesis
MusiGenesis

Reputation: 75296

Look at the toolbar in Qt Creator, above the "Project" tree. You'll see a little button with two overlapped ovals. This will sync the project tree with the current open file, and reveal wherever it is in the project hierarchy:

enter image description here

Upvotes: 33

Related Questions