Many of the commands produce checkboxes. I would like to know of a keyboard shortcut that ticks/unticks a checkbox.
For example CMD+OPT+Z opens the “Rollback Changes” dialog box, using the tab you can scroll to all the files that have changed but I cannot find a way to tick/untick the checkboxes.
Note:This is on a MacOS using IntelliJ 2021.1
Thanks
The Space bar work for me for selecting and deselecting checkboxes in the Rollback Changes dialog.
Related
Hi I have to make a lot of searches in InteliJ and I want navigate between findings of searched text and code preview of specific file.
I tried to search it on web, and also combination of shortcuts like tab, ctrl+tab and many more but nothing work.. Do you know how to switch between those two windows?
right now I have to click it with mouse to focus on one of the windows.
The code preview window is intended to be used as exactly that - a preview, not a UI to be used for complex editing operations. If you need to do anything with the search results, use the "Open in Find Window" button to open the toolwindow with the results. After that, you can use for example Ctrl+Alt+Up/Down to navigate between the occurrences, or other keyboard shortcut to switch between the toolwindow and the editor.
Is there any default keyboard shortcut to close all tabs except the active one? It can be done by right-clicking the tab and choosing Close Others but I'd like to do this using only my keyboard.
ctrl+shift+a and write Close Others. Select the one with Editor Close Actions.
Or assign it your own shortcut.
Open Settings > Keymap. Search for Close others (or find it under Main menu > Window > Editor tabs.
It's not possible to access the tab context menu using the keyboard.
There's an open issue against IntelliJ for this.
Their suggestion is to add that action (tab > close others) to a quick list and you can then invoke the quick list action via a keyboard shortcut.
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.
IntelliJ sometimes moves the cursor on default positions, like over the Find button when you do a Find in Path.
However recently it is moving my cursor to completely random positions. I suspect this is because of my multi-monitor setup.
A computer/IntelliJ restart doesn't fix the issue.
How can I disable this "automatic move" thing entirely?
you can disable "automatic moves" by Settings > Appearance & Behavior > Appearance, checkbox Automatically position cursor on default button. Docs
Edit (2021-02-15): Something changed in the UI in recent versions. If you're having trouble finding the option you can edit the registry.
Here is the request for missing option:
https://youtrack.jetbrains.com/issue/IDEA-99985
The option should be disabled though. Try checking
focus.follows.mouse.workarounds in registry.
You can open the registry by searching all Actions for Registry, then edit that value.
Press Ctrl+Alt+Shift+/ and select "Registry" from the menu that appears.
Then set ide.settings.move.mouse.on.default.button value to disable.
Registry dialog image
From the official Intellij documentation: https://www.jetbrains.com/idea/help/appearance.html#d1207234e126
To disable this quickly in Intellij 15 and newer (which have the 'Search Everywhere' feature), do the following:
Press Shift+Shift
Type UI: auto. This should popup the following:
Highlight that option and press enter.
In IntelliJ IDEA, I want to show a most recently used tab after dragging a tab like eclipse. For example,
a.java
b.java
c.java(Current)
...
d.java(Previous) -- hidden by dropdown
In case 'c.java' was dragged, the editor shows 'a.java' instead of 'd.java'.
I want it to behave same as 'Activate most recently opened' setting for closing tabs. But it doesn't work for dragging in case the previous tab is hidden by a dropdown menu. Is there any setting for it?
No, there is no setting for it.