You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I found a problem when beautifying LESS files
When I have something like this:
.some_class {
&:extend(.some_other_class);
//... some more code
}
atom-beautify adds a space between the &: and the extend so the result looks like this:
.some_class {
&: extend(.some_other_class);
//... some more code
}
The resulting code does not compile 😞
This does not happen for &:hover
My best guess is that the extend keyword is not on some list of verbs whereas hover is. I set atom to beautify my code on save, now I had to disable it because of this problem.
Thank you in advance!
The text was updated successfully, but these errors were encountered:
Hi, I found a problem when beautifying LESS files
When I have something like this:
atom-beautify adds a space between the
&:
and theextend
so the result looks like this:The resulting code does not compile 😞
This does not happen for
&:hover
My best guess is that the
extend
keyword is not on some list of verbs whereashover
is. I set atom to beautify my code on save, now I had to disable it because of this problem.Thank you in advance!
The text was updated successfully, but these errors were encountered: