Format on Save
jchannon opened this issue ยท 7 comments
jchannon commented
Is there an option in this plugin or js-beautify to format on save?
Lonefy commented
@jchannon Sorry, currently not. I'll try to add this feature soon. Thx for this suggestion :)
nuqz commented
@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?
Kailash23 commented
bmarkovic commented
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.
subhnet commented
Is there an option to disable the onSave option?
Srikara369 commented
in VS Code, Press F1 -> Search for "Formatter Config" and open it.
Change 'onSave' to false. Restart VS Code.
Enjoy :)