Documentation ¶
Index ¶
- Variables
- type Methods
- func (methods *Methods) CodeAction(reply jsonrpc2.Replier, req jsonrpc2.Request) error
- func (methods *Methods) Complete(reply jsonrpc2.Replier, req jsonrpc2.Request) error
- func (methods *Methods) Definition(reply jsonrpc2.Replier, req jsonrpc2.Request) error
- func (methods *Methods) Diagnostics(textDocument protocol.TextDocumentItem) protocol.PublishDiagnosticsParams
- func (methods *Methods) DidChange(reply jsonrpc2.Replier, req jsonrpc2.Request) error
- func (methods *Methods) DidClose(reply jsonrpc2.Replier, req jsonrpc2.Request) error
- func (methods *Methods) DidOpen(reply jsonrpc2.Replier, req jsonrpc2.Request) error
- func (methods *Methods) DocumentSymbols(reply jsonrpc2.Replier, req jsonrpc2.Request) error
- func (methods *Methods) ExecuteCommand(reply jsonrpc2.Replier, req jsonrpc2.Request) error
- func (methods *Methods) Hover(reply jsonrpc2.Replier, req jsonrpc2.Request) error
- func (methods *Methods) Initialize(reply jsonrpc2.Replier, req jsonrpc2.Request) error
- func (methods *Methods) References(reply jsonrpc2.Replier, req jsonrpc2.Request) error
- func (methods *Methods) SemanticTokens(reply jsonrpc2.Replier, req jsonrpc2.Request) error
- func (methods *Methods) SendTelemetryEvent(event TelemetryEvent)
- func (methods *Methods) SetResourceClassOfFile(params protocol.DidOpenTextDocumentParams)
- type ResourceClassResponse
- type ResourceClassResponseItem
- type SemanticTokensOptions
- type TelemetryEvent
Constants ¶
This section is empty.
Variables ¶
View Source
var BuildTime string
View Source
var ServerVersion string = "<dev build>"
Defined at build time by ldflags.sh
View Source
var TokenModifiers = []protocol.SemanticTokenModifiers{ protocol.SemanticTokenModifierDeclaration, protocol.SemanticTokenModifierAbstract, }
Functions ¶
This section is empty.
Types ¶
type Methods ¶
type Methods struct { Ctx context.Context Conn jsonrpc2.Conn Cache *utils.Cache LsContext *utils.LsContext SchemaLocation string }
func (*Methods) CodeAction ¶
func (*Methods) Definition ¶
func (*Methods) Diagnostics ¶
func (methods *Methods) Diagnostics(textDocument protocol.TextDocumentItem) protocol.PublishDiagnosticsParams
func (*Methods) DocumentSymbols ¶
func (*Methods) ExecuteCommand ¶
func (*Methods) Initialize ¶
func (*Methods) References ¶
func (*Methods) SemanticTokens ¶
func (*Methods) SendTelemetryEvent ¶
func (methods *Methods) SendTelemetryEvent(event TelemetryEvent)
TelemetryEvent are referenced on the following document: https://circleci.atlassian.net/wiki/spaces/DE/pages/6739722598/VS+Code+extension+Segment+event+tracking If you add an event in the code please edit the document
If you don't know what to put in Action and TriggerType, leave them empty The lsp client may add other properties
func (*Methods) SetResourceClassOfFile ¶
func (methods *Methods) SetResourceClassOfFile(params protocol.DidOpenTextDocumentParams)
type ResourceClassResponse ¶
type ResourceClassResponse struct {
Items []ResourceClassResponseItem `json:"items"`
}
type SemanticTokensOptions ¶
type SemanticTokensOptions struct { WorkDoneProgress bool `json:"workDoneProgress,omitempty"` Legend protocol.SemanticTokensLegend `json:"legend,omitempty"` Range bool `json:"range,omitempty"` Full bool `json:"full,omitempty"` }
Click to show internal directories.
Click to hide internal directories.