This commit is contained in:
Pine Wu 2019-12-04 16:51:41 -08:00
parent e904ef98a8
commit 52de8700e7
3 changed files with 4 additions and 4 deletions

View file

@ -118,7 +118,7 @@ export function activate(context: ExtensionContext) {
return client.sendRequest(MatchingTagPositionRequest.type, param);
};
disposable = activateMatchingTagSelection(matchingTagPositionRequestor, { html: true, handlebars: true }, 'html.autoSelectingMatchingTags');
disposable = activateMatchingTagSelection(matchingTagPositionRequestor, { html: true, handlebars: true }, 'html.mirrorCursorOnMatchingTag');
toDispose.push(disposable);
disposable = client.onTelemetry(e => {

View file

@ -161,11 +161,11 @@
"default": true,
"description": "%html.autoClosingTags%"
},
"html.autoSelectingMatchingTags": {
"html.mirrorCursorOnMatchingTag": {
"type": "boolean",
"scope": "resource",
"default": true,
"description": "%html.autoSelectingMatchingTags%"
"description": "%html.mirrorCursorOnMatchingTag%"
},
"html.trace.server": {
"type": "string",

View file

@ -25,5 +25,5 @@
"html.validate.scripts": "Controls whether the built-in HTML language support validates embedded scripts.",
"html.validate.styles": "Controls whether the built-in HTML language support validates embedded styles.",
"html.autoClosingTags": "Enable/disable autoclosing of HTML tags.",
"html.autoSelectingMatchingTags": "Enable/disable auto selecting matching HTML tags."
"html.mirrorCursorOnMatchingTag": "Enable/disable mirroring cursor on matching HTML tag."
}