fontSize |
"" |
Font size of the message (CSS units). |
fontFamily |
"" |
Font family of the message. If the new font breaks layout - try to use smaller fontSize. |
fontWeight |
"normal" |
Font weight of the message. Possible values: "100" , "200" , "300" , "400" , "normal" , "500" , "600" , "700" , "bold" , "800" , "900" |
fontStyleItalic |
false |
When enabled - shows message in italic. |
margin |
"4ch" |
Distance between the end of the line and the message (CSS units). |
padding |
"" |
Padding of the message. Visible difference when message colors are set. [Issue #23](https://github.com/usernamehw/vscode-error-lens/issues/23). Example: 2px 1ch . |
borderRadius |
"3px" |
Border radius of the message. Visible difference when message colors are set. [Issue #23](https://github.com/usernamehw/vscode-error-lens/issues/23). Example: "5px" . |
enabledDiagnosticLevels |
["error", "warning", "info", "hint"] |
Customize which diagnostic levels to highlight. |
messageEnabled |
true |
Controls whether inline message is shown or not (Including background highlight). |
annotationPrefix |
["ERROR: ", "WARNING: ", "INFO: ", "HINT: "] |
Specify diagnostic message prefixes (when addAnnotationTextPrefixes is enabled). For example, emoji: ❗ ⚠ ℹ. |
addAnnotationTextPrefixes |
false |
When enabled - prepends diagnostic severity (ERROR: , WARNING: etc) to the message. (Prefixes can be configured with annotationPrefix setting). |
addNumberOfDiagnostics |
false |
When enabled - prepends number of diagnostics on the line. Like: [1/2] . |
statusBarMessageEnabled |
false |
When enabled - shows message in status bar. |
statusBarMessageType |
"activeLine" |
Pick what to show in Status Bar: closest message or only message for the active line. Possible values: "activeLine" , "closestProblem" . |
statusBarColorsEnabled |
false |
When enabled - use message decoration foreground as color of Status Bar text. |
exclude |
[] |
Specify messages that should not be highlighted (RegEx). |
excludePatterns |
[] |
Exclude files by using glob pattern. Example of excluding all JavaScript and TypeScript files: ["**/*.{ts,js}"] |
delay |
0 |
EXPERIMENTAL Specify delay before showing problems. |
onSave |
false |
When enabled - updates decorations only on document save. |
onSaveTimeout |
1000 |
Time period that used for showing decorations after the document save. |
gutterIconsEnabled |
false |
When enabled - shows gutter icons (In place of the debug breakpoint icon). |
gutterIconsFollowCursorOverride |
true |
When enabled and followCursor setting is not allLines , then gutter icons would be rendered for all problems. But line decorations (background, message) only for active line." |
gutterIconSize |
"100%" |
Change gutter icon size. Examples: auto , contain , cover , 50% , 150% |
gutterIconSet |
"default" |
Customize gutter icon style. Possible values: "default" , "defaultOutline" , "borderless" , "circle" . |
errorGutterIconPath |
"" |
Set custom icons for gutter. Absolute path for error gutter icon. |
warningGutterIconPath |
"" |
Set custom icons for gutter. Absolute path for warning gutter icon. |
infoGutterIconPath |
"" |
Set custom icons for gutter. Absolute path for info gutter icon. |
errorGutterIconColor |
"#e45454" |
Error color of the circle gutter icon set. |
warningGutterIconColor |
"#ff942f" |
Warning color of the circle gutter icon set. |
infoGutterIconColor |
"#00b7e4" |
Info color of the circle gutter icon set. |
followCursor |
"allLines" |
Highlight only portion of the problems. Possible values: "allLines" , "activeLine" , "closestProblem" . |
followCursorMore |
0 |
Augments followCursor . Adds number of lines to top and bottom when followCursor is activeLine . Adds number of closest problems when followCursor is closestProblem |
scrollbarHackEnabled |
false |
When enabled - prevents showing horizontal scrollbar for decorations. (Might have a conflict with errorLens.fontFamily or errorLens.padding settings). |