Default VS Code Intellisense behaviour
- User is presented with a menu of suggestions
- User then has to press the Up or Down arrow keys to navigate through the menu
- Finally user has to confirm with Enter to insert the suggestion and close the dialog
What I would like instead
- Don't need to press Enter
- Suggestions are automatically inserted (and cycled through) by pressing Up/Down
- Pressing any other keys will close the dialog and resume typing
To be clear, I want to replicate the default behaviour of YouCompleteMe:
When you type, a completion menu pops up. If you like the completions, you use the
<Tab>
key (by default, can be changed to<Enter>
or<Down>
arrow or whatever) to select a completion string you want. The very act of "tabbing through" the list to select the item you want inserts the candidate string. When you tab to a different candidate, the editor code is replaced with the new candidate. There is no accept key because by the point where you have the candidate you want selected in the menu the candidate has already been inserted in the editor. There is nothing to "accept". You just keep typing, the candidate has already been inserted.
Is such behaviour possible with Visual Studio Code, either by default or through a plugin?