Show current file in Project view?

Completed

Hi there

Is there a way of revealing the file you're currently editing in the Project view?   I generally open files using Cmd-T but quite often I'd like to quickly show the folder in which this file resides in the Project view.


Thanks
Olly

13 comments
Comment actions Permalink

Hello lylo,

Is there a way of revealing the file you're currently editing in the
Project view? I generally open files using Cmd-T but quite often I'd
like to quickly show the folder in which this file resides in the
Project view.


Alt-F1 (View | Select In...)

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


9
Comment actions Permalink

Hello Olly,

Is there a way of revealing the file you're currently editing in the Project view?   I generally open files using Cmd-T but quite often I'd like to quickly show the folder in which this file resides in the Project view.


You can use Select In... (Alt+F1) action to open file in editor in Project or Rails view.
Also in Project pane you can enable Autoscroll from/to sources.

Regards,
Oleg

5
Comment actions Permalink

Thanks everyone

0
Comment actions Permalink

 Hi there,

In PhpStorm v2016.2.1, "ALT-F1" opens the "Select Target" popup menu and I have to press "1" to select the "Project View".

Is there any way this can be achieved with a single key mapping?

Thanks!

0
Comment actions Permalink

You can assign another shortcut for View | Tool Windows | Project by going to Settings | Keymaps.

0
Comment actions Permalink

Thanks @olga.  However, the key map you are referring to is not available in phpStorm v2016.2.1.  Someone told me this will be available in v2016.3

0
Comment actions Permalink

I want to be able to select the file I'm editing in the left pane which is Project Explorer. By pressing Alt+F1 I get a drop-down menu opened where I should then select "1. Project". How to assign a single shortcut key to immediately select the file in the Project?

0
Comment actions Permalink

@Artiom, this is can achieved with a single kepmap called "Select in Project View" , which is available in PhpStorm v2016.3 or later.

3
Comment actions Permalink

Many Thanks D H!

0
Comment actions Permalink

The action seemed to be called "Locate/Select in Solution View" in 2018.

0
Comment actions Permalink

Click the gear and then Autoscroll From Source

 

enter image description here

8
Comment actions Permalink

ctrl + alt + 1 for my PyCharm on linux. or type the action "Select in Project View" under ctrl + shift + A

0
Comment actions Permalink

Webstorm for Mac...

Project > Hamburger (type) Menu > Autoscroll from source

0

Please sign in to leave a comment.