Intellij: keyboard shortcut ALT+INSERT for generate ...
For HP laptop, press ALT + INS(print sc), nothing happens.
The key is marked as ins/print sc. There is no other key especially for INSERT. Is there a workaround?
Add some other keyboard shortcut at File | Settings | Keymap for the Generate action:
Related
Intellij IDEA for MAC allows you to change keymap to Eclipse (Mac) or Eclipse (windows). The Windows Eclipse version has windows style editor bindings like control-right moves cursor right one word instead of switching to next editor tab. How do we load an option for the Windows Intellij (instead of Windows Eclipse) on our Mac, so that cursor movement keys can be more windows-like?
If you mean changing the corresponding shortcuts in the "IntelliJ IDEA Classic" keymap, please try the following:
Disable Ctrl + Left / Right shortcuts in OS Preferences | Keyboard | Shortcuts (e.g. on Mac OS 11.5.2 they are dedicated for moving between spaces in Mission control).
Open the IDE Preferences | Keymap, choose the IntelliJ IDEA Classic.
Assign other keys to the Select Next / Previous Tab actions in Preferences | Keymap | Main Menu | Window | Editor tabs.
Assign Ctrl + Left / Right shortcuts to Preferences | Keymap | Editor Actions | Move Caret to Previous / Next Word.
I have a several multi-modules of maven projects imported in IntelliJ. I recently pressed some short-cut on the keyboard and one of them (the bottom one) was marked with a tick:
What does this mean? ...and how do I get rid of it?
You have added it your bookmarks.
To remove it:
Click on the directory with the mouse (or mark it some other way).
Remove bookmark using a shortcut.
Linux/Windows shortcut is F11. Mac shortcut is F3
If you want to view your bookmarks list, in Linux/Windows shortcut is shift + F11, in Mac shortcut is ⌘ F3
This is a bookmark. Use Navigate | Bookmarks | Toggle Bookmark or the corresponding keyboard shortcut to remove it.
I love intellij's file tab but I can't seem to find a way to shortcut closing a tab similar to the behavior of ctrl + w in chrome. I can't find the option in the keymap editor. Am I missing something or is this not implemented?
I found this page but it doesn't include the action name. I would use ctrl + f4 but my window manager has that reserved and I would rather change it.
Open Settings by hitting Ctrl+Alt+S
Click: Keymap
Search for: Close
Under Main menu > Window > Editor Tabs, find Close.
Right-click and click Remove Ctrl+F4.
Right click and click Add Keyboard Shortcut
Add your new custom Keyboard Shortcut.
IntelliJ will tell you if the shortcut clashes with another shortcut performing a different action.
Alternatively, open/edit your Linux Window Manager Settings and remove the Ctrl+F4 mapping to allow other programs like IntelliJ to make use of it.
For PC-based keyboards, the shortcut to close tabs is CTRL + F4,
not to be confused with ALT+F4.
Current tab can be closed with:
Ctrl + F4
Works on Intellij Ultimate 2016.3
On mac OS, Intellij 2018.3 version, 'Command + W' does close the file tab.
As we can see in the image in this discussion:
Go in Settings >> Keymap >> Main menu >> Other >> [Close Active Editor] and change to Ctrl+W.
I'm on version 2020.1 and this has changed to Ctrl+4
I read this post:
Locate current file in IntelliJ
Still the problem is that I do not want to have Autosccroll from Source enabled because my Project Explorer will be jumping up and down. Rather I need a shortcut to locate the current file in the Project explorer when I need to. ALT + F1 does work but you need to select from a context menu where you would like the file to be shown. In Resharper for example the shortcut is ALT+SHIFT+L but I am not able to find such a shorcut in IntelliJ?
There is no shortcut for this action in IntelliJ IDEA other than Alt-F1.
There is no default way of doing this.
I can think of 4 options:
You can install the plugin 'Scroll From Source' which will allow you set such a shortcut in the keymap settings (Default: Meta + Ctrl + S)
Use the target symbol in the project explorer, no shortcut but is default option.
Get used to having to press Alt + F1 and then Enter
Record a macro for the above key presses but this may be unreliable. You could then assign a shortcut key to play this marco.
When using IntelliJ IDEA and writing code, and when code you wrote has an error, the only way I know to make IDEA show you the error details is to hover the mouse cursor over the problem.
But that requires moving my hands from the keyboard to the mouse. Is there a hotkey that causes that pop-up with the error message to appear, or a way to configure such a hotkey?
On a Mac:
Cmd + F1
On Windows:
Ctrl + F1
On Linux:
Ctrl + F1
You can check for anything else in Preferences -> Keymap
On a Mac: ⌘F1
On Windows: CtrlF1
These activate the menu item “View” → “Error Description” (which only exists when there is an error):
You can configure and search for keyboard shortcuts in Preferences → Keymap:
In the year I write this, the shortcut is Ctrl + 1.
( My OS is Arch Linux )