Reputation: 6875
I am using JetBrains WebStorm 2016.3.3 and I use shortcut for comment lines.
When I type CTRL + /
in tag of HTML file, it writes: /* my comment */
But it should be <!- my comment -->
I did not understand how it happened, it was working before.
And my Settings are like this:
Upvotes: 0
Views: 1727
Reputation: 165353
Settings/Preferences | Editor | Language Injections
Delete 3rd rule from the bottom -- the one that has IDE
in Scope column.
You've somehow created injection rule that injects CSS inside <head>
tag (most likely you were typing too fast without looking at what's happening on the screen).
Upvotes: 1