Documentation ¶
Index ¶
- Variables
- func StartServer(logger *zap.Logger, logClientIn string)
- type Handler
- func (h Handler) CodeAction(ctx context.Context, params *protocol.CodeActionParams) ([]protocol.CodeAction, error)
- func (h Handler) CodeLens(ctx context.Context, params *protocol.CodeLensParams) ([]protocol.CodeLens, error)
- func (h Handler) CodeLensRefresh(ctx context.Context) error
- func (h Handler) CodeLensResolve(ctx context.Context, params *protocol.CodeLens) (*protocol.CodeLens, error)
- func (h Handler) ColorPresentation(ctx context.Context, params *protocol.ColorPresentationParams) ([]protocol.ColorPresentation, error)
- func (h Handler) Completion(ctx context.Context, params *protocol.CompletionParams) (*protocol.CompletionList, error)
- func (h Handler) CompletionResolve(ctx context.Context, params *protocol.CompletionItem) (*protocol.CompletionItem, error)
- func (h Handler) Declaration(ctx context.Context, params *protocol.DeclarationParams) ([]protocol.Location, error)
- func (h Handler) Definition(ctx context.Context, params *protocol.DefinitionParams) ([]protocol.Location, error)
- func (h Handler) DidChange(ctx context.Context, params *protocol.DidChangeTextDocumentParams) error
- func (h Handler) DidChangeConfiguration(ctx context.Context, params *protocol.DidChangeConfigurationParams) error
- func (h Handler) DidChangeWatchedFiles(ctx context.Context, params *protocol.DidChangeWatchedFilesParams) error
- func (h Handler) DidChangeWorkspaceFolders(ctx context.Context, params *protocol.DidChangeWorkspaceFoldersParams) error
- func (h Handler) DidClose(ctx context.Context, params *protocol.DidCloseTextDocumentParams) error
- func (h Handler) DidCreateFiles(ctx context.Context, params *protocol.CreateFilesParams) error
- func (h Handler) DidDeleteFiles(ctx context.Context, params *protocol.DeleteFilesParams) error
- func (h Handler) DidOpen(ctx context.Context, params *protocol.DidOpenTextDocumentParams) error
- func (h Handler) DidRenameFiles(ctx context.Context, params *protocol.RenameFilesParams) error
- func (h Handler) DidSave(ctx context.Context, params *protocol.DidSaveTextDocumentParams) error
- func (h Handler) DocumentColor(ctx context.Context, params *protocol.DocumentColorParams) ([]protocol.ColorInformation, error)
- func (h Handler) DocumentHighlight(ctx context.Context, params *protocol.DocumentHighlightParams) ([]protocol.DocumentHighlight, error)
- func (h Handler) DocumentLink(ctx context.Context, params *protocol.DocumentLinkParams) ([]protocol.DocumentLink, error)
- func (h Handler) DocumentLinkResolve(ctx context.Context, params *protocol.DocumentLink) (*protocol.DocumentLink, error)
- func (h Handler) DocumentSymbol(ctx context.Context, params *protocol.DocumentSymbolParams) ([]interface{}, error)
- func (h Handler) ExecuteCommand(ctx context.Context, params *protocol.ExecuteCommandParams) (interface{}, error)
- func (h Handler) Exit(ctx context.Context) error
- func (h Handler) FoldingRanges(ctx context.Context, params *protocol.FoldingRangeParams) ([]protocol.FoldingRange, error)
- func (h Handler) Formatting(ctx context.Context, params *protocol.DocumentFormattingParams) ([]protocol.TextEdit, error)
- func (h Handler) Hover(ctx context.Context, params *protocol.HoverParams) (*protocol.Hover, error)
- func (h Handler) Implementation(ctx context.Context, params *protocol.ImplementationParams) ([]protocol.Location, error)
- func (h Handler) IncomingCalls(ctx context.Context, params *protocol.CallHierarchyIncomingCallsParams) ([]protocol.CallHierarchyIncomingCall, error)
- func (h Handler) Initialize(ctx context.Context, params *protocol.InitializeParams) (*protocol.InitializeResult, error)
- func (h Handler) Initialized(ctx context.Context, params *protocol.InitializedParams) error
- func (h Handler) LinkedEditingRange(ctx context.Context, params *protocol.LinkedEditingRangeParams) (*protocol.LinkedEditingRanges, error)
- func (h Handler) LogTrace(ctx context.Context, params *protocol.LogTraceParams) error
- func (h Handler) Moniker(ctx context.Context, params *protocol.MonikerParams) ([]protocol.Moniker, error)
- func (h Handler) OnTypeFormatting(ctx context.Context, params *protocol.DocumentOnTypeFormattingParams) ([]protocol.TextEdit, error)
- func (h Handler) OutgoingCalls(ctx context.Context, params *protocol.CallHierarchyOutgoingCallsParams) ([]protocol.CallHierarchyOutgoingCall, error)
- func (h Handler) PrepareCallHierarchy(ctx context.Context, params *protocol.CallHierarchyPrepareParams) ([]protocol.CallHierarchyItem, error)
- func (h Handler) PrepareRename(ctx context.Context, params *protocol.PrepareRenameParams) (*protocol.Range, error)
- func (h Handler) RangeFormatting(ctx context.Context, params *protocol.DocumentRangeFormattingParams) ([]protocol.TextEdit, error)
- func (h Handler) References(ctx context.Context, params *protocol.ReferenceParams) ([]protocol.Location, error)
- func (h Handler) Rename(ctx context.Context, params *protocol.RenameParams) (*protocol.WorkspaceEdit, error)
- func (h Handler) Request(ctx context.Context, method string, params interface{}) (interface{}, error)
- func (h Handler) SemanticTokensFull(ctx context.Context, params *protocol.SemanticTokensParams) (*protocol.SemanticTokens, error)
- func (h Handler) SemanticTokensFullDelta(ctx context.Context, params *protocol.SemanticTokensDeltaParams) (interface{}, error)
- func (h Handler) SemanticTokensRange(ctx context.Context, params *protocol.SemanticTokensRangeParams) (*protocol.SemanticTokens, error)
- func (h Handler) SemanticTokensRefresh(ctx context.Context) error
- func (h Handler) SetTrace(ctx context.Context, params *protocol.SetTraceParams) error
- func (h Handler) ShowDocument(ctx context.Context, params *protocol.ShowDocumentParams) (*protocol.ShowDocumentResult, error)
- func (h Handler) Shutdown(ctx context.Context) error
- func (h Handler) SignatureHelp(ctx context.Context, params *protocol.SignatureHelpParams) (*protocol.SignatureHelp, error)
- func (h Handler) Symbols(ctx context.Context, params *protocol.WorkspaceSymbolParams) ([]protocol.SymbolInformation, error)
- func (h Handler) TypeDefinition(ctx context.Context, params *protocol.TypeDefinitionParams) ([]protocol.Location, error)
- func (h Handler) WillCreateFiles(ctx context.Context, params *protocol.CreateFilesParams) (*protocol.WorkspaceEdit, error)
- func (h Handler) WillDeleteFiles(ctx context.Context, params *protocol.DeleteFilesParams) (*protocol.WorkspaceEdit, error)
- func (h Handler) WillRenameFiles(ctx context.Context, params *protocol.RenameFilesParams) (*protocol.WorkspaceEdit, error)
- func (h Handler) WillSave(ctx context.Context, params *protocol.WillSaveTextDocumentParams) error
- func (h Handler) WillSaveWaitUntil(ctx context.Context, params *protocol.WillSaveTextDocumentParams) ([]protocol.TextEdit, error)
- func (h Handler) WorkDoneProgressCancel(ctx context.Context, params *protocol.WorkDoneProgressCancelParams) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Version string
Functions ¶
func StartServer ¶
Types ¶
type Handler ¶
func NewHandler ¶
func (Handler) CodeAction ¶
func (h Handler) CodeAction(ctx context.Context, params *protocol.CodeActionParams) ([]protocol.CodeAction, error)
func (Handler) CodeLensResolve ¶
func (Handler) ColorPresentation ¶
func (h Handler) ColorPresentation(ctx context.Context, params *protocol.ColorPresentationParams) ([]protocol.ColorPresentation, error)
func (Handler) Completion ¶
func (h Handler) Completion(ctx context.Context, params *protocol.CompletionParams) (*protocol.CompletionList, error)
func (Handler) CompletionResolve ¶
func (h Handler) CompletionResolve(ctx context.Context, params *protocol.CompletionItem) (*protocol.CompletionItem, error)
func (Handler) Declaration ¶
func (Handler) Definition ¶
func (Handler) DidChangeConfiguration ¶
func (Handler) DidChangeWatchedFiles ¶
func (Handler) DidChangeWorkspaceFolders ¶
func (Handler) DidCreateFiles ¶
func (Handler) DidDeleteFiles ¶
func (Handler) DidRenameFiles ¶
func (Handler) DocumentColor ¶
func (h Handler) DocumentColor(ctx context.Context, params *protocol.DocumentColorParams) ([]protocol.ColorInformation, error)
func (Handler) DocumentHighlight ¶
func (h Handler) DocumentHighlight(ctx context.Context, params *protocol.DocumentHighlightParams) ([]protocol.DocumentHighlight, error)
func (Handler) DocumentLink ¶
func (h Handler) DocumentLink(ctx context.Context, params *protocol.DocumentLinkParams) ([]protocol.DocumentLink, error)
func (Handler) DocumentLinkResolve ¶
func (h Handler) DocumentLinkResolve(ctx context.Context, params *protocol.DocumentLink) (*protocol.DocumentLink, error)
func (Handler) DocumentSymbol ¶
func (Handler) ExecuteCommand ¶
func (Handler) FoldingRanges ¶
func (h Handler) FoldingRanges(ctx context.Context, params *protocol.FoldingRangeParams) ([]protocol.FoldingRange, error)
func (Handler) Formatting ¶
func (Handler) Implementation ¶
func (Handler) IncomingCalls ¶
func (h Handler) IncomingCalls(ctx context.Context, params *protocol.CallHierarchyIncomingCallsParams) ([]protocol.CallHierarchyIncomingCall, error)
func (Handler) Initialize ¶
func (h Handler) Initialize(ctx context.Context, params *protocol.InitializeParams) (*protocol.InitializeResult, error)
func (Handler) Initialized ¶
func (Handler) LinkedEditingRange ¶
func (h Handler) LinkedEditingRange(ctx context.Context, params *protocol.LinkedEditingRangeParams) (*protocol.LinkedEditingRanges, error)
func (Handler) OnTypeFormatting ¶
func (Handler) OutgoingCalls ¶
func (h Handler) OutgoingCalls(ctx context.Context, params *protocol.CallHierarchyOutgoingCallsParams) ([]protocol.CallHierarchyOutgoingCall, error)
func (Handler) PrepareCallHierarchy ¶
func (h Handler) PrepareCallHierarchy(ctx context.Context, params *protocol.CallHierarchyPrepareParams) ([]protocol.CallHierarchyItem, error)
func (Handler) PrepareRename ¶
func (Handler) RangeFormatting ¶
func (Handler) References ¶
func (Handler) Rename ¶
func (h Handler) Rename(ctx context.Context, params *protocol.RenameParams) (*protocol.WorkspaceEdit, error)
func (Handler) SemanticTokensFull ¶
func (h Handler) SemanticTokensFull(ctx context.Context, params *protocol.SemanticTokensParams) (*protocol.SemanticTokens, error)
func (Handler) SemanticTokensFullDelta ¶
func (Handler) SemanticTokensRange ¶
func (h Handler) SemanticTokensRange(ctx context.Context, params *protocol.SemanticTokensRangeParams) (*protocol.SemanticTokens, error)
func (Handler) SemanticTokensRefresh ¶
func (Handler) ShowDocument ¶
func (h Handler) ShowDocument(ctx context.Context, params *protocol.ShowDocumentParams) (*protocol.ShowDocumentResult, error)
func (Handler) SignatureHelp ¶
func (h Handler) SignatureHelp(ctx context.Context, params *protocol.SignatureHelpParams) (*protocol.SignatureHelp, error)
func (Handler) Symbols ¶
func (h Handler) Symbols(ctx context.Context, params *protocol.WorkspaceSymbolParams) ([]protocol.SymbolInformation, error)
func (Handler) TypeDefinition ¶
func (Handler) WillCreateFiles ¶
func (h Handler) WillCreateFiles(ctx context.Context, params *protocol.CreateFilesParams) (*protocol.WorkspaceEdit, error)
func (Handler) WillDeleteFiles ¶
func (h Handler) WillDeleteFiles(ctx context.Context, params *protocol.DeleteFilesParams) (*protocol.WorkspaceEdit, error)
func (Handler) WillRenameFiles ¶
func (h Handler) WillRenameFiles(ctx context.Context, params *protocol.RenameFilesParams) (*protocol.WorkspaceEdit, error)
func (Handler) WillSaveWaitUntil ¶
func (Handler) WorkDoneProgressCancel ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.