We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
SymbolType.Region
1 parent e9310f9 commit 91d5b88Copy full SHA for 91d5b88
src/PowerShellEditorServices/Services/Symbols/SymbolType.cs
@@ -79,6 +79,11 @@ internal enum SymbolType
79
/// The symbol is a type reference
80
/// </summary>
81
Type,
82
+
83
+ /// <summary>
84
+ /// The symbol is a region. Only used for navigation-features.
85
+ /// </summary>
86
+ Region
87
}
88
89
internal static class SymbolTypeUtils
@@ -97,6 +102,7 @@ internal static SymbolKind GetSymbolKind(SymbolType symbolType)
97
102
SymbolType.Variable or SymbolType.Parameter => SymbolKind.Variable,
98
103
SymbolType.HashtableKey => SymbolKind.Key,
99
104
SymbolType.Type => SymbolKind.TypeParameter,
105
+ SymbolType.Region => SymbolKind.String,
100
106
SymbolType.Unknown or _ => SymbolKind.Object,
101
107
};
108
0 commit comments