简体   繁体   中英

Adding 'show in explorer' to the phpstorm menu

When right clicking on a folder/file in the project explorer I get an option to show in explorer

在此处输入图片说明

However when right clicking inside the file or the code view I do not get this option.

在此处输入图片说明

Is there a way to add this to the menu?

Editor context menu: you have to add it there yourself -- Settings | Menus and Toolsbars | Editor Popup Menu Settings | Menus and Toolsbars | Editor Popup Menu

On another though: use keyboard -- it's faster : Alt+F1, 8 or View | Select In... | Show In Explorer View | Select In... | Show In Explorer View | Select In... | Show In Explorer .

Alternatively: assign custom shortcut to that specific action at Settings | Keymap Settings | Keymap -- search by "show" word -- the action will be listed at the very end of the matched list: "Show/Revel in Explorer..."

Edit the context menu:

File | Settings (Alt + F7) | Menus and Toolbars | Editor Popup Menu

Choose the first item (Spelling), click the button Add After... and then choose the command: Other | Show In Explorer

在此处输入图片说明

Or you can add a shortcut key to open Explorer. (i try this in Ubuntu)

  1. Add an external tool (Settings -> Tools -> External Tools)
    add tool under that [ screenshot ]
    Program : nautilus
    Parameters: $FilePath$

  2. Add this in Keymap (settings -> keymap)
    Under [External Tools] you will find your new tool.
    Just add a keyboard shortcut. eg F10

Thats it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM