Download the .vsix file for your platform from the latest release assets,
e.g. for Windows, abapcleaner-vscode-win32.win32.x86_64.vsix.
In the VS Code Command Palette, enter 'Extensions: Install from VSIX...' and select the downloaded .vsix file
to install the ABAP cleaner extension.
Usage
Open an editor with ABAP code (.abap file) or a CDS view (.acds file) and select one of the following 'ABAP Cleaner: ...' commands,
or press the corresponding shortcut:
Format Selection (Ctrl+4 / ⌘4) — formats only the selected lines, or the current method if no code was selected
Format Document (Ctrl+5 / ⌘5) — formats the entire code document, also used for setting 'Editor: Format on Save'
Format Interactively (Ctrl+Shift+4 / ⌘⇧4) — opens the ABAP cleaner UI for interactive cleanup
Show Read-Only Preview (Ctrl+Shift+5 / ⌘⇧5) — shows the cleanup result without applying it