Skip to content

Commit

Permalink
Update setting name to be more extensible in the future
Browse files Browse the repository at this point in the history
  • Loading branch information
mjbvz committed Nov 19, 2021
1 parent 9939a82 commit e784e88
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions extensions/typescript-language-features/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -1116,16 +1116,16 @@
"markdownDescription": "%typescript.workspaceSymbols.scope%",
"scope": "window"
},
"javascript.suggest.includeCompletionsWithClassMemberSnippets": {
"javascript.suggest.classMemberSnippets.enabled": {
"type": "boolean",
"default": true,
"description": "%configuration.suggest.includeCompletionsWithClassMemberSnippets%",
"description": "%configuration.suggest.classMemberSnippets.enabled%",
"scope": "resource"
},
"typescript.suggest.includeCompletionsWithClassMemberSnippets": {
"typescript.suggest.classMemberSnippets.enabled": {
"type": "boolean",
"default": true,
"description": "%configuration.suggest.includeCompletionsWithClassMemberSnippets%",
"description": "%configuration.suggest.classMemberSnippets.enabled%",
"scope": "resource"
}
}
Expand Down
2 changes: 1 addition & 1 deletion extensions/typescript-language-features/package.nls.json
Original file line number Diff line number Diff line change
Expand Up @@ -184,5 +184,5 @@
"codeActions.refactor.rewrite.property.generateAccessors.description": "Generate 'get' and 'set' accessors",
"codeActions.source.organizeImports.title": "Organize imports",
"typescript.findAllFileReferences": "Find File References",
"configuration.suggest.includeCompletionsWithClassMemberSnippets": "Enable/disable snippet completions for class members. Requires using TypeScript 4.5+ in the workspace"
"configuration.suggest.classMemberSnippets.enabled": "Enable/disable snippet completions for class members. Requires using TypeScript 4.5+ in the workspace"
}
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ export default class FileConfigurationManager extends Disposable {
generateReturnInDocTemplate: config.get<boolean>('suggest.jsdoc.generateReturns', true),
includeCompletionsForImportStatements: config.get<boolean>('suggest.includeCompletionsForImportStatements', true),
includeCompletionsWithSnippetText: config.get<boolean>('suggest.includeCompletionsWithSnippetText', true),
includeCompletionsWithClassMemberSnippets: config.get<boolean>('suggest.includeCompletionsWithClassMemberSnippets', true),
includeCompletionsWithClassMemberSnippets: config.get<boolean>('suggest.classMemberSnippets.enabled', true),
allowIncompleteCompletions: true,
displayPartsForJSDoc: true,
...getInlayHintsPreferences(config),
Expand Down

0 comments on commit e784e88

Please sign in to comment.