Reputation: 920
If i'm working on a file in RubyMine, is there a shortcut key or context menu option where I can "reveal in sidebar" and it basically would expand the project tree down to the file I currently am working on?
This is a feature in both TextMate and Sublime Text 2, but I haven't found it RubyMine yet.
Upvotes: 40
Views: 7474
Reputation: 4261
FOR RubyMine v2021.1.3
Goto help and click Find Action
, as shown below:
Then search for Keymap
setting, as shown below:
Then, in Keymap Settings, search for Select File in Project View
, as shown below:
Then add a keyboard shortcut. I have added Alt + P
. So, whenever I'm on a file and want to see it in the Project View, I simply do Alt + P
.
Although, there are other methods of doing so. But, this is much convenient for me. Hope it helps someone else too.
Upvotes: 0
Reputation: 6517
In RubyMine 2019.3:
Upvotes: 15
Reputation: 786
Also you can use target icon in Project view. With Rubymine 2019, it'a new target icon.
Upvotes: 43
Reputation: 1838
To change the keymap go to
File -> Settings (RubyMine -> Preferences)
Keymap ->
Main Menu -> Navigate -> Select In
Upvotes: 2
Reputation: 599
You can use a setting that automatically does that.
In Project View go to settings and activate Autoscroll From Source
It will open current file in the project tree like sublime or atom does.
Upvotes: 18
Reputation: 402375
Navigate
| Select In
, Project View. Shortcut would depend on keymap, default is Alt+F1.
Upvotes: 43