VSCode: normal word completion
Edit: from vscode 1.51 it should be possible:
"editor.wordBasedSuggestionsMode": "currentDocument" | "matchingDocuments" | "allDocuments"
It is possible now with the extension: All Autocomplete.
It auto-completes based on words in all opened files.
Related issue https://github.com/Microsoft/vscode/issues/5312
It has been years, I believe now VSCode (1.52.1) has supported Ctrl+p / Ctrl+n for word autocompletion if you have Vim extenstion installed and enabled.
However, it still requires Ctrl+space to trigger the autocompltion popup then you can use Ctrl+p / Ctrl+n to go next or prev
If you dislike to press Ctrl+space, I found adding following in the keybindings.json
could help and behave the same as Vim.
{
"key": "ctrl+p",
"command": "editor.action.triggerSuggest",
"when": "editorHasCompletionItemProvider && !suggestWidgetVisible && textInputFocus && !editorReadonly"
},
{
"key": "ctrl+n",
"command": "editor.action.triggerSuggest",
"when": "editorHasCompletionItemProvider && !suggestWidgetVisible && textInputFocus && !editorReadonly"
},
Hope you like this.