ronnidc / vscode-nunjucks

Nunjucks for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=ronnidc.nunjucks
65 stars 18 forks source link

Comment shortcut in normal HTML file leads to nunjucks comment, not HTML comment #11

Open rognstad opened 7 years ago

rognstad commented 7 years ago

In an .html file that isn't an nunjucks template, using VSC's comment shortcut (cmd/ctrl + /) results in a nunjucks comment {#... #} rather than an HTML comment <!--... -->.

york-xtrem commented 7 years ago

Use https://marketplace.visualstudio.com/items?itemName=wholroyd.jinja. Because the worst thing is that emmet doesn't work, the comments are secondary.

xiaotan0305 commented 6 years ago

image 在用户设置中添加 html识别 能解决该问题

sajibcse68 commented 6 years ago

Same problem here, I disabled Nunjucks extension, now multi-line comment out shortcut is working properly <!-- ... --> instead of {# ... #}

jsejcksn commented 4 years ago

Ref. #13