WebStorm switcher shortcuts on MacOS don't work - ide

I'm running WebStorm on Mac OS and for some weird reason, I can't get the 'switcher' shortcuts to properly work.
When I click Ctrl + Tab I get the 'switcher' window, then I want to be able to keep the Ctrl key pressed, and navigate between the open files with the arrow keys. This doesn't work at all.
I changed the keyboard shortcut in the KeyMaps area in the settings, and saved it, but it still doesn't work.

Related

Krusader: using Alt+D as a shortcut

In Krusader, I want to use Alt-D as a shortcut to focus the location bar. This works fine for browsers and Dolphin. When I set the shortcut for "Go To Location Bar" to "Alt-D", setting the shortcut has no errors. When I try to use the shortcut, I get an error popup saying that the key sequence 'Alt+D' is ambiguous.
Note that I have to hit 'Alt+D' twice to get the error. This makes me think that I'm colliding with the 'Alt+D' consumed by Plasma.
What can I do to get Krusader to do what Dolphin, Firefox, and Chromium do?
It is not possible by now. This is known bug of Krusader. In Ubuntu 20.04 the same problem is reproducing.
In Krusader keys combination Alt + letter or digit is used to navigate through UI (menu items, buttons, tabs, navigation path items). So Alt + D is pointing to something in it.
There are many bug reports with the similar problem on Krusader bugtracker. May be one day this will be fixed. Links to the bugs:
Ambiguous shortcut (Alt + R)
cant use shortcuts (Alt+E) which conflict mnemonics
Alt+letter keyboard shortcuts conflict with accelerators
alt+letter shortcuts are overriden by main menu shortcuts
Alt-shortcuts dont work with secondary layout

How to add a Stop icon to NetBeans 8.2

On mac in NetBeans 8.2 I have a panel with a run button.
It's a bit strange to me after Visual Studio that there is no Stop button there. Is there a simple way to add it?
It should do the same as Shift+command+fn+delete or Stop Build/Run
It's a bit tricky to restart it every time to test my changes.
I don't think it is possible to easily do what you want.
The only place the Stop icon/button appears in NetBeans is in the Output window, and that is not available for reuse elsewhere, so NetBean's View > Toolbars > Customize functionality won't be of any use.
However....it is trivial to specify a shortcut key for the action associated with the Run > Stop Build/Run menu entry:
In NetBeans select Tools > Options
Click the Keymap icon. All the actions will be listed, along with their shortcuts.
Type Stop in the Search field to locate the Stop Build/Run action.
For the listed action named Stop Build/Run click the ellipsis and select Edit... from the popup menu.
The cursor will move to the Shortcut field. You can now select any available shortcut. For example, in the screen shot below I pressed the ALT key, and then selected ALT+T from the drop menu of available shortcuts.
Then, you can just submit ALT-T from the keyboard to terminate a running application, instead clicking the Stop button in the Output window, or selecting Run > Stop Build / Run.
I know that you were asking for a toolbar solution, but in the absence of one perhaps a keyboard shortcut is a viable alternative.

Open AND 'activate' tab within Jetbrains IDEs using ENTER?

Annoyingly, in ALL Jetbrains IDEs, when you press ENTER to open a file in a new tab, the tab does not also become active.
For example when navigating within the project window using arrow keys, when i then open a file using ENTER, i have to additionally invoke the 'switcher' with ctrl + tab if i want to start moving about/typing within that file.
This is very very annoying as it is pretty standard in IDEs that when you open a file, it also becomes active.
If i double-click the file the opened tab does become active - but i don't want to use the mouse or trackpad, it's annoying and tiring. It seems a shame to have so many keyboard shortcuts only to make the user return to the mouse/trackpad just for that ...
IS THERE a shortcut key to do this? Any setting i can change? I have looked hard but haven't even found other people complaining about this - they must be there!
Finally found the answer: assign the keyboard shortcut ENTER to the command "Jump to source".
This can be declared in XML keymap file like this:
<action id="EditSource">
<keyboard-shortcut first-keystroke="ENTER" />
</action>

Intellij IDEA: Hotkey for "scroll from source"

I can't find a hotkey for the feature "Scroll from Source".
What is the difference between Scroll from Source and Scroll to Source as well?
In the latest IntelliJ IDEA, there is a keymap entry called "Select in Project View" with no default shortcut. Just add a shortcut key to it. No need for a plugin.
tldr;
Alt + F1, then 1
First checkout your shortcut key for the "Select In.." item in the Navigate menu.
Click in the file you're editing, hit the shortcut key for "Select in".. then press 1.
I've changed the hotkey for select in to Alt + 1 so that my key combination is the easy to remember Alt + 1, 1
There is a plugin for this now.
It's called Scroll From source:
https://plugins.jetbrains.com/plugin/7606?pr='
This is now builit in see #Dimitrov answer
https://stackoverflow.com/a/42025214/961018
There's no configurable shortcut in the Keymap settings, and it does not appear in the "Enter action" dialog, so I'm pretty sure it's not (yet) configurable, even if I agree it would be very appreciable.
You can use the navigation bar Shortcut keys as well.
On Mac
Hit ⌘ + ↑ (command and up key)
Hit ← (left arrow)
Hit ⌘ + Enter
This will take you to the folder in project view.
It's worth having a play round with the navigation bar.
IntelliJ really have this covered :)
For ubuntu i did ALT+L (cause ALT + F1 is busy), then just enter.
If you are using JetBrains Rider, then the shortcut is Locate in Solution Explorer:
As a much much much much much better alternative to the scroll from source functionality you can use the Navigation bar.
Note: double clicking on the folder in the navigation bar will scroll to that folder in the Project view, (i.e. the same functionality as scroll from source).
You can show the navigation bar in the view menu, there's also a shortcut for each OS (cmd and up arrow ⌘ + ↑ on OSX, Alt + Home on Linux and Windows)
So it looks like this...
And it allows you to browse through the folder structure containing the file in focus in the main editor.
https://www.jetbrains.com/phpstorm/help/navigation-bar.html
https://www.jetbrains.com/idea/help/navigation-bar.html
https://www.jetbrains.com/webstorm/help/navigation-bar.html
In Ubuntu 18 you can disable shortcut Alt+F1, the super key(windows key) do same thing.
At moment i disable/changed this shortcuts of ubuntu
Alt+F7 --> windows+F7
Ctrl+Alt+L --> windows+L
Alt+F1 --> windows
Another better way:
The Shortcut is called Select in Projec View
The default shortcut is
CTRL+Alt+1
or you can edit this.
Source: https://intellij-support.jetbrains.com/hc/en-us/community/posts/206717285-Scroll-from-source-keyboard-shortcut-?flash_digest=77b77d09d61eff96f7d59697820dee45b2c2041c
UPDATE: Now you can easylly use Shift+Alt+1 in Gnome Keymap or Alt+F1 in Windows Keymap
Blockquote
If I understand correctly you don't want to toggle the option so much as trigger the file browser tool window with the selection being the currently edited file.
Just leave 'Scroll From Source' enabled and open the file browser with Command + 1 on OSX or CTRL + 1(i think) on Windows. The file browser sidebar will be selected and your selection will be highlighted.
This answer also explains the difference between Scroll To and Scroll From: How to make Scroll From Source feature always enabled?
In JetBrains Rider, this action used to be named Locate in Solution Explorer, but is now (v2019.2) named Locate/Select in Solution View and by default (at least with the built-in ReSharper keymap) bound to Alt+Shift+L.

What is the Cloud9 keyboard shortcut for the terminal?

What is the cloud9 keyboard shortcut to move between the editor tab (#1) and the terminal console (#2)?
I am aware that I can open a terminal tab and switch to it using the keyboard, but I want to see both the editor and terminal in one view.
It is ALT + S on the current version of Cloud9
To make certain keyboard shortcut work on c9.io in Chrome, which would otherwise do something else like close tab or reload page, click the menu button of Chrome > More Tools > Create Application Shortcuts....
Now the IDE is an actual program and all the default browser shortcuts are disabled. Ctrl + W (Close tab) and Ctrl + Shift + Q (Close Chrome) and F5 (Refresh) and the likes can now be used as keyboard shortcuts :)
To add on #Kronenbourg's exact answer (which IMHO should be accepted) - as of May 2015:
Shift + Esc / Esc - Goto workspace (files tree) / Exit workspace (to the last place, Editor/Terminal)
ALT + S - switch between code and terminal
In conjunction with CMD + { / CMD + }, which navigate right/left in current context (Editor, terminal) tabs, you should be able to reach anywhere with the keyboard.
Also useful in the context is CMD + O to open file.
HTH
It's Shift+ESC on open source, but unfortunately this doesn't work on c9.io.
I accidentally found out that ctrl+~ works to switch between terminal and editing window and then back. Maybe it's not the most convenient shortcut but it works.
Alt+s
This shortcut is listed in the top menu, under:
Window > Navigation