Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>ShaderLabFormatterNew to Visual Studio Code? Get it now.
ShaderLabFormatter

ShaderLabFormatter

LiteFeel

|
45,242 installs
| (5) | Free
An VSCode plugin for formatting of Unity ShaderLab
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

ShaderLab Formatter

GitHub License Visual Studio Marketplace Version Visual Studio Marketplace Rating Visual Studio Marketplace Downloads Visual Studio Marketplace Installs Donate

An VSCode plugin for formatting of ShaderLab

Configuration

shaderlabformatter.indentation.conditionMacro - indentation for condition macro.

The value:

  • dont - do not indent the condition macros
  • indent - indent the condition macros like bracket
  • normal - indent the condition macros like normal code

shaderlabformatter.tags.formatMode - Controls how Tags blocks are formatted. Fog blocks always remain single-line.

The value:

  • singleline - Prefer single line, only keep multi-line when comments exist in Tags block
  • multiline - Each tag on its own line
  • multiline-if-multiple - Prefer single line, keep multi-line when there are more than one tag
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft