Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration DiagnosticTag

Additional metadata about the type of a diagnostic.

索引

Enumeration members(2)

Enumeration members(2)

Unnecessary

Unnecessary: = 1

Unused or unnecessary code.

Diagnostics with this tag are rendered faded out. The amount of fading is controlled by the "editorUnnecessaryCode.opacity" theme color. For example, "editorUnnecessaryCode.opacity": "#000000c0" will render the code with 75% opacity. For high contrast themes, use the "editorUnnecessaryCode.border" theme color to underline unnecessary code instead of fading it out.

Deprecated

Deprecated: = 2

Deprecated or obsolete code.

Diagnostics with this tag are rendered with a strike through.

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

Generated by TypeDoc. Maintained by 洛竹