fiddle
fiddle copied to clipboard
Format code on Save
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.
Will using editor.getAction('editor.action.formatDocument').run(); (Monaco's own formatting command) , everytime we call saveFiddle() be okay?