AndreasBackx / StyleSorter

CSS and SCSS attribute type sorter for Sublime Text 3. THIS PROJECT HAS BEEN ABANDONED.
8 stars 3 forks source link

breaks if final semi-colon not included #7

Open mildfuzz opened 9 years ago

mildfuzz commented 9 years ago

If the last semi-colon of a rule set it omitted, as is allowed in CSS, the rule does not copy correctly.

AndreasBackx commented 9 years ago

This will be fixed in the lexer version of this plugin. I'll start working on this when I have time. When I'm done with other projects or have some spare time on my hands.

AndreasBackx commented 9 years ago

After having a look at lexers, checking whether the stylesheet is valid is not gonna be implemented. When you sort your stylesheet you are sure that there are no problems in your CSS.

mildfuzz commented 9 years ago

It is valid to skip the final semicolon of a rule block.

AndreasBackx commented 9 years ago

@mildfuzz You're right, I'll make sure this gets added in the upcoming lexer version.