58 references to SymbolKind
Microsoft.CodeAnalysis.LanguageServer.Protocol (57)
Extensions\ProtocolConversions.cs (43)
526public static LSP.SymbolKind NavigateToKindToSymbolKind(string kind) 528if (Enum.TryParse<LSP.SymbolKind>(kind, out var symbolKind)) 537return LSP.SymbolKind.EnumMember; 539return LSP.SymbolKind.Struct; 541return LSP.SymbolKind.Function; 543return LSP.SymbolKind.Object; 569public static Glyph SymbolKindToGlyph(LSP.SymbolKind kind) 573case LSP.SymbolKind.File: 575case LSP.SymbolKind.Module: 577case LSP.SymbolKind.Namespace: 579case LSP.SymbolKind.Package: 581case LSP.SymbolKind.Class: 583case LSP.SymbolKind.Method: 585case LSP.SymbolKind.Property: 587case LSP.SymbolKind.Field: 589case LSP.SymbolKind.Constructor: 591case LSP.SymbolKind.Enum: 593case LSP.SymbolKind.Interface: 595case LSP.SymbolKind.Function: 597case LSP.SymbolKind.Variable: 599case LSP.SymbolKind.Constant: 600case LSP.SymbolKind.Number: 602case LSP.SymbolKind.String: 603case LSP.SymbolKind.Boolean: 604case LSP.SymbolKind.Array: 605case LSP.SymbolKind.Object: 606case LSP.SymbolKind.Key: 607case LSP.SymbolKind.Null: 609case LSP.SymbolKind.EnumMember: 611case LSP.SymbolKind.Struct: 613case LSP.SymbolKind.Event: 615case LSP.SymbolKind.Operator: 617case LSP.SymbolKind.TypeParameter: 624public static LSP.SymbolKind GlyphToSymbolKind(Glyph glyph) 633if (Enum.TryParse<LSP.SymbolKind>(glyphString, out var symbolKind)) 644return LSP.SymbolKind.Package; 647return LSP.SymbolKind.File; 656return LSP.SymbolKind.Method; 661return LSP.SymbolKind.Variable; 666return LSP.SymbolKind.Struct; 668return LSP.SymbolKind.Object;
Handler\Symbols\DocumentSymbolsHandler.cs (1)
95var kind = ProtocolConversions.GlyphToSymbolKind(item.Glyph);
Handler\Symbols\SymbolInformationFactory.cs (1)
12public static SymbolInformation Create(string name, string? containerName, LSP.SymbolKind kind, LSP.Location location, Glyph glyph, bool supportsVSExtensions)
Protocol\DocumentSymbol.cs (2)
44/// The <see cref="SymbolKind" /> of this symbol. 47public SymbolKind Kind
Protocol\Extensions\VSSymbolInformation.cs (1)
18/// Gets or sets the icon associated with the symbol. If specified, this icon is used instead of <see cref="SymbolKind" />.
Protocol\Navigation\CallHierarchyItem.cs (1)
31public SymbolKind Kind { get; init; }
Protocol\Navigation\TypeHierarchyItem.cs (1)
31public SymbolKind Kind { get; init; }
Protocol\SymbolInformation.cs (2)
40/// Gets or sets the <see cref="SymbolKind"/> of this symbol. 44public SymbolKind Kind
Protocol\SymbolKindSetting.cs (4)
10/// Represents the <see cref="SymbolKind"/> values that the client supports. 22/// from <see cref="SymbolKind.File"/> to <see cref="SymbolKind.Array"/> as 28public SymbolKind[]? ValueSet
Protocol\WorkspaceSymbol.cs (1)
30public SymbolKind Kind { get; init; }
Microsoft.VisualStudio.LanguageServices (1)
DocumentOutline\SortOption.cs (1)
21/// Sort by document symbol <see cref="Roslyn.LanguageServer.Protocol.SymbolKind"/>.