Interface IUnicodeHighlightOptions
Expand description
interface IUnicodeHighlightOptions {
allowedCharacters?: Record<string, true>;
allowedLocales?: Record<
string
| "_os"
| "_vscode",
true,
>;
ambiguousCharacters?: boolean;
includeComments?: boolean | "inUntrustedWorkspace";
includeStrings?: boolean | "inUntrustedWorkspace";
invisibleCharacters?: boolean;
nonBasicASCII?: boolean | "inUntrustedWorkspace";
}Properties§
§§§§§§§
allowed Characters?: Record<string, true>Defines allowed characters that are not being highlighted.
allowed Locales?: Record<string | "_os" | "_vscode", true>Unicode characters that are common in allowed locales are not being highlighted.
ambiguous Characters?: booleanControls whether characters are highlighted that can be confused with basic ASCII characters, except those that are common in the current user locale.
include Comments?: boolean | "inUntrustedWorkspace"Controls whether characters in comments should also be subject to unicode highlighting.
include Strings?: boolean | "inUntrustedWorkspace"Controls whether characters in strings should also be subject to unicode highlighting.
invisible Characters?: booleanControls whether characters that just reserve space or have no width at all are highlighted.
non Basic ASCII?: boolean | "inUntrustedWorkspace"Controls whether all non-basic ASCII characters are highlighted. Only characters between U+0020 and U+007E, tab, line-feed and carriage-return are considered basic ASCII.
Configuration options for unicode highlighting.