Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IndentationRule

Describes indentation rules for a language.

层级

  • IndentationRule

索引

Properties(4)

decreaseIndentPattern

decreaseIndentPattern: RegExp

If a line matches this pattern, then all the lines after it should be unindented once (until another rule matches).

increaseIndentPattern

increaseIndentPattern: RegExp

If a line matches this pattern, then all the lines after it should be indented once (until another rule matches).

Optional indentNextLinePattern

indentNextLinePattern: RegExp

If a line matches this pattern, then only the next line after it should be indented once.

Optional unIndentedLinePattern

unIndentedLinePattern: RegExp

If a line matches this pattern, then its indentation should not be changed and it should not be evaluated against the other rules.

友链:VS Code 中文文档 | VS Code 官网文档 | VS Code 扩展市场

Generated by TypeDoc. Maintained by 洛竹