mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-25 12:47:14 +00:00
* 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>
52 lines
1.1 KiB
JSON
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"
|
|
}
|
|
}
|