html: add setting to disable end tag suggestions (#269605)

Add html.suggest.hideEndTagSuggestions setting to allow users to
disable automatic end tag completion suggestions.

When enabled, prevents the completion provider from suggesting
closing tags for open elements (e.g., </body> when typing after <body>).

Fixes microsoft/vscode-html-languageservice#216

Signed-off-by: Giovanni Magliocchetti <giovimag123@gmail.com>
This commit is contained in:
Giovanni Magliocchetti
2025-10-21 19:24:16 +02:00
committed by GitHub
parent b42e7ba8b4
commit 00673479b7
2 changed files with 7 additions and 0 deletions

View File

@@ -182,6 +182,12 @@
"default": true,
"description": "%html.suggest.html5.desc%"
},
"html.suggest.hideEndTagSuggestions": {
"type": "boolean",
"scope": "resource",
"default": false,
"description": "%html.suggest.hideEndTagSuggestions.desc%"
},
"html.validate.scripts": {
"type": "boolean",
"scope": "resource",