Versions in this module Expand all Collapse all v0 v0.0.2 Aug 7, 2022 v0.0.1 Apr 18, 2022 Changes in this version + func ArgumentListNotFound(uri string, position protocol.Position) error + func DocumentNotFound(uri string) error + func RunServerOnAddress(ctx context.Context, addr string, h func(ctx context.Context, s *Server)) error + func RunServerOnPort(ctx context.Context, port int, h func(ctx context.Context, s *Server)) error + func StoreNotFound(uri string) error + type Server struct + Conn *jsonrpc2.Conn + func NewServer(ctx context.Context, stream jsonrpc2.Stream) (context.Context, *Server) + func (s *Server) CodeAction(ctx context.Context, params *protocol.CodeActionParams) ([]protocol.CodeAction, error) + func (s *Server) CodeLens(context.Context, *protocol.CodeLensParams) ([]protocol.CodeLens, error) + func (s *Server) ColorPresentation(context.Context, *protocol.ColorPresentationParams) ([]protocol.ColorPresentation, error) + func (s *Server) Completion(ctx context.Context, params *protocol.CompletionParams) (*protocol.CompletionList, error) + func (s *Server) Declaration(context.Context, *protocol.DeclarationParams) ([]protocol.DeclarationLink, error) + func (s *Server) Definition(ctx context.Context, params *protocol.DefinitionParams) ([]protocol.Location, error) + func (s *Server) DidChange(ctx context.Context, params *protocol.DidChangeTextDocumentParams) error + func (s *Server) DidChangeConfiguration(context.Context, *protocol.DidChangeConfigurationParams) error + func (s *Server) DidChangeWatchedFiles(ctx context.Context, params *protocol.DidChangeWatchedFilesParams) error + func (s *Server) DidChangeWorkspaceFolders(ctx context.Context, params *protocol.DidChangeWorkspaceFoldersParams) error + func (s *Server) DidClose(ctx context.Context, params *protocol.DidCloseTextDocumentParams) error + func (s *Server) DidOpen(ctx context.Context, params *protocol.DidOpenTextDocumentParams) error + func (s *Server) DidSave(ctx context.Context, params *protocol.DidSaveTextDocumentParams) error + func (s *Server) DocumentColor(context.Context, *protocol.DocumentColorParams) ([]protocol.ColorInformation, error) + func (s *Server) DocumentHighlight(ctx context.Context, params *protocol.DocumentHighlightParams) ([]protocol.DocumentHighlight, error) + func (s *Server) DocumentLink(ctx context.Context, params *protocol.DocumentLinkParams) ([]protocol.DocumentLink, error) + func (s *Server) DocumentSignatures(ctx context.Context, params *protocol.TextDocumentIdentifier) ([]protocol.TextEdit, error) + func (s *Server) DocumentSymbol(ctx context.Context, params *protocol.DocumentSymbolParams) ([]protocol.DocumentSymbol, error) + func (s *Server) ExecuteCommand(ctx context.Context, params *protocol.ExecuteCommandParams) (interface{}, error) + func (s *Server) Exit(ctx context.Context) error + func (s *Server) FoldingRange(ctx context.Context, params *protocol.FoldingRangeParams) ([]protocol.FoldingRange, error) + func (s *Server) Formatting(ctx context.Context, params *protocol.DocumentFormattingParams) ([]protocol.TextEdit, error) + func (s *Server) Hover(ctx context.Context, params *protocol.HoverParams) (*protocol.Hover, error) + func (s *Server) Implementation(context.Context, *protocol.ImplementationParams) ([]protocol.Location, error) + func (s *Server) Initialize(ctx context.Context, params *protocol.InitializeParams) (*protocol.InitializeResult, error) + func (s *Server) Initialized(ctx context.Context, params *protocol.InitializedParams) error + func (s *Server) LogTraceNotification(context.Context, *protocol.LogTraceParams) error + func (s *Server) OnTypeFormatting(context.Context, *protocol.DocumentOnTypeFormattingParams) ([]protocol.TextEdit, error) + func (s *Server) PrepareRename(ctx context.Context, params *protocol.PrepareRenameParams) (*protocol.Range, error) + func (s *Server) Progress(context.Context, *protocol.ProgressParams) error + func (s *Server) RangeFormatting(ctx context.Context, params *protocol.DocumentRangeFormattingParams) ([]protocol.TextEdit, error) + func (s *Server) References(ctx context.Context, params *protocol.ReferenceParams) ([]protocol.Location, error) + func (s *Server) Rename(ctx context.Context, params *protocol.RenameParams) (*protocol.WorkspaceEdit, error) + func (s *Server) Resolve(ctx context.Context, item *protocol.CompletionItem) (*protocol.CompletionItem, error) + func (s *Server) ResolveCodeLens(context.Context, *protocol.CodeLens) (*protocol.CodeLens, error) + func (s *Server) ResolveDocumentLink(context.Context, *protocol.DocumentLink) (*protocol.DocumentLink, error) + func (s *Server) Run(ctx context.Context) error + func (s *Server) SelectionRange(context.Context, *protocol.SelectionRangeParams) ([]protocol.SelectionRange, error) + func (s *Server) SetTraceNotification(context.Context, *protocol.SetTraceParams) error + func (s *Server) Shutdown(ctx context.Context) error + func (s *Server) SignatureHelp(ctx context.Context, params *protocol.SignatureHelpParams) (*protocol.SignatureHelp, error) + func (s *Server) Symbol(ctx context.Context, params *protocol.WorkspaceSymbolParams) ([]protocol.SymbolInformation, error) + func (s *Server) TypeDefinition(ctx context.Context, params *protocol.TypeDefinitionParams) ([]protocol.Location, error) + func (s *Server) WillSave(context.Context, *protocol.WillSaveTextDocumentParams) error + func (s *Server) WillSaveWaitUntil(context.Context, *protocol.WillSaveTextDocumentParams) ([]protocol.TextEdit, error)