-
Notifications
You must be signed in to change notification settings - Fork 37.4k
Description
Refs: #146730
- anyOS @tanhakabir
- anyOS @benibenj
Complexity: 3
The html language support now supports a new contribution point that allows other languages to participate in the html language server features.
"htmlLanguageParticipants": [
{
"languageId": "handlebars"
}
]
In the samp,e above, the handlebars language registers to get all HTML features.
-
Test that a handlebars file gets code completion, hovers...
-
Set
"html.trace.server": "messages"in the settings -
Disable the handlebar basic extension (
Handlebars Language Basics), find it with@builtin handlebar -
Test that a handlebars file no longer get code completion, hovers.
-
Verify that the
HTML Language Serveroutput view contains the log entryExtensions have changed, restarting HTML server... -
Open vscode repo and open the
package.jsonfrom the handlebars extension -
Verify that you get hovers and code completions for the
htmlLanguageParticipantscontribution point