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 + const Abort + const AfterDelay + const AlreadyListening + const Array + const Boolean + const Changed + const Class + const ClassCompletion + const Closed + const ColorCompletion + const Comment + const Constant + const ConstantCompletion + const Constructor + const ConstructorCompletion + const ContentChange + const Create + const Created + const Delete + const Deleted + const Deprecated + const Disposed + const Empty + const Enum + const EnumCompletion + const EnumMember + const EnumMemberCompletion + const Error + const Event + const EventCompletion + const Field + const FieldCompletion + const File + const FileCompletion + const First + const FocusOut + const FolderCompletion + const Full + const Function + const FunctionCompletion + const Imports + const Incremental + const Info + const Interface + const InterfaceCompletion + const Invoked + const JSON + const Key + const KeywordCompletion + const Last + const Listening + const Log + const Manual + const Markdown + const MessageReadError + const MessageWriteError + const Method + const MethodCompletion + const Module + const ModuleCompletion + const Namespace + const New + const None + const Null + const Number + const Object + const Operator + const OperatorCompletion + const Package + const PlainText + const PlainTextTextFormat + const Property + const PropertyCompletion + const QuickFix + const Read + const Refactor + const RefactorExtract + const RefactorInline + const RefactorRewrite + const ReferenceCompletion + const Region + const Rename + const RequestCancelledError + const SeverityError + const SeverityHint + const SeverityInformation + const SeverityWarning + const SnippetCompletion + const SnippetTextFormat + const Source + const SourceOrganizeImports + const String + const Struct + const StructCompletion + const Text + const TextCompletion + const TextOnlyTransactional + const Transactional + const TriggerCharacter + const TriggerForIncompleteCompletions + const TypeParameter + const TypeParameterCompletion + const Undo + const UnitCompletion + const UnknownProtocolVersion + const Unnecessary + const ValueCompletion + const Variable + const VariableCompletion + const Warning + const WatchChange + const WatchCreate + const WatchDelete + const Write + func ComparePos(a Position, b Position) int + func CompareRange(a Range, b Range) int + func GetCpuprofile(ctx context.Context) string + func GetMemprofile(ctx context.Context) string + func GetVersion(ctx context.Context) string + func IsInRange(position Position, theRange Range) int + func WithClient(ctx context.Context, client Client) context.Context + func WithCpuprofile(ctx context.Context, cpuprofile string) context.Context + func WithMemprofile(ctx context.Context, memprofile string) context.Context + func WithVersion(ctx context.Context, version string) context.Context + type ApplyWorkspaceEditParams struct + Edit WorkspaceEdit + Label string + type ApplyWorkspaceEditResponse struct + Applied bool + FailedChange float64 + FailureReason string + type Client interface + ApplyEdit func(context.Context, *ApplyWorkspaceEditParams) (*ApplyWorkspaceEditResponse, error) + Configuration func(context.Context, *ParamConfig) ([]interface{}, error) + Event func(context.Context, *interface{}) error + LogMessage func(context.Context, *LogMessageParams) error + PublishDiagnostics func(context.Context, *PublishDiagnosticsParams) error + RegisterCapability func(context.Context, *RegistrationParams) error + ShowMessage func(context.Context, *ShowMessageParams) error + ShowMessageRequest func(context.Context, *ShowMessageRequestParams) (*MessageActionItem, error) + UnregisterCapability func(context.Context, *UnregistrationParams) error + WorkspaceFolders func(context.Context) ([]WorkspaceFolder, error) + func NewServer(ctx context.Context, stream jsonrpc2.Stream, server Server) (context.Context, *jsonrpc2.Conn, Client) + type ClientCapabilities struct + DynamicRegistration bool + Experimental interface{} + TextDocument TextDocumentClientCapabilities + Window interface{} + Workspace struct{ ... } + XContentProvider bool + XFilesProvider bool + type CodeAction struct + Command *Command + Diagnostics []Diagnostic + Edit *WorkspaceEdit + IsPreferred bool + Kind CodeActionKind + Title string + type CodeActionClientCapabilities struct + CodeActionLiteralSupport ... + DynamicRegistration bool + IsPreferredSupport bool + type CodeActionContext struct + Diagnostics []Diagnostic + Only []CodeActionKind + type CodeActionKind string + type CodeActionOptions struct + CodeActionKinds []CodeActionKind + type CodeActionParams struct + Context CodeActionContext + Range Range + TextDocument TextDocumentIdentifier + type CodeActionRegistrationOptions struct + type CodeLens struct + Command *Command + Data interface{} + Range Range + type CodeLensClientCapabilities struct + DynamicRegistration bool + type CodeLensOptions struct + ResolveProvider bool + type CodeLensParams struct + TextDocument TextDocumentIdentifier + type CodeLensRegistrationOptions struct + type Color struct + Alpha float64 + Blue float64 + Green float64 + Red float64 + type ColorInformation struct + Color Color + Range Range + type ColorPresentation struct + AdditionalTextEdits []TextEdit + Label string + TextEdit *TextEdit + type ColorPresentationParams struct + Color Color + Range Range + TextDocument TextDocumentIdentifier + type Command struct + Arguments []interface{} + Command string + Title string + type CompletionClientCapabilities struct + CompletionItem ... + CompletionItemKind ... + ContextSupport bool + DynamicRegistration bool + type CompletionContext struct + TriggerCharacter string + TriggerKind CompletionTriggerKind + type CompletionItem struct + AdditionalTextEdits []TextEdit + Command *Command + CommitCharacters []string + Data interface{} + Deprecated bool + Detail string + Documentation MarkupContent + FilterText string + InsertText string + InsertTextFormat InsertTextFormat + Kind CompletionItemKind + Label string + Preselect bool + SortText string + Tags []CompletionItemTag + TextEdit *TextEdit + type CompletionItemKind float64 + type CompletionItemTag float64 + type CompletionList struct + IsIncomplete bool + Items []CompletionItem + type CompletionOptions struct + AllCommitCharacters []string + ResolveProvider bool + TriggerCharacters []string + type CompletionParams struct + Context *CompletionContext + type CompletionRegistrationOptions struct + type CompletionTriggerKind float64 + type ConfigurationClientCapabilities struct + Workspace ... + type ConfigurationItem struct + ScopeURI string + Section string + type ConfigurationParams struct + Items []ConfigurationItem + type ConnectionErrors float64 + type ConnectionState float64 + type ContentParams struct + TextDocument TextDocumentIdentifier + type CreateFile struct + Kind string + Options *CreateFileOptions + URI DocumentURI + type CreateFileOptions struct + IgnoreIfExists bool + Overwrite bool + type DeclarationClientCapabilities struct + DynamicRegistration bool + LinkSupport bool + type DeclarationLink = LocationLink + type DeclarationOptions struct + type DeclarationParams struct + type DeclarationRegistrationOptions struct + type DefinitionClientCapabilities struct + DynamicRegistration bool + LinkSupport bool + type DefinitionLink = LocationLink + type DefinitionOptions struct + type DefinitionParams struct + type DefinitionRegistrationOptions struct + type DeleteFile struct + Kind string + Options *DeleteFileOptions + URI DocumentURI + type DeleteFileOptions struct + IgnoreIfNotExists bool + Recursive bool + type Diagnostic struct + Code interface{} + Message string + Range Range + RelatedInformation []DiagnosticRelatedInformation + Severity DiagnosticSeverity + Source string + Tags []DiagnosticTag + type DiagnosticRelatedInformation struct + Location Location + Message string + type DiagnosticSeverity float64 + type DiagnosticTag int + type DidChangeConfigurationClientCapabilities struct + DynamicRegistration bool + type DidChangeConfigurationParams struct + Settings interface{} + type DidChangeConfigurationRegistrationOptions struct + Section string + type DidChangeTextDocumentParams struct + ContentChanges []TextDocumentContentChangeEvent + TextDocument VersionedTextDocumentIdentifier + type DidChangeWatchedFilesClientCapabilities struct + DynamicRegistration bool + type DidChangeWatchedFilesParams struct + Changes []FileEvent + type DidChangeWatchedFilesRegistrationOptions struct + Watchers []FileSystemWatcher + type DidChangeWorkspaceFoldersParams struct + Event WorkspaceFoldersChangeEvent + type DidCloseTextDocumentParams struct + TextDocument TextDocumentIdentifier + type DidOpenTextDocumentParams struct + TextDocument TextDocumentItem + type DidSaveTextDocumentParams struct + Text string + TextDocument VersionedTextDocumentIdentifier + type DocumentColorClientCapabilities struct + DynamicRegistration bool + type DocumentColorOptions struct + ResolveProvider bool + type DocumentColorParams struct + TextDocument TextDocumentIdentifier + type DocumentColorRegistrationOptions struct + type DocumentFilter = struct + Language string + Pattern string + Scheme string + type DocumentFormattingClientCapabilities struct + DynamicRegistration bool + type DocumentFormattingOptions struct + type DocumentFormattingParams struct + Options FormattingOptions + TextDocument TextDocumentIdentifier + type DocumentFormattingRegistrationOptions struct + type DocumentHighlight struct + Kind *DocumentHighlightKind + Range Range + type DocumentHighlightClientCapabilities struct + DynamicRegistration bool + type DocumentHighlightKind float64 + type DocumentHighlightOptions struct + type DocumentHighlightParams struct + type DocumentHighlightRegistrationOptions struct + type DocumentLink struct + Data interface{} + Range Range + Target string + Tooltip string + type DocumentLinkClientCapabilities struct + DynamicRegistration bool + TooltipSupport bool + type DocumentLinkOptions struct + ResolveProvider bool + type DocumentLinkParams struct + TextDocument TextDocumentIdentifier + type DocumentLinkRegistrationOptions struct + type DocumentOnTypeFormattingClientCapabilities struct + DynamicRegistration bool + type DocumentOnTypeFormattingOptions struct + FirstTriggerCharacter string + MoreTriggerCharacter []string + type DocumentOnTypeFormattingParams struct + Ch string + Options FormattingOptions + Position Position + TextDocument TextDocumentIdentifier + type DocumentOnTypeFormattingRegistrationOptions struct + type DocumentRangeFormattingClientCapabilities struct + DynamicRegistration bool + type DocumentRangeFormattingOptions struct + type DocumentRangeFormattingParams struct + Options FormattingOptions + Range Range + TextDocument TextDocumentIdentifier + type DocumentRangeFormattingRegistrationOptions struct + type DocumentSelector = []DocumentFilter + type DocumentSymbol struct + Children []DocumentSymbol + Deprecated bool + Detail string + Kind SymbolKind + Name string + Range Range + SelectionRange Range + type DocumentSymbolClientCapabilities struct + DynamicRegistration bool + HierarchicalDocumentSymbolSupport bool + SymbolKind ... + type DocumentSymbolOptions struct + type DocumentSymbolParams struct + TextDocument TextDocumentIdentifier + type DocumentSymbolRegistrationOptions struct + type DocumentURI = string + type ErrorCodes float64 + type ExecuteCommandClientCapabilities struct + DynamicRegistration bool + type ExecuteCommandOptions struct + Commands []string + type ExecuteCommandParams struct + Arguments []interface{} + Command string + type ExecuteCommandRegistrationOptions struct + type FS interface + ConvertToURI func(uri string) string + ListFiles func(ctx context.Context, base string) ([]TextDocumentIdentifier, error) + ReadFile func(ctx context.Context, uri string) ([]byte, error) + type FailureHandlingKind string + type FileChangeType float64 + type FileEvent struct + Type FileChangeType + URI DocumentURI + type FileFS struct + func NewFileFS() *FileFS + func (f *FileFS) ConvertToURI(path string) string + func (f *FileFS) ListFiles(ctx context.Context, base string) ([]TextDocumentIdentifier, error) + func (f *FileFS) ReadFile(ctx context.Context, uri string) ([]byte, error) + type FileSystemWatcher struct + GlobPattern string + Kind int + type FilesParams struct + Base string + type FoldingRange struct + EndCharacter float64 + EndLine float64 + Kind string + StartCharacter float64 + StartLine float64 + type FoldingRangeClientCapabilities struct + DynamicRegistration bool + LineFoldingOnly bool + RangeLimit float64 + type FoldingRangeKind string + type FoldingRangeOptions struct + type FoldingRangeParams struct + TextDocument TextDocumentIdentifier + type FoldingRangeRegistrationOptions struct + type FormattingOptions struct + InsertFinalNewline bool + InsertSpaces bool + Key map[string]bool + TabSize float64 + TrimFinalNewlines bool + TrimTrailingWhitespace bool + type Hover struct + Contents MarkupContent + Range *Range + type HoverClientCapabilities struct + ContentFormat []MarkupKind + DynamicRegistration bool + type HoverOptions struct + type HoverParams struct + type HoverRegistrationOptions struct + type ImplementationClientCapabilities struct + DynamicRegistration bool + LinkSupport bool + type ImplementationOptions struct + type ImplementationParams struct + type ImplementationRegistrationOptions struct + type InitializeError float64 + type InitializeParams struct + Capabilities ClientCapabilities + ClientInfo ... + InitializationOptions interface{} + ProcessID float64 + RootPath string + RootURI DocumentURI + Trace string + WorkspaceFolders []WorkspaceFolder + type InitializeResult struct + Capabilities ServerCapabilities + Custom map[string]interface{} + ServerInfo ... + type InitializedParams struct + type InnerClientCapabilities struct + Experimental interface{} + TextDocument *TextDocumentClientCapabilities + Window interface{} + Workspace *WorkspaceClientCapabilities + type InnerInitializeParams struct + Capabilities ClientCapabilities + ClientInfo ... + InitializationOptions interface{} + ProcessID float64 + RootPath string + RootURI DocumentURI + Trace string + type InnerServerCapabilities struct + CodeActionProvider interface{} + CodeLensProvider *CodeLensOptions + ColorProvider bool + CompletionProvider *CompletionOptions + DeclarationProvider bool + DefinitionProvider bool + DocumentFormattingProvider bool + DocumentHighlightProvider bool + DocumentLinkProvider *DocumentLinkOptions + DocumentOnTypeFormattingProvider *DocumentOnTypeFormattingOptions + DocumentRangeFormattingProvider bool + DocumentSymbolProvider bool + ExecuteCommandProvider *ExecuteCommandOptions + Experimental interface{} + FoldingRangeProvider bool + HoverProvider bool + ImplementationProvider bool + ReferencesProvider bool + RenameProvider interface{} + SelectionRangeProvider bool + SignatureHelpProvider *SignatureHelpOptions + TextDocumentSync interface{} + TypeDefinitionProvider bool + WorkspaceSymbolProvider bool + type InsertTextFormat float64 + type LSPMessageType = string + type Location struct + Range Range + URI DocumentURI + type LocationLink struct + OriginSelectionRange *Range + TargetRange Range + TargetSelectionRange Range + TargetURI DocumentURI + type LogMessageParams struct + Message string + Type MessageType + type LogTraceParams struct + Message string + Verbose string + type MarkedString = string + type MarkupContent struct + Kind MarkupKind + Value string + type MarkupKind string + type MessageActionItem struct + Title string + type MessageType float64 + type ParamConfig struct + type ParameterInformation struct + Documentation string + Label string + type PartialResultParams struct + PartialResultToken *ProgressToken + type Position struct + Character int + Line int + func PosFromString(str string) Position + func (p Position) String() string + type PrepareRenameParams struct + type ProgressParams struct + Token ProgressToken + Value interface{} + type ProgressToken = interface + type PublishDiagnosticsClientCapabilities struct + RelatedInformation bool + TagSupport ... + type PublishDiagnosticsParams struct + Diagnostics []Diagnostic + URI DocumentURI + Version float64 + type Range struct + End Position + Start Position + func RangeFromString(str string) Range + func RangePointerFromString(str string) *Range + func (r Range) String() string + type ReferenceClientCapabilities struct + DynamicRegistration bool + type ReferenceContext struct + IncludeDeclaration bool + type ReferenceOptions struct + type ReferenceParams struct + Context ReferenceContext + type ReferenceRegistrationOptions struct + type Registration struct + ID string + Method string + RegisterOptions interface{} + type RegistrationParams struct + Registrations []Registration + type RenameClientCapabilities struct + DynamicRegistration bool + PrepareSupport bool + type RenameFile struct + Kind string + NewURI DocumentURI + OldURI DocumentURI + Options *RenameFileOptions + type RenameFileOptions struct + IgnoreIfExists bool + Overwrite bool + type RenameOptions struct + PrepareProvider bool + type RenameParams struct + NewName string + Position Position + TextDocument TextDocumentIdentifier + type RenameRegistrationOptions struct + type ResourceOperation struct + Kind string + type ResourceOperationKind string + type SaveOptions struct + IncludeText bool + type SelectionRange struct + Parent *SelectionRange + Range Range + type SelectionRangeClientCapabilities struct + DynamicRegistration bool + type SelectionRangeOptions struct + type SelectionRangeParams struct + Positions []Position + TextDocument TextDocumentIdentifier + type SelectionRangeRegistrationOptions struct + type Server interface + CodeAction func(context.Context, *CodeActionParams) ([]CodeAction, error) + CodeLens func(context.Context, *CodeLensParams) ([]CodeLens, error) + ColorPresentation func(context.Context, *ColorPresentationParams) ([]ColorPresentation, error) + Completion func(context.Context, *CompletionParams) (*CompletionList, error) + Declaration func(context.Context, *DeclarationParams) ([]DeclarationLink, error) + Definition func(context.Context, *DefinitionParams) ([]Location, error) + DidChange func(context.Context, *DidChangeTextDocumentParams) error + DidChangeConfiguration func(context.Context, *DidChangeConfigurationParams) error + DidChangeWatchedFiles func(context.Context, *DidChangeWatchedFilesParams) error + DidChangeWorkspaceFolders func(context.Context, *DidChangeWorkspaceFoldersParams) error + DidClose func(context.Context, *DidCloseTextDocumentParams) error + DidOpen func(context.Context, *DidOpenTextDocumentParams) error + DidSave func(context.Context, *DidSaveTextDocumentParams) error + DocumentColor func(context.Context, *DocumentColorParams) ([]ColorInformation, error) + DocumentHighlight func(context.Context, *DocumentHighlightParams) ([]DocumentHighlight, error) + DocumentLink func(context.Context, *DocumentLinkParams) ([]DocumentLink, error) + DocumentSignatures func(context.Context, *TextDocumentIdentifier) ([]TextEdit, error) + DocumentSymbol func(context.Context, *DocumentSymbolParams) ([]DocumentSymbol, error) + ExecuteCommand func(context.Context, *ExecuteCommandParams) (interface{}, error) + Exit func(context.Context) error + FoldingRange func(context.Context, *FoldingRangeParams) ([]FoldingRange, error) + Formatting func(context.Context, *DocumentFormattingParams) ([]TextEdit, error) + Hover func(context.Context, *HoverParams) (*Hover, error) + Implementation func(context.Context, *ImplementationParams) ([]Location, error) + Initialize func(context.Context, *InitializeParams) (*InitializeResult, error) + Initialized func(context.Context, *InitializedParams) error + LogTraceNotification func(context.Context, *LogTraceParams) error + OnTypeFormatting func(context.Context, *DocumentOnTypeFormattingParams) ([]TextEdit, error) + PrepareRename func(context.Context, *PrepareRenameParams) (*Range, error) + Progress func(context.Context, *ProgressParams) error + RangeFormatting func(context.Context, *DocumentRangeFormattingParams) ([]TextEdit, error) + References func(context.Context, *ReferenceParams) ([]Location, error) + Rename func(context.Context, *RenameParams) (*WorkspaceEdit, error) + Resolve func(context.Context, *CompletionItem) (*CompletionItem, error) + ResolveCodeLens func(context.Context, *CodeLens) (*CodeLens, error) + ResolveDocumentLink func(context.Context, *DocumentLink) (*DocumentLink, error) + SelectionRange func(context.Context, *SelectionRangeParams) ([]SelectionRange, error) + SetTraceNotification func(context.Context, *SetTraceParams) error + Shutdown func(context.Context) error + SignatureHelp func(context.Context, *SignatureHelpParams) (*SignatureHelp, error) + Symbol func(context.Context, *WorkspaceSymbolParams) ([]SymbolInformation, error) + TypeDefinition func(context.Context, *TypeDefinitionParams) ([]Location, error) + WillSave func(context.Context, *WillSaveTextDocumentParams) error + WillSaveWaitUntil func(context.Context, *WillSaveTextDocumentParams) ([]TextEdit, error) + type ServerCapabilities struct + CodeActionProvider interface{} + CodeLensProvider *CodeLensOptions + ColorProvider bool + CompletionProvider *CompletionOptions + DeclarationProvider bool + DefinitionProvider bool + DocumentFormattingProvider bool + DocumentHighlightProvider bool + DocumentLinkProvider *DocumentLinkOptions + DocumentOnTypeFormattingProvider *DocumentOnTypeFormattingOptions + DocumentRangeFormattingProvider bool + DocumentSymbolProvider bool + ExecuteCommandProvider *ExecuteCommandOptions + Experimental interface{} + FoldingRangeProvider bool + HoverProvider bool + ImplementationProvider bool + ReferencesProvider bool + RenameProvider interface{} + SelectionRangeProvider bool + SignatureHelpProvider *SignatureHelpOptions + TextDocumentSync interface{} + TypeDefinitionProvider bool + Workspace ... + WorkspaceSymbolProvider bool + type SetTraceParams struct + Value TraceValues + type ShowMessageParams struct + Message string + Type MessageType + type ShowMessageRequestParams struct + Actions []MessageActionItem + Message string + Type MessageType + type SignatureHelp struct + ActiveParameter int + ActiveSignature int + Signatures []SignatureInformation + type SignatureHelpClientCapabilities struct + ContextSupport bool + DynamicRegistration bool + SignatureInformation ... + type SignatureHelpContext struct + ActiveSignatureHelp *SignatureHelp + IsRetrigger bool + TriggerCharacter string + TriggerKind SignatureHelpTriggerKind + type SignatureHelpOptions struct + RetriggerCharacters []string + TriggerCharacters []string + type SignatureHelpParams struct + Context *SignatureHelpContext + type SignatureHelpRegistrationOptions struct + type SignatureHelpTriggerKind float64 + type SignatureInformation struct + Documentation string + Label string + Parameters []ParameterInformation + type StaticRegistrationOptions struct + ID string + type SymbolInformation struct + ContainerName string + Deprecated bool + Kind SymbolKind + Location Location + Name string + type SymbolKind float64 + type TextDocument struct + LanguageID string + LineCount float64 + URI DocumentURI + Version float64 + type TextDocumentChangeEvent struct + Document TextDocument + type TextDocumentChangeRegistrationOptions struct + SyncKind TextDocumentSyncKind + type TextDocumentClientCapabilities struct + CodeAction *CodeActionClientCapabilities + CodeLens *CodeLensClientCapabilities + ColorProvider *DocumentColorClientCapabilities + Completion *CompletionClientCapabilities + Declaration *DeclarationClientCapabilities + Definition *DefinitionClientCapabilities + DocumentHighlight *DocumentHighlightClientCapabilities + DocumentLink *DocumentLinkClientCapabilities + DocumentSymbol *DocumentSymbolClientCapabilities + FoldingRange *FoldingRangeClientCapabilities + Formatting *DocumentFormattingClientCapabilities + Hover *HoverClientCapabilities + Implementation *ImplementationClientCapabilities + OnTypeFormatting *DocumentOnTypeFormattingClientCapabilities + PublishDiagnostics *PublishDiagnosticsClientCapabilities + RangeFormatting *DocumentRangeFormattingClientCapabilities + References *ReferenceClientCapabilities + Rename *RenameClientCapabilities + SelectionRange *SelectionRangeClientCapabilities + SignatureHelp *SignatureHelpClientCapabilities + Synchronization *TextDocumentSyncClientCapabilities + TypeDefinition *TypeDefinitionClientCapabilities + type TextDocumentContentChangeEvent struct + Range *Range + RangeLength float64 + Text string + type TextDocumentEdit struct + Edits []TextEdit + TextDocument VersionedTextDocumentIdentifier + type TextDocumentIdentifier struct + URI DocumentURI + type TextDocumentItem struct + LanguageID string + Text string + URI DocumentURI + Version float64 + type TextDocumentPositionParams struct + Position Position + TextDocument TextDocumentIdentifier + type TextDocumentRegistrationOptions struct + DocumentSelector DocumentSelector + type TextDocumentSaveReason float64 + type TextDocumentSaveRegistrationOptions struct + type TextDocumentSyncClientCapabilities struct + DidSave bool + DynamicRegistration bool + WillSave bool + WillSaveWaitUntil bool + type TextDocumentSyncKind float64 + type TextDocumentSyncOptions struct + Change TextDocumentSyncKind + OpenClose bool + Save *SaveOptions + WillSave bool + WillSaveWaitUntil bool + type TextDocumentWillSaveEvent struct + Document TextDocument + Reason TextDocumentSaveReason + type TextEdit struct + NewText string + Range Range + type TextEditChange struct + type Touch float64 + type Trace string + type TraceFormat string + type TraceValues = string + type Tracer struct + type TypeDefinitionClientCapabilities struct + DynamicRegistration bool + LinkSupport bool + type TypeDefinitionOptions struct + type TypeDefinitionParams struct + type TypeDefinitionRegistrationOptions struct + type URIFS struct + func NewLSPFS(conn *jsonrpc2.Conn) *URIFS + func (f *URIFS) ConvertToURI(path string) string + func (f *URIFS) ListFiles(ctx context.Context, base string) (docs []TextDocumentIdentifier, err error) + func (f *URIFS) ReadFile(ctx context.Context, uri string) ([]byte, error) + type Unregistration struct + ID string + Method string + type UnregistrationParams struct + Unregisterations []Unregistration + type VersionedTextDocumentIdentifier struct + Version float64 + type WatchKind float64 + type WillSaveTextDocumentParams struct + Reason TextDocumentSaveReason + TextDocument TextDocumentIdentifier + type WorkDoneProgressOptions struct + WorkDoneProgress bool + type WorkDoneProgressParams struct + WorkDoneToken *ProgressToken + type WorkspaceClientCapabilities struct + ApplyEdit bool + DidChangeConfiguration *DidChangeConfigurationClientCapabilities + DidChangeWatchedFiles *DidChangeWatchedFilesClientCapabilities + ExecuteCommand *ExecuteCommandClientCapabilities + Symbol *WorkspaceSymbolClientCapabilities + WorkspaceEdit *WorkspaceEditClientCapabilities + type WorkspaceEdit struct + Changes map[string][]TextEdit + DocumentChanges []TextDocumentEdit + type WorkspaceEditClientCapabilities struct + DocumentChanges bool + FailureHandling FailureHandlingKind + ResourceOperations []ResourceOperationKind + type WorkspaceFolder struct + Name string + URI string + type WorkspaceFoldersChangeEvent struct + Added []WorkspaceFolder + Removed []WorkspaceFolder + type WorkspaceFoldersClientCapabilities struct + Workspace ... + type WorkspaceFoldersInitializeParams struct + WorkspaceFolders []WorkspaceFolder + type WorkspaceFoldersServerCapabilities struct + Workspace ... + type WorkspaceSymbolClientCapabilities struct + DynamicRegistration bool + SymbolKind ... + type WorkspaceSymbolOptions struct + type WorkspaceSymbolParams struct + Query string + type WorkspaceSymbolRegistrationOptions struct