fireside21 / vscode-cshtml

VS Code syntax highlighting for HTML files with embedded C#
8 stars 3 forks source link

html comments #1

Closed gforceg closed 6 years ago

gforceg commented 6 years ago

Sometimes I need HTML comments rather than razor comments. I am not sure if there would be an easy way to add yet another hot key for commenting.

When I try to use razor comments in the HTML portions of a .cshtml file the comments are rendered by the browser.

michaelblyons commented 6 years ago

This package isn't focused on Razor. Phil Haack has a good comparison table of the syntax for various constructs. If you're using the syntax from the center column instead of the right column, this might not be the extension you're looking for (which might be Austin's package instead).

gforceg commented 6 years ago

Good call!