HTMLBeautify
HTMLBeautify copied to clipboard
Doesn't change anything in the open file
I installed HTMLBeautify, opened an HTML file, and ran HTMLBeautify
from the Command Pallete. Nothing happened, except for a "Beautifying Entire File" in the status bar.
I tried with a clean Sublime Text profile, and got the same results. I recorded a short video demonstrating the problem.
Same issue here. I have pasted minified HTML/CSS, the file uses the HTML syntax and is saved as an HTML file with .html extension
But nothing happens when I run manually or using a shortcut - isn't it supposed to format the code?
@dserodio HTMLBeautify is basically a quick script to help re-indent code. It won’t add line breaks, instead it looks at each line of code and tries to determine the indent level for each line. If you're looking for something to parse through HTML elements and add line breaks, etc., you may want to try an HTMLTidy tool instead. https://packagecontrol.io/packages/SublimeLinter-html-tidy
I hope that helps!
@sciascia My guess is you are using Windows. Be sure to restart ST after installation to make sure it works properly.
Thanks for that, I'm actually on Mac but will test again today. Cheers