Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

comment/uncomment error in css file

$
0
0

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


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>