RiFi2k / format-html-in-php

Basically this vscode extension uses all your standard configurations for html formatting, and your standard configurations for format on save, etc. It more or less works exactly how vscode should already work as it pertains to HTML in PHP files.
The Unlicense
33 stars 6 forks source link

optionsFromVsCode - indent_scripts wrong default #41

Closed jacekk015 closed 4 years ago

jacekk015 commented 4 years ago

indent_scripts is set default as 'normal' - not 'keep' https://github.com/HookyQR/VSCodeBeautify/blob/master/Settings.md

If you have 'keep' setting, the formatter behaves differently than for normal HTML file

RiFi2k commented 4 years ago

I go with the default from the library on this one. https://github.com/beautify-web/js-beautify/blob/master/tools/template/beautify-html.wrapper.js#L52