← 输入框|github.com|刷新
Skip to content

About

An VSCode plugin for formatting of Unity ShaderLab

Topics

Resources

Stars

13 stars

Watchers

2 watching

Forks

Repository files navigation

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

About

An VSCode plugin for formatting of Unity ShaderLab

Topics

Resources

Stars

13 stars

Watchers

2 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages