Skip to content

Commit 2059716

Browse files
committed
[html] rename setting to 'html.autoClosingTags'
1 parent 931992a commit 2059716

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

extensions/html/client/src/htmlMain.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export function activate(context: ExtensionContext) {
100100
let param = client.code2ProtocolConverter.asTextDocumentPositionParams(document, position);
101101
return client.sendRequest(TagCloseRequest.type, param);
102102
};
103-
disposable = activateTagClosing(tagRequestor, { html: true, handlebars: true, razor: true }, 'html.autoClosingTags.enable');
103+
disposable = activateTagClosing(tagRequestor, { html: true, handlebars: true, razor: true }, 'html.autoClosingTags');
104104
toDispose.push(disposable);
105105

106106
disposable = client.onTelemetry(e => {

extensions/html/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,11 +194,11 @@
194194
"default": true,
195195
"description": "%html.validate.styles%"
196196
},
197-
"html.autoClosingTags.enable": {
197+
"html.autoClosingTags": {
198198
"type": "boolean",
199199
"scope": "resource",
200200
"default": true,
201-
"description": "%html.autoClosingTags.enable%"
201+
"description": "%html.autoClosingTags%"
202202
},
203203
"html.trace.server": {
204204
"type": "string",

extensions/html/package.nls.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@
2020
"html.trace.server.desc": "Traces the communication between VS Code and the HTML language server.",
2121
"html.validate.scripts": "Configures if the built-in HTML language support validates embedded scripts.",
2222
"html.validate.styles": "Configures if the built-in HTML language support validates embedded styles.",
23-
"html.autoClosingTags.enable": "Enable/disable autoclosing of HTML tags."
23+
"html.autoClosingTags": "Enable/disable autoclosing of HTML tags."
2424
}

extensions/html/server/src/modes/htmlMode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export function getHTMLMode(htmlLanguageService: HTMLLanguageService): LanguageM
2121
},
2222
doComplete(document: TextDocument, position: Position, settings: Settings = globalSettings) {
2323
let options = settings && settings.html && settings.html.suggest;
24-
let doAutoComplete = settings && settings.html && settings.html.autoClosingTags.enable;
24+
let doAutoComplete = settings && settings.html && settings.html.autoClosingTags;
2525
if (doAutoComplete) {
2626
options.hideAutoCompleteProposals = true;
2727
}

0 commit comments

Comments
 (0)