Bajdzis / vscode-twig-pack

Extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=bajdzis.vscode-twig-pack
7 stars 3 forks source link

Ctrl+/ behaviour should not be changed in regular HTML files #1

Open glen-84 opened 8 years ago

glen-84 commented 8 years ago

When I use Ctrl+/ in a regular HTML file (*.html) I expect to get an HTML comment, and not a Twig comment.

Can this be limited to *.twig files?

susedan commented 7 years ago

@glen-84 @Bajdzis This was bothering me as well. It can be fixed by replacing the package.json with the following. https://github.com/susedan/vscode-twig-pack/blob/master/package.json

Note: file extension must be .twig or .html.twig as .html files will no longer trigger twig formatting or snippets