Method SetTheme
SetTheme(ThemeName)
Switches the active theme used for colorization. Clears the grammar cache since theme changes may affect tokenization colors.
public void SetTheme(ThemeName theme)
Parameters
themeThemeNameThe new VS Code theme to use.