Format Unreal Engine AngelScript code using Clang-Format
Use Format Document
(Default Shortcut: Shift + Alt + F) to format the current document.
Or Format Selection
(Default Shortcut: Ctrl + K Ctrl + F) to format the currently selected code.
-
Set the configuration
unreal-angelscript-clang-format.executable
to point to a clang-format.exe executable. -
Optionally create a .clang-format file containing your preferences and set the configuration
unreal-angelscript-clang-format.style
to point to that file. You can generate a .clang-format file by running the VS Code command: "Unreal AngelScript Clang-Format: Generate Config File"
Note: Paths can be either absolute or relative to the workspace.