/vscode-unreal-angelscript-formatter

Format Unreal Engine Angelscript code using Clang-Format

Primary LanguageTypeScriptOtherNOASSERTION

Unreal AngelScript Clang-Format

Format Unreal Engine AngelScript code using Clang-Format


Usage

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.


Setup

  1. Set the configuration unreal-angelscript-clang-format.executable to point to a clang-format.exe executable.

  2. 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.