Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format on Save #4

Closed
jchannon opened this issue Apr 28, 2016 · 7 comments
Closed

Format on Save #4

jchannon opened this issue Apr 28, 2016 · 7 comments

Comments

@jchannon
Copy link

Is there an option in this plugin or js-beautify to format on save?

@Lonefy
Copy link
Owner

Lonefy commented May 3, 2016

@jchannon Sorry, currently not. I'll try to add this feature soon. Thx for this suggestion :)

@Lonefy
Copy link
Owner

Lonefy commented May 7, 2016

@jchannon onSave feature has been added

@nuqz
Copy link

nuqz commented Dec 30, 2017

@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
Copy link

Kailash23 commented Feb 3, 2019

@nuqz @Lonefy Same problem. Please fixed this issue cursor goes to the end line after saving.

@bmarkovic
Copy link

bmarkovic commented Feb 21, 2019

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
Copy link

subhnet commented Jul 15, 2019

Is there an option to disable the onSave option?

@Srikara369
Copy link

in VS Code, Press F1 -> Search for "Formatter Config" and open it.
Change 'onSave' to false. Restart VS Code.
Enjoy :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants