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
Jochem
Jochem8mo ago
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
ἔρως
ἔρως8mo ago
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
tharun
tharun8mo ago
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.
Vandana
VandanaOP8mo ago
to set the default formatting option Thanks.

Did you find this page helpful?