Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Syncing Project View with Editor in RubyMine

This should be obvious, but I can't see how to do it. Just want the project browser to stay in sync with the current file I'm editing.

I'm using IdeaVIM plugin in case that's causing any issues, though I think it's just default value not to sync.

like image 969
mahemoff Avatar asked Dec 19 '11 23:12

mahemoff


People also ask

What does the project view show in the EDU tools?

Project view. This view displays all the project items along with their dependencies (SDKs and libraries). The emphasis is on the directory structure, although the packages are also shown.

How do I change the project view in IntelliJ?

To change settings of a module that hosts the file you are currently editing, just press Alt+F1, 7 or open the View menu, select Select In and click Project Structure. IntelliJ IDEA will open the Project Structure dialog and jump to the required module.

What is sync in IntelliJ?

Compatible with IntelliJ IDEA (Ultimate, Community, Educational), Android Studio and 13 more. This automates the action of right clicking on a project and clicking synchronize. This can be useful if you need to turn off the IDE's "Auto Synchronize on Frame Activation" due to using network mounted file systems.


2 Answers

Project view has an option to Autoscroll from Source under the Gear icon. If you prefer manual sync, use Navigate | Select In... menu or the corresponding keyboard shortcut.

like image 85
CrazyCoder Avatar answered Oct 06 '22 13:10

CrazyCoder


The manual sync can be found in Navigate | Select In... The keyboard shortcut would be ALT-F1 1 ESC (the '1' selects the project windows, the ESC goes back to the editor window).

like image 32
Jan Avatar answered Oct 06 '22 13:10

Jan