Skip to content

Commit

Permalink
Update editor.wordBasedSuggestions for VS Code 1.85.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hrishikesh-kadam committed Dec 13, 2023
1 parent d9eac16 commit 1243bcf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/shared/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,10 +234,10 @@ export const dartRecommendedConfig = {
"editor.tabCompletion": "onlySnippets",

// By default, VS Code will populate code completion with words found in the
// current file when a language service does not provide its own completions.
// matching documents when a language service does not provide its own completions.
// This results in code completion suggesting words when editing comments and
// strings. This setting will prevent that.
"editor.wordBasedSuggestions": false,
"editor.wordBasedSuggestions": "off",
};

export const defaultLaunchJson = JSON.stringify(
Expand Down
2 changes: 1 addition & 1 deletion src/test/test_projects/hello_world/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"dart.showDartDeveloperLogs": true,
"dart.experimentalNewRefactors": true, // Old flag
"dart.experimentalRefactors": true, // New flag
"editor.wordBasedSuggestions": false, // Prevents us from using presence of completions to know we got Dart ones
"editor.wordBasedSuggestions": "off", // Prevents us from using presence of completions to know we got Dart ones
"dart.env": {
"CUSTOM_DART_ENV": "x"
}
Expand Down

0 comments on commit 1243bcf

Please sign in to comment.