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