PHPstorm project navigation

后端 未结 5 1388
不思量自难忘°
不思量自难忘° 2021-02-02 05:43

How to select opened file in projects list in PHPstorm? I mean, have a PHPstorm \"select in projects\" Netbeans function analog.

相关标签:
5条回答
  • 2021-02-02 06:11

    Ctrl+Shift+1 then Enter works in PHPStorm 5.x and is the accelerator for the answer given by @crazycoder

    0 讨论(0)
  • 2021-02-02 06:13

    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:

    1. Open the Preferences dialog box and select Keymap on the left.
    2. Use the search box for "Select In" or navigate in the tree to Main menu > Navigate > Select In... then right-click on it and select Add Keyboard Shortcut.
    3. Select the top box First Stroke and press the key combination on your keyboard you want to use to initiate the Select In... dialog box.
    4. Click the OK button to close the Preferences window and accept the new keymap.
    5. Hit the key combination from Step 3. A small dialog box opens. Notice option 1. Project View is selected by default. Simply press [ENTER] or 1 and the currently open file will be highlighted in your Project pane.

    PhpStorm Navigate > Select In... dialog box

    0 讨论(0)
  • 2021-02-02 06:21

    In PHPStorm 6, the project tool window provides Scroll from Source 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 autoscroll from source

    Looking for this as well and stumbled on this question so I'll provide my answer here.

    0 讨论(0)
  • 2021-02-02 06:23

    Navigate (View in older versions) | Select In... | Project View. It's also possible to enable Autoscroll from source option in the Project View settings.

    0 讨论(0)
  • 2021-02-02 06:27

    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.

    0 讨论(0)
提交回复
热议问题