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 code on Save #1431

Open
erickzhao opened this issue Aug 3, 2023 · 1 comment
Open

Format code on Save #1431

erickzhao opened this issue Aug 3, 2023 · 1 comment
Labels
area:editors ✨ enhancement New feature or request

Comments

@erickzhao
Copy link
Member

It would be nice if we had a Format on Save option similar to. To make it simple, we could use it just use Prettier with its default settings.

@dsanders11 dsanders11 added ✨ enhancement New feature or request area:editors labels Aug 3, 2023
@diivi
Copy link

diivi commented Mar 21, 2024

Will using editor.getAction('editor.action.formatDocument').run(); (Monaco's own formatting command) , everytime we call saveFiddle() be okay?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:editors ✨ enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants