Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>SQF formatterNew to Visual Studio Code? Get it now.
SQF formatter

SQF formatter

Smith

|
2,663 installs
| (2) | Free
Formatter for SQF code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

SQF formatter

Description

Simple code formatter based on ACE 3 Coding Guidelines.

Click here to see how it works.

What does it do

  • Remove leading and tailing whitespaces
  • Normalize brackets
  • Normalize comments
  • Normalize case of commands
  • Normalize spaces before and after comma
  • Normalize if and while statements
  • Remove multiple spaces
  • Add new line after every semicolon
  • Remove any whitespaces before semicolon and duplicates
  • Trim content of parentheses
  • Parse block levels and set indents

Usage

  • Press Shift + Alt + F to format code in editor
  • Click the Right Mouse Button (RMB) on your code and select Format document
  • Select code, click the RMB and select Format Selection or press Ctrl + K and Ctrl + F

Hotkeys may be different depending on your settings

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft