-
Notifications
You must be signed in to change notification settings - Fork 81
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
When formatting HTML with preserved comments those are not positioned on new line #190
Comments
Theres no such thing as "start" and "end" comments, so thats out. Besides that, I don't like either of these snippets as a default style :/ |
I would probably prefer comment on new line (without added empty line), but I guess it depends on situation. I usually add comments before/after something but as you said it's not something that can be done. Up to you. I can close it if you wish :) |
This is definitely something to be improved upon so keep it open, I just dont know exactly what to do at this moment. I'll think on it! |
I've made comments always go on a new line when prettifying. This seems the best solution |
Formatting in VSCode
Formatting in NUGlify
Potentially comments should respect the same settings as other HTML codes. I guess if there is a start comment there should be end comment somewhere and those should be on their new lines?
The text was updated successfully, but these errors were encountered: