25 references to ColorSchemeName
Microsoft.VisualStudio.LanguageServices (25)
ColorSchemes\ColorSchemeApplier.ClassificationVerifier.cs (3)
66
private readonly ImmutableDictionary<
ColorSchemeName
, ImmutableDictionary<Guid, ImmutableDictionary<string, uint>>> _colorSchemes;
73
ImmutableDictionary<
ColorSchemeName
, ColorScheme> colorSchemes)
95
ColorSchemeName
schemeName, Guid themeId, CancellationToken cancellationToken)
ColorSchemes\ColorSchemeApplier.cs (6)
40
private readonly ImmutableDictionary<
ColorSchemeName
, ColorScheme> _colorSchemes;
45
private ImmutableDictionary<
ColorSchemeName
, ImmutableArray<RegistryItem>>? _colorSchemeRegistryItems;
136
private async Task<
ColorSchemeName
?> TryGetUpdatedColorSchemeAsync(CancellationToken cancellationToken)
139
var
appliedColorScheme = await _settings.GetAppliedColorSchemeAsync(cancellationToken).ConfigureAwait(false);
143
var
configuredColorScheme = await IsSupportedThemeAsync(cancellationToken).ConfigureAwait(false)
145
:
ColorSchemeName
.VisualStudio2017;
ColorSchemes\ColorSchemeApplier.Settings.cs (14)
41
public static ImmutableDictionary<
ColorSchemeName
, ColorScheme> GetColorSchemes()
45
ColorSchemeName
.VisualStudio2019,
46
ColorSchemeName
.VisualStudio2017
50
private static ColorScheme GetColorScheme(
ColorSchemeName
schemeName)
56
private static Stream GetColorSchemeXmlStream(
ColorSchemeName
schemeName)
63
ColorSchemeName
schemeName, ImmutableArray<RegistryItem> registryItems, CancellationToken cancellationToken)
88
public async Task<
ColorSchemeName
> GetAppliedColorSchemeAsync(CancellationToken cancellationToken)
97
? (
ColorSchemeName
)itemKey.GetValue(AppliedColorSchemeName)
101
private void SetAppliedColorScheme(
ColorSchemeName
schemeName)
114
public
ColorSchemeName
GetConfiguredColorScheme()
117
return schemeName !=
ColorSchemeName
.None
133
var
colorScheme = useEnhancedColorsSetting == ColorSchemeOptionsStorage.UseEnhancedColors.DoNotUse
134
?
ColorSchemeName
.VisualStudio2017
135
:
ColorSchemeName
.VisualStudio2019;
Implementation\ColorSchemes\ColorSchemeOptionsStorage.cs (2)
13
public static readonly Option2<
ColorSchemeName
> ColorScheme = new(
15
defaultValue:
ColorSchemeName
.VisualStudio2019);