R# 9 css line comment

Hi,

I'm creating MVC5 app using VS2013 with R#9. All works great unless I try to do line comment in css file using ReSharper way (Ctrl + /). It works everywhere (C#, JavaScript, HTML, etc.) but not in CSS file - only standard VS comment shortcuts are available here. Is that some kind of bug or R# just doesn't allow to do line comments in CSS?

Best regards,
Karol

1 comment
Comment actions Permalink

CSS doesn't technically support single-line comments using the "//" syntax. It only supports block comments - "/* ... */".

Adding "//" to the start of a line will disable the following construct, but only because it's treated as an invalid selector or property name.

http://stackoverflow.com/questions/12298890/is-it-bad-practice-to-comment-out-single-lines-of-css-with

0

Please sign in to leave a comment.