When I write C# code in VS Code and start typing some word and IntelliSense appears and focus on some suggestion I can press dot or space and this word appears in code. But in python I strictly have to press Enter only if I want to get suggested word. Is it possible to make IntelliSense in Python behave like it behaves in C#?
Asked
Active
Viewed 87 times
0
-
This post might help https://stackoverflow.com/q/905005/20654632 – Dec 22 '22 at 10:26
2 Answers
0
Try changing the following lines to your settings.json file
"editor.acceptSuggestionOnCommitCharacter": true,
"editor.acceptSuggestionOnEnter": "on",
"editor.quickSuggestions": {
"other": true,
"comments": true,
"strings": true
}

Dreamy Player
- 556
- 5
- 18
0
In addition to @DreamyPlayer's answer, add the following line to settings.json
(or rewrite it, if key editor.inlineSuggest.enabled
exists):
"editor.inlineSuggest.enabled": true

SNBS
- 671
- 2
- 22