Example: when you want to type single left quote, doublequote, bracket, curly bracket etc... at once right element is inserted by IDE automatically.
It was expected that simple ctrl+z combination would remove autocompletion but it wouldn't.
Because of that I have to press right arrow plus backspace and it slows down type performance significantly.
Is there related hotkey?
I'm using IDEA 14.
Using delete instead of -> and backspace you have single press of a key.
Alternatively, you can turn automatic insertion in settings:
Related
By default, Visual Studio 2022's IntelliCode Auto Completion works by pressing the Tab key.
Unfortunately that prevents you from using the Tab key to insert whitespace, leading to suggestions like this:
In order to avoid this, I'd like to change the key used to apply the whole line completion to a different key, but I can't find it in the Tools/Environment/Keyboard keyboard mapping menu.
Does anyone know how to change this key?
You could either turn off all or parts of IntelliCode (Tools->Options...->IntelliCode) or press the ESC key to cancel the suggestion and then press the TAB key. See the MS Docs for more details.
You can change the Whole line completion to the right arrow if that is better. There doesn't seem to be any way to choose your own key though.
I created a keyboard shortcut for Matchit: Jump Items to run on shift+5 (%) when editorTextFocus.
I diid this so that I could easily jump from opening to closing tag in HTML. I use VSCode in Vim mode where that key binding will jump from opening to closing brackets/braces/quotes/whatever by default.
My problem is that now I cannot get a percent sign to appear in my code as when I type it, the cursor jumps to the closest closing element (tag, brace, bracket, etc). When I removed that shortcut, not only does it not jump from opening to closing tag, it no longer works for braces/brackets/quotes/whatever. Not sure why that is since it is built into Vim and does not require Matchit.
Is there a way to specify that the key binding should not apply when my cursor is in insert mode? or is there a better way to configure things so that I get that functionality (jumping to closing tag, quotes, paren, brace, etc), but can also actually type the % character?
If I select something using any of the various methods Atom (and other packages provide) and want to leave the cursor where it's at, but undo the selection itself, is there a way to do that with a keyboard shortcut?
I tried Esc, but to no avail. I can easily use the arrow keys, or click with the mouse, but I'd rather hit a shortcut without having to move my hands off home row. Lazy me. :)
If you really want that home row, no mouse efficiency, consider installing Vim-Mode-Plus on atom. I'm using it, and when I press escape, it removes the highlighting.
I am new to IntelliJ, and am having way too many problems with the editor. For example:
I expect Shift + Up to select text going up, or Shift + left to select text going left, but its just moving the cursor position without selection..
A lot of errors for example "function User(){" when I press enter I expect the other closing curly bracket to go down, sometimes it does, sometimes it just gives an error sound and doesn't do anything...
I am having the same issues even after closing and opening it again, is there a way to fix all these issues and just have normal keyboard keys like in other IDEs?
You can change the keymap in the settings.
I've just updated to IntelliJ IDEA 14 from version 13. One difference I've found is that when I hit the backspace key it deletes a full tab stop worth of space characters, rather than deleting a single space at a time. How do I revert the behavior to deleting a single space at a time?
Go to Settings/Editor/General/Smart Keys and uncheck Backspace Smart Indent.
just press the insert key, you can toggle between these two types of cursor