Format on Save
jchannon opened this issue · comments
Is there an option in this plugin or js-beautify to format on save?
@jchannon Sorry, currently not. I'll try to add this feature soon. Thx for this suggestion :)
@Lonefy every time when I save file cursor goes to the end of formatted file. I want to remember my cursor position after formatting. Is it possible?
The extension doesn't respect the onSave
option being set to false
(not the mention audacity of assuming setting it to true
is a default anyone would want or expect). It constantly formatted my files on save. I had to uninstall.
Is there an option to disable the onSave option?
in VS Code, Press F1 -> Search for "Formatter Config" and open it.
Change 'onSave' to false. Restart VS Code.
Enjoy :)