comment/uncomment error in css file
Hi,
There is a problem when commenting and uncommenting a line in css code that had part of it commented before. After uncommenting the original comment markers are removed as well.
Example:
before comment - original code:
-webkit-box-shadow: 0px 0px 4px 0px #f0f0f0; /* Saf3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
after comment (Ctrl-/):
/*-webkit-box-shadow: 0px 0px 4px 0px #f0f0f0; *//* Saf3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
after uncomment (Ctrl-/ again):
-webkit-box-shadow: 0px 0px 4px 0px #f0f0f0; Saf3-4, iOS 4.0.2 - 4.2, Android 2.3+
Without knowing it, you can make a mess of your code. As far as I know, this is not a problem in other languages.
Suggestion: it would help if comments after the semicolon where not automatically uncommented.
Or: only uncomment the first comment in a line.
Chris
Please sign in to leave a comment.
Thank you for reporting. This looks like http://youtrack.jetbrains.com/issue/IDEABKL-5362
Regards,
Alexander.
Yes, it is the same problem.