How to select opened file in projects list in PHPstorm? I mean, have a PHPstorm \"select in projects\" Netbeans function analog.
Ctrl+Shift+1 then Enter works in PHPStorm 5.x and is the accelerator for the answer given by @crazycoder
While NetBeans allows you to do this all in one keyboard shortcut, I couldn't find one shortcut to accomplish this. But with the following process you can accomplish it in two easy keystrokes.
For PhpStorm 5:
Keymap
on the left.Main menu
> Navigate
> Select In...
then right-click on it and select Add Keyboard Shortcut
.First Stroke
and press the key combination on your keyboard you want to use to initiate the Select In...
dialog box.OK
button to close the Preferences window and accept the new keymap.1. Project View
is selected by default. Simply press [ENTER]
or 1
and the currently open file will be highlighted in your Project pane.In PHPStorm 6, the project tool window provides Scroll from Source
button, which i believe, does what you want. Take note though that the button will only appear once Autoscroll from Source
is unchecked from the window settings which can be accessed by clicking the cogwheel icon
Looking for this as well and stumbled on this question so I'll provide my answer here.
Navigate
(View
in older versions) | Select In...
| Project View
. It's also possible to enable Autoscroll from source
option in the Project View
settings.
Alt + F1 + 1 (for project window)
Alt + F1, will show a list from which you could select a window by pressing a number or use mouse.