Inactive Code Highlight
DVT editor marks the inactive code (i.e. code that is not compiled due to ifdef
/ ifndef
) with a colored background, foreground and opacity.
To enable or disable the highlight, go to the Settings Page using the Preferences: Open Settings (UI) command, search for the DVT.textEditor.highlight.enableCodeHighlight
preference and modify the Inactive Code entry.
Additionally, code highlighting can be customized by setting the Inactive Code entry for the following preferences:
Background:
|
Customize the background color when using Light Themes. |
|
Customize the background color when using Dark Themes. |
Foreground :
|
Customize the foreground color when using Light Themes. |
|
Customize the foreground color when using Dark Themes. |
Opacity :
|
Controls the opacity of code. |
