mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-22 17:48:56 +01:00
change active-editor to ${activeEditorLanguage} (for #78903)
This commit is contained in:
@@ -36,8 +36,8 @@ export class SettingsDocument {
|
||||
if (location.path[0] === 'files.defaultLanguage') {
|
||||
return this.provideLanguageCompletionItems(location, range).then(items => {
|
||||
|
||||
// Add special item 'active-editor'
|
||||
return [this.newSimpleCompletionItem(JSON.stringify('active-editor'), range, localize('activeEditor', "Use the language mode of the currently active text editor if any")), ...items];
|
||||
// Add special item '${activeEditorLanguage}'
|
||||
return [this.newSimpleCompletionItem(JSON.stringify('${activeEditorLanguage}'), range, localize('activeEditor', "Use the language of the currently active text editor if any")), ...items];
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user