Css files and comments align on newly version

On newly version of the IDE I notice an issue with the alignment of the inline comments when the setting for "Align values" is set "On colon".

The comment doesn't align properly to the selector but to the value. 

Comment actions Permalink

Hi there,

Could you please:

  • specify what kind CSS is this ( I mean -- pure CSS or some LESS/Sass/etc. )
  • provide some simple code to reproduce (actual code for copy+paste + screenshots of how it looks on your computer)
  • provide your Code Style settings for that CSS (screenshot is fine)

I've tried messing around with settings and code and cannot figure out what do you have there.

Comment actions Permalink


The best I could fine is this: https://youtrack.jetbrains.com/issue/WEB-24353

If that's your case -- it should be fixed in recently released PhpStorm 2016.3.1

Comment actions Permalink

Hi Andriy Bazanov,

Thank you for the link.

Yes, the minor release solve the issue and the problem was the same of the link you provided.

Thank you.


Please sign in to leave a comment.