Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>CAPL FormatterNew to Visual Studio Code? Get it now.
CAPL Formatter

CAPL Formatter

Ashfaque P P

|
163 installs
| (1) | Free
Format Vector CAPL scripts
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CAPL Formatter

Format Vector CAPL scripts and go to definitions

By Ashfaque P P

Formatting rules

  • put a single space around operators + - > < = | & ^ ~ , etc.
  • needs to make sure @ $ is on the left of the rest of the thing and it has a single space on right
  • also no space around ::
  • no space on the right of , ++ --
  • double operators like >= <= == += etc. are kept like they are
  • also put line break after { and before }
  • indent with respect to { and }
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft