OK, I finally figured out what the problem is. There are two ways to change comment blocks:
1 - CONFIGURATION FILE
I do not know why this is not in the documents (or at least I could not find them), but there is an additional property that you pass to the object inside the array contributes.languagesin the configuration package.jsonwith the name.
Description found in the vs code source code:
, .
, ,
{
"comments": {
"lineComment": "//",
"blockComment": [ "<!--", "-->" ]
}
}
API: https://code.visualstudio.com/Docs/extensionAPI/vscode-api#CommentRule
. . , ( , when ).
⇧⌥A - - editor.action.blockComment https://code.visualstudio.com/Docs/customization/keybindings
2 - "SYNTAX" FILE.tmLanguage
, , .
https://github.com/andrejunges/vscode-handlebars/blob/master/syntaxes/handlebars.tmLanguage#L68