Reputation: 741
I have been using Visual Studio Community edition for all my C# Projects. But recently I switched to Visual Studio Code for doing some work in JavaScript. The biggest thing I miss in VS Code is that option to include the autocomplete suggestion using space, parenthesis or period keys, instead, I can only include suggestion using the tab key. How can I change that?
Upvotes: 4
Views: 4402
Reputation: 514
Have you tried to set "editor.acceptSuggestionOnCommitCharacter": true
in settings.json?
Upvotes: 0
Reputation: 180657
You could make your own keybindings for the same command. Here is the tab acceptSelected Suggestion binding:
{ "key": "tab", "command": "acceptSelectedSuggestion", "when": "editorTextFocus && suggestWidgetVisible" },
You could add bindings for other keys. It might be a mess or it might work for you. In keybindings.json
Upvotes: 1