In most Windows applications, I am able to replicate the right mouse button click using the combo Shift + F10. Shift + F10 is mapped as a shortcut to debug my current file in PHPStorm. I've looked around the mapping section in settings but wasn't able to find a way to restore this combo so that it mimics a right mouse click. Is this possible in PHPStorm?
The action you need is called Show Context Menu and located under Other branch in Settings | Keymap
P.S.
Screenshot above shows Shift+F10 shortcut already assigned to it.
P.P.S.
It is for v6, but I assume it will work in v5 as well.
Related
I am unable to find the shortcut key for this button. And as I do not know the name of this button I cannot search for it.
There is no shortcut by default, but you can go to Settings and type "tool buttons" into the search bar. Then you can assign a keystroke to "Tool Buttons" feature.
Here is your answer from official docs
Hiding all tool windows attached to the same tool window bar
Do one of the following:
Press and hold the Alt (for Windows and Linux users) or ⌘ (for macOS users) key, and click hide on the title bar of any of the tool
windows attached to the corresponding tool window bar.
Choose Window | Active Tool Window | Hide Side Tool Windows in the main menu. This command hides all the tool windows attached to same
tool window bar as the active tool window or the last of the active
tool windows.
I find that double tapping Alt key does the trick for me.
Maybe is Ctrl+Tab
Check this. In the link you can read :
Switch between the tool windows and files opened in the
editor. Ctrl+Tab
I just upgraded to PhpStorm 2017.1 and noticed that when I do a directory search using the project explorer on the left hand side of the screen, the results now appear as a pop-up modal.
There is an option to get the results to appear as the bottom panel (like in previous versions) on the modal, but I would like it to do that by default.
How do I get the old behavior back?
To have Enter work as Ctrl+Enter, please vote for IDEA-169996.
Note that you can switch to the old dialog by deselecting ide.find.as.popup in Registry: Help | Find action, type Registry to locate it, find the option there and deselect the checkbox
For an example after I go to the Project tab with Alt+1 shortcut and open specific file with pressing Enter I then want to go and edit content with single shortcut. Is there any way to do it?
There is couple of things that I can use, but neither does exactly what I want:
Ctrl+Tab - that opens the switcher and selects next file in switcher instead of allowing me to edit file with single Ctrl+Tab
Ctrl+E or Ctrl+Shift+E do different things but basically the result is simmilar as above
What I want is to simply edit the file after opening it with keyboard from Projects tab (without using mouse).
How can I move focus from any other tool window to text editor in PhpStorm?
Just press Esc key.
Works in every tool window. For built-in Terminal though you can (may have to) configure different shortcut for such action (as Esc can be needed there).
For an example after I go to the Project tab with Alt+1 shortcut and open specific file with pressing Enter I then want to go and edit content with single shortcut. Is there any way to do it?
Use F4 for that (action is available in context menu and called Jump to Source).
Ctrl+Tab - that opens the switcher and selects next file in switcher instead of allowing me to edit file with single Ctrl+Tab
Just press and release it quickly: it works just like Alt + Tab on Windows. If you keep modifier key pressed (Ctrl in this particular case) it will keep the Switcher window opened.
PhpStorm offers the functionality to "Scroll from Source", which shows the current open file in the Project's sidepanel like so:
Before click, the src folder is closed in sidebar, MailerFactory.php is open in editor's panel.
After click, sidebar has opened and selected the MailerFactory.php class in sidebar.
I don't want to use the mouse for this action, yet I am unable to find it in the keymap nor when I search for all actions using Ctrl + Shift + A (aka: "Enter action name or option name").
I can I scroll from source using the keyboard only?
There is no shortcut for that option (yes, that's an option of Project View panel and not actual action).
But you can use this one instead: Navigate | Select In... | Project View (Alt+F1, 1 using Default keymap).
I am playing around with sublimerge. I got into the file diff view, having 2 panes. I don't know how to go back to the normal view.
Clicking in the diff pane and pressing "esc" worked for me.
You can open a new window with Shift + Ctrl + N.
It should open in one-pane view.
If you not see the menu bar you can access the menu via the command palette (ctrl+shift+p) and type in menu, as is explained in This answer.
Save your workspace, in the Project menu.
well I didn't find the keystroke yet, but you can at least hit the close buttons on the files in the side bar, and it does take you out of diff view mode
On a Mac, Cmd-Q seems to do it.