Autoformat code

Is there a way to autoformat my code in the Freecodecamp editor?
VS Code has this feature when the code file gets autoformatted on save.
I would like to find a shortcut on Freecodecamp that allows me to do that.
Thanks!

Shift + Alt + F (at least on Windows) or F1 and select “Format Document”.

1 Like

Thanks for the answer @lasjorg ! I didn’t know there even was a command palette. Amazing!

1 Like