andrejunges / vscode-handlebars

Handlebars for Visual Studio Code
https://marketplace.visualstudio.com/items/andrejunges.Handlebars
MIT License
18 stars 7 forks source link

"ctrl+/" insert "//" instead of "<!-- -->" #1

Closed nicgravel closed 8 years ago

nicgravel commented 8 years ago

When using with node Js, express et handlebars in Visual Code. Adding comment to hbs files doesn't work as normal without this extension. Should add " " but it add "//" instead

andrejunges commented 8 years ago

Hey @nicgravel, I don't know exactly how to do that, so if you do, a PR would be really appreciated. Anyway Im gonna look deeper into that when I get some time.

andrejunges commented 8 years ago

Its fixed on v. 0.1.0 Sorry for the delay..

davidpmccormick commented 8 years ago

I thought the block comment syntax for handlebars should be {{!-- --}}? I don't think regular html comments prevent handlebars from rendering.

andrejunges commented 8 years ago

@davidpmccormick you're right, I've just published v0.1.2 with this fix. Thanks

davidpmccormick commented 8 years ago

Nice – thanks!