diff --git a/.gitignore b/.gitignore index 940794e..e6dcfb6 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,7 @@ # User-specific files (MonoDevelop/Xamarin Studio) *.userprefs +/tmp # Build results [Dd]ebug/ diff --git a/Extension/ASD.ESH/ASD.ESH.csproj b/Extension/ASD.ESH/ASD.ESH.csproj index a9318ec..251652b 100644 --- a/Extension/ASD.ESH/ASD.ESH.csproj +++ b/Extension/ASD.ESH/ASD.ESH.csproj @@ -223,6 +223,7 @@ + diff --git a/Extension/ASD.ESH/Classification/Classifier.cs b/Extension/ASD.ESH/Classification/Classifier.cs index e772a64..38a76ee 100644 --- a/Extension/ASD.ESH/Classification/Classifier.cs +++ b/Extension/ASD.ESH/Classification/Classifier.cs @@ -53,6 +53,6 @@ private async Task> GetSpansAsync(Document document, I return resultSpans; } - private static IList EmptyList() => Enumerable.Empty().ToList(); + private static IList EmptyList() => Enumerable.Empty().ToList(); } } \ No newline at end of file diff --git a/Extension/ASD.ESH/Classification/TypesRegistry.Definitions.cs b/Extension/ASD.ESH/Classification/TypesRegistry.Definitions.cs index 39c2c7a..09b440f 100644 --- a/Extension/ASD.ESH/Classification/TypesRegistry.Definitions.cs +++ b/Extension/ASD.ESH/Classification/TypesRegistry.Definitions.cs @@ -19,7 +19,7 @@ private sealed class Definitions { [ClassificationType(ClassificationTypeNames = pT + nameof(SymbolKind.Field))] private sealed class FieldFormatDefinition : FormatDefinition { public FieldFormatDefinition() - : base($"{SymbolKind.Field}", Colors.LightSkyBlue) { } + : base($"{SymbolKind.Field}", "#9CDCFE") { } } @@ -31,7 +31,7 @@ public FieldFormatDefinition() [ClassificationType(ClassificationTypeNames = pT + nameof(SymbolKind.Method))] private sealed class MethodFormatDefinition : FormatDefinition { public MethodFormatDefinition() - : base($"{SymbolKind.Method}", Colors.PaleGoldenrod) { } + : base($"{SymbolKind.Method}", "#DCDCAA") { } } @@ -55,7 +55,7 @@ public NamespaceFormatDefinition() [ClassificationType(ClassificationTypeNames = pT + nameof(SymbolKind.Parameter))] private sealed class ParameterFormatDefinition : FormatDefinition { public ParameterFormatDefinition() - : base($"{SymbolKind.Parameter}", Colors.Gray) { } + : base($"{SymbolKind.Parameter}", "#808080") { } } @@ -67,7 +67,7 @@ public ParameterFormatDefinition() [ClassificationType(ClassificationTypeNames = pT + nameof(SymbolKind.Property))] private sealed class PropertyFormatDefinition : FormatDefinition { public PropertyFormatDefinition() - : base($"{SymbolKind.Property}", Colors.LightSkyBlue) { } + : base($"{SymbolKind.Property}", "#9CDCFE") { } } @@ -86,8 +86,8 @@ public LocalFormatDefinition() private abstract class FormatDefinition : ClassificationFormatDefinition { - public FormatDefinition(string displayName, Color defaultForegroundColor) - : this(displayName) => ForegroundColor = defaultForegroundColor; + public FormatDefinition(string displayName, string defaultForegroundColor) + : this(displayName) => ForegroundColor = (Color)ColorConverter.ConvertFromString(defaultForegroundColor); public FormatDefinition(string displayName) => DisplayName = $"User Tags - {displayName}";