0

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#?

Dork
  • 1,816
  • 9
  • 29
  • 57

2 Answers2

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