Disable keyboard <enter> on autocomplete - intellisense

Currently there are two ways of accepting an autocomplete suggestion on a Monaco editor:
Selecting the suggestion with the mouse
Pressing the <enter> key
We want to disable the <enter> key for accepting the autocomplete suggestion and let it add a new line instead.

There is an option to disable that:
acceptSuggestionOnEnter: "off",

Related

Disable vim mode in PhpStorm in debug

Is it possible to disable vim in certain windows/modes? For instance in debugger it's a bit annoying, also when editing cell values in Database mode it's not perfect.
Another question if a tab can switch to command mode when I'm about to navigate to another tab.
Thanks
It's currently not possible in IdeaVim 0.50. There is a feature request that partially covers what you're describing: VIM-765 Option to disable plugin in dialog boxes. Feel free to vote for this feature and/or file new requests at https://youtrack.jetbrains.com/issues/VIM.
You can remap <Tab> to gt using standard Vim mapping commands. Put them into your ~/.ideavimrc.

How to move line up in Mac for Sublime Text? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
On OS X when I use the shortcut provided in documentation (⌘ + ⌃ + Up which I read as Command + Shift + Up) Sublime Text selects the text instead of moving the line up. Am I missing something?
According to https://docs.sublimetext.io/reference/keyboard_shortcuts_osx.html, it should be Command+Ctrl+Up.
⌘ = Command
⇧ = Shift
⌥ = Option (a.k.a. Alt)
⌃ = Ctrl
⎋ = Esc
↩︎ = Return
⌫ = Delete (a.k.a. Backspace)
See also https://apple.stackexchange.com/questions/42615/is-there-a-list-of-menu-shortcut-icons for the meaning of the symbols.
I could not track down what was causing the key binding collision, so I set user key bindings in Sublime Text to an alternative. To do this, open Sublime Text. In the top menu navigate to Sublime Text > Preferences > Key Bindings then add these hashes to the array with the alternative key binding of your choice:
[
{ "keys": ["ctrl+alt+shift+super+up"], "command": "swap_line_up" },
{ "keys": ["ctrl+alt+shift+super+down"], "command": "swap_line_down" },
]
"control" + "cmd" + up (in Mac)
Command+Ctrl+Up
In a Visual Studio Code, configured with Sublime Text Keymaps, you can also use:
Option+Up

Disable Autocomplete on space key in IntelliJ

How to disable auto completion on space key on Intellij
Problem: I always type "... = ". Mention the space after "=". The problem is that the auto completion popup comes immediately after inserting the "=" so pressing space as next key always applies first proposal.
IntelliJ 2016.1.2
You can disable this by going to the preferences -> editor -> general -> code completion
There you should find a checkbox "Insert selected variant by typing dot, space, etc. This you want to disable.
Now it will only complete on Ctrl+space, tab, enter, etc
If you want to do the same for a live template, it is under preferences -> editor -> live templates and you have a dropdown at the top
This so late but I hope it will help someone.
go to preferences -> editor -> general -> code completion
locate and unselect this checkbox "White space inserts selected suggestions when completing popup is focused".
Checkbox Image:
Now auto completion should work on Enter and Tab but not Space.

Focus on dialog with ideavim

I have some handy mappings set up in my ~/.ideavimrc some of which result in IntelliJ opening a new window/dialog box. For example the following line lets me type \t and it'll open IntelliJ's "jump to test" dialog box which lets me jump to an existing test or create a new test file:
:map \t :action GotoTest<CR>
This almost works great. The only issue is that when the dialog box pops up the focus is still on the editor window, not the dialog box. As a result I can't simply use the arrow keys to select my option and hit enter. Instead, I have to use the mouse. As a good code nerd, I abhor the mouse. So, how do I get the keyboard focus to change? Is this possible?
It's fixed in the master branch https://youtrack.jetbrains.com/issue/VIM-796, but the fix hasn't been released yet. You can download a CI build and help testing IdeaVim. See https://github.com/JetBrains/ideavim for more details.

IntelliJ code completion: ⇥ key?

IntelliJ Tip of the Day says:
"When using Code Completion, you can accept the currently highlighted selection in the popup list with ⇥ key.
Unlike accepting with the ⏎ key, the selected name will overwrite the rest of the name to the right of the caret. This can be especially useful for replacing one method or variable name with another."
What exactly is ⇥ key? Does it represent a combination?
⇥ Is the Tab key.
More Tips/Tricks can be found at IntelliJ's youtube channel
https://www.youtube.com/watch?v=eq3KiAH4IBI