autoformatting which can be easily set up in VS Code and in Codepen
which makes debugging and reading your code 10x easier any suggestions of now i use beautify and prettier .
4 Replies
prettier is pretty much industry standard
codepen has formatting built in, you can use the settings to activate it on save, or just hit the option in the menu for the individual boxes you fill in
you can also do ctrl+shift+p and type "format"
it should give an option for format the document
it isn't amazing, and it does just basic formatting, but may do the job
Prettier is what almost everyone recommends nowadays. I haven't used the Beautify extension yet.
You can set it to format the code on saving the file inside the settings.
to set the default formatting option
Thanks.