Skip to content
This repository was archived by the owner on Aug 16, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions service.go
Original file line number Diff line number Diff line change
Expand Up @@ -660,6 +660,23 @@ type SymbolInformation struct {
ContainerName string `json:"containerName,omitempty"`
}

type DocumentSymbol struct {
Name string `json:"name"`
Detail string `json:"detail,omitempty"`
Kind SymbolKind `json:"kind"`
Tags []SymbolTag `json:"tags,omitempty"`
Deprecated bool `json:"deprecated,omitempty"`
Range Range `json:"range"`
SelectionRange Range `json:"selectionRange"`
Children []DocumentSymbol `json:"children,omitempty"`
}

type SymbolTag int

const (
STDeprecated SymbolTag = 1
)

type WorkspaceSymbolParams struct {
Query string `json:"query"`
Limit int `json:"limit"`
Expand Down