@@ -4,7 +4,7 @@ namespace Microsoft.VisualStudio.FSharp.Editor
44
55open System.Collections .Generic
66open Internal.Utilities .StructuredFormat
7- open Microsoft.CodeAnalysis
7+ open Microsoft.CodeAnalysis . Classification
88open Microsoft.FSharp .Compiler
99open Microsoft.VisualStudio .Core .Imaging
1010open Microsoft.VisualStudio .Language .StandardClassification
@@ -15,38 +15,38 @@ module internal QuickInfoViewProvider =
1515let layoutTagToClassificationTag ( layoutTag : LayoutTag ) =
1616match layoutTagwith
1717| ActivePatternCase
18- | UnionCase-> PredefinedClassificationTypeNames.SymbolDefinition
1918| ActivePatternResult
19+ | UnionCase
20+ | Enum-> ClassificationTypeNames.EnumName// Roslyn-style classification name
2021| Alias
2122| Class
22- | Enum
23- | Interface
2423| Module
2524| Record
2625| Struct
2726| TypeParameter
2827| Union
29- | UnknownType
30- | UnknownEntity-> PredefinedClassificationTypeNames.Type
28+ | UnknownType-> PredefinedClassificationTypeNames.Type
29+ | Interface-> ClassificationTypeNames.InterfaceName// Roslyn-style classification name
30+ | Keyword-> PredefinedClassificationTypeNames.Keyword
31+ | Delegate
3132| Event
3233| Field
3334| Local
34- | Method
3535| Member
36+ | Method
3637| ModuleBinding
3738| Namespace
3839| Parameter
3940| Property
4041| RecordField-> PredefinedClassificationTypeNames.Identifier
41- | StringLiteral-> PredefinedClassificationTypeNames.String
42- | NumericLiteral-> PredefinedClassificationTypeNames.Number
43- | Operator-> PredefinedClassificationTypeNames.Operator
44- | Keyword-> PredefinedClassificationTypeNames.Keyword
4542| LineBreak
4643| Space-> PredefinedClassificationTypeNames.WhiteSpace
47- | Delegate
44+ | NumericLiteral-> PredefinedClassificationTypeNames.Number
45+ | Operator-> PredefinedClassificationTypeNames.Operator
46+ | StringLiteral-> PredefinedClassificationTypeNames.String
4847| Punctuation
49- | Text-> PredefinedClassificationTypeNames.Other
48+ | Text
49+ | UnknownEntity-> PredefinedClassificationTypeNames.Other
5050
5151let provideContent
5252(