-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to keep comments on their own lines after formating #1348
Comments
When I put the following into the website, the comment is maintained on it's own line: <style>
.demoa {
text-align: left;
}
//demob instructions for LESS note visibility only
.demob {
text-align: right
}
</style> Internally, this uses the css beautifier on the text inside the |
@bitwiseman you can see this behavior on http://jsbeautifier.org/ |
@bardiharborow that's because you are not really in a style-sheet, you are using the style element on another page, perhaps an html page. |
@pawelzwronek |
There is a pull request that should address this issue: #1291. It's waiting on a review. |
I just wanted to add, inside .scss files, regular css comments ( |
I have a general question in regards to Beautify css/sass/scss/less by michelaemelluso for Visual Studio Code.
Within LESS files, when we format our documents by pressing ALT+SHIFT+F
How can we keep our comments on their own lines?
Right now if I have the following scenerio...
and then format, it ends up like this....
I don't want the comment to bump up to previous lines. I want my LESS comment to be on it's own line.
Any tips on that?
The text was updated successfully, but these errors were encountered: