vscode/extensions/handlebars/package.json
Angelo cef02dae8d
Contribute to html language server with a custom language. (#146731)
* Contribute to html language server with a custom language.

Fixes #146730

Signed-off-by: azerr <azerr@redhat.com>

* refactor out LanguageParticipants

* restart client on language selector change

* htmlLanguage -> htmlLanguageParticipants

* tune autoInsert wording

* tune autoInsert description

Co-authored-by: azerr <azerr@redhat.com>
Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2022-07-21 13:19:01 +02:00

52 lines
1.1 KiB
JSON

{
"name": "handlebars",
"displayName": "%displayName%",
"description": "%description%",
"version": "1.0.0",
"publisher": "vscode",
"license": "MIT",
"engines": {
"vscode": "0.10.x"
},
"scripts": {
"update-grammar": "node ../node_modules/vscode-grammar-updater/bin daaain/Handlebars grammars/Handlebars.json ./syntaxes/Handlebars.tmLanguage.json"
},
"contributes": {
"languages": [
{
"id": "handlebars",
"extensions": [
".handlebars",
".hbs",
".hjs"
],
"aliases": [
"Handlebars",
"handlebars"
],
"mimetypes": [
"text/x-handlebars-template"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "handlebars",
"scopeName": "text.html.handlebars",
"path": "./syntaxes/Handlebars.tmLanguage.json"
}
],
"htmlLanguageParticipants": [
{
"languageId": "handlebars",
"autoInsert": true
}
]
},
"repository": {
"type": "git",
"url": "https://github.com/microsoft/vscode.git"
}
}