-
Notifications
You must be signed in to change notification settings - Fork 340
Description
Describe the bug
Autocomplete on VSCode is not working, usually when i extract widget, there's a suggestion that located above VSCode that says "Enter a name for the widget (Press 'Enter' to confirm or 'Escape' to cancel)" now its just automatically extracted as "NewWidget" also when I want to write for example SizedBox, usually when i click the suggestions, it will include the (), but now when i click SizedB, it didn't autocomplete to 'SizedBox()'.
The same thing when i want to use a function. usually when i had list, then i press .map on suggestion, it will autocomplete to MyList.map((e) => null), but now it only become MyList.map even though i already press the 1st suggestion
Things i tried to fix the error
- Already uninstall VSCode
- Downgrade Dart & Flutter extensions
- Restart VSCode
- Restart my Mac
- Shutdown my Mac then turn it on again
- Modify my setting json into this:
"[dart]": {
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.rulers": [200],
"editor.selectionHighlight": false,
"editor.suggest.snippetsPreventQuickSuggestions": false,
"editor.suggestSelection": "first",
"editor.tabCompletion": "onlySnippets",
"editor.wordBasedSuggestions": false,
"files.insertFinalNewline": true
},Screenshots

⬆when i tried to extract the widget
Versions:
- VS Code version: 1.52.1
- Dart extension version: 3.18.1
- Dart/Flutter SDK version:
Dart: 2.10.2
Flutter SDK: 1.22.2
Please help, idk what to do, it really slows my progress to code.
