Code formatting with purty.
purty is supported via the editor's Format Code
command. To format your code using purty
, press Shift+Alt+F
on Windows, Shift+Option+F
on Mac, or Ctrl+Shift+I
on Linux.
npm install purty
or specify the location of the purty executable in the extension settings (vscode settings)