PHPstorm project navigation

后端 未结 5 1396
不思量自难忘°
不思量自难忘° 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: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

提交回复
热议问题