Documentation ¶
Overview ¶
Package rpc is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterLanguageServerProtocolHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterLanguageServerProtocolHandlerClient(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterLanguageServerProtocolHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterLanguageServerProtocolHandlerServer(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterLanguageServerProtocolServer(s *grpc.Server, srv LanguageServerProtocolServer)
- type ApplyWorkspaceEditRequest
- func (*ApplyWorkspaceEditRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyWorkspaceEditRequest) GetEdit() *protocol.WorkspaceEdit
- func (x *ApplyWorkspaceEditRequest) GetLabel() *wrappers.StringValue
- func (*ApplyWorkspaceEditRequest) ProtoMessage()
- func (x *ApplyWorkspaceEditRequest) ProtoReflect() protoreflect.Message
- func (x *ApplyWorkspaceEditRequest) Reset()
- func (x *ApplyWorkspaceEditRequest) String() string
- type ApplyWorkspaceEditResponse
- func (*ApplyWorkspaceEditResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyWorkspaceEditResponse) GetApplied() bool
- func (x *ApplyWorkspaceEditResponse) GetFailureReason() *wrappers.StringValue
- func (*ApplyWorkspaceEditResponse) ProtoMessage()
- func (x *ApplyWorkspaceEditResponse) ProtoReflect() protoreflect.Message
- func (x *ApplyWorkspaceEditResponse) Reset()
- func (x *ApplyWorkspaceEditResponse) String() string
- type CallHierarchyClientCapabilities
- func (*CallHierarchyClientCapabilities) Descriptor() ([]byte, []int)deprecated
- func (x *CallHierarchyClientCapabilities) GetDynamicRegistration() bool
- func (*CallHierarchyClientCapabilities) ProtoMessage()
- func (x *CallHierarchyClientCapabilities) ProtoReflect() protoreflect.Message
- func (x *CallHierarchyClientCapabilities) Reset()
- func (x *CallHierarchyClientCapabilities) String() string
- type CallHierarchyIncomingCall
- func (*CallHierarchyIncomingCall) Descriptor() ([]byte, []int)deprecated
- func (x *CallHierarchyIncomingCall) GetFrom() *CallHierarchyItem
- func (x *CallHierarchyIncomingCall) GetFromRanges() []*protocol.Range
- func (*CallHierarchyIncomingCall) ProtoMessage()
- func (x *CallHierarchyIncomingCall) ProtoReflect() protoreflect.Message
- func (x *CallHierarchyIncomingCall) Reset()
- func (x *CallHierarchyIncomingCall) String() string
- type CallHierarchyIncomingCallsRequest
- func (*CallHierarchyIncomingCallsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CallHierarchyIncomingCallsRequest) GetItem() *CallHierarchyItem
- func (x *CallHierarchyIncomingCallsRequest) GetPartialResultParams() *PartialResultParams
- func (x *CallHierarchyIncomingCallsRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
- func (*CallHierarchyIncomingCallsRequest) ProtoMessage()
- func (x *CallHierarchyIncomingCallsRequest) ProtoReflect() protoreflect.Message
- func (x *CallHierarchyIncomingCallsRequest) Reset()
- func (x *CallHierarchyIncomingCallsRequest) String() string
- type CallHierarchyIncomingCallsResponse
- func (*CallHierarchyIncomingCallsResponse) Descriptor() ([]byte, []int)deprecated
- func (m *CallHierarchyIncomingCallsResponse) GetCallHierarchyIncomingCallsResponse() isCallHierarchyIncomingCallsResponse_CallHierarchyIncomingCallsResponse
- func (x *CallHierarchyIncomingCallsResponse) GetError() *protocol.Error
- func (x *CallHierarchyIncomingCallsResponse) GetPartialResult() *CallHierarchyIncomingCallsResponse_PartialResult
- func (x *CallHierarchyIncomingCallsResponse) GetResult() *CallHierarchyIncomingCallsResponse_Result
- func (*CallHierarchyIncomingCallsResponse) ProtoMessage()
- func (x *CallHierarchyIncomingCallsResponse) ProtoReflect() protoreflect.Message
- func (x *CallHierarchyIncomingCallsResponse) Reset()
- func (x *CallHierarchyIncomingCallsResponse) String() string
- type CallHierarchyIncomingCallsResponse_Error
- type CallHierarchyIncomingCallsResponse_PartialResult
- func (*CallHierarchyIncomingCallsResponse_PartialResult) Descriptor() ([]byte, []int)deprecated
- func (x *CallHierarchyIncomingCallsResponse_PartialResult) GetCallHierarchyIncomingCalls() []*CallHierarchyIncomingCall
- func (*CallHierarchyIncomingCallsResponse_PartialResult) ProtoMessage()
- func (x *CallHierarchyIncomingCallsResponse_PartialResult) ProtoReflect() protoreflect.Message
- func (x *CallHierarchyIncomingCallsResponse_PartialResult) Reset()
- func (x *CallHierarchyIncomingCallsResponse_PartialResult) String() string
- type CallHierarchyIncomingCallsResponse_PartialResult_
- type CallHierarchyIncomingCallsResponse_Result
- func (*CallHierarchyIncomingCallsResponse_Result) Descriptor() ([]byte, []int)deprecated
- func (x *CallHierarchyIncomingCallsResponse_Result) GetCallHierarchyIncomingCalls() []*CallHierarchyIncomingCall
- func (x *CallHierarchyIncomingCallsResponse_Result) GetEmpty() _struct.NullValue
- func (*CallHierarchyIncomingCallsResponse_Result) ProtoMessage()
- func (x *CallHierarchyIncomingCallsResponse_Result) ProtoReflect() protoreflect.Message
- func (x *CallHierarchyIncomingCallsResponse_Result) Reset()
- func (x *CallHierarchyIncomingCallsResponse_Result) String() string
- type CallHierarchyIncomingCallsResponse_Result_
- type CallHierarchyItem
- func (*CallHierarchyItem) Descriptor() ([]byte, []int)deprecated
- func (x *CallHierarchyItem) GetDetail() *wrappers.StringValue
- func (x *CallHierarchyItem) GetKind() SymbolKind
- func (x *CallHierarchyItem) GetName() string
- func (x *CallHierarchyItem) GetRange() *protocol.Range
- func (x *CallHierarchyItem) GetSelectionRange() *protocol.Range
- func (x *CallHierarchyItem) GetTags() []SymbolTag
- func (x *CallHierarchyItem) GetUri() *uri.DocumentURI
- func (*CallHierarchyItem) ProtoMessage()
- func (x *CallHierarchyItem) ProtoReflect() protoreflect.Message
- func (x *CallHierarchyItem) Reset()
- func (x *CallHierarchyItem) String() string
- type CallHierarchyOptions
- func (*CallHierarchyOptions) Descriptor() ([]byte, []int)deprecated
- func (x *CallHierarchyOptions) GetWorkDoneProgressOptions() *protocol.WorkDoneProgressOptions
- func (*CallHierarchyOptions) ProtoMessage()
- func (x *CallHierarchyOptions) ProtoReflect() protoreflect.Message
- func (x *CallHierarchyOptions) Reset()
- func (x *CallHierarchyOptions) String() string
- type CallHierarchyOutgoingCall
- func (*CallHierarchyOutgoingCall) Descriptor() ([]byte, []int)deprecated
- func (x *CallHierarchyOutgoingCall) GetFromRanges() []*protocol.Range
- func (x *CallHierarchyOutgoingCall) GetTo() *CallHierarchyItem
- func (*CallHierarchyOutgoingCall) ProtoMessage()
- func (x *CallHierarchyOutgoingCall) ProtoReflect() protoreflect.Message
- func (x *CallHierarchyOutgoingCall) Reset()
- func (x *CallHierarchyOutgoingCall) String() string
- type CallHierarchyOutgoingCallsRequest
- func (*CallHierarchyOutgoingCallsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CallHierarchyOutgoingCallsRequest) GetItem() *CallHierarchyItem
- func (x *CallHierarchyOutgoingCallsRequest) GetPartialResultParams() *PartialResultParams
- func (x *CallHierarchyOutgoingCallsRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
- func (*CallHierarchyOutgoingCallsRequest) ProtoMessage()
- func (x *CallHierarchyOutgoingCallsRequest) ProtoReflect() protoreflect.Message
- func (x *CallHierarchyOutgoingCallsRequest) Reset()
- func (x *CallHierarchyOutgoingCallsRequest) String() string
- type CallHierarchyOutgoingCallsResponse
- func (*CallHierarchyOutgoingCallsResponse) Descriptor() ([]byte, []int)deprecated
- func (m *CallHierarchyOutgoingCallsResponse) GetCallHierarchyOutgoingCallsResponse() isCallHierarchyOutgoingCallsResponse_CallHierarchyOutgoingCallsResponse
- func (x *CallHierarchyOutgoingCallsResponse) GetError() *protocol.Error
- func (x *CallHierarchyOutgoingCallsResponse) GetPartialResult() *CallHierarchyOutgoingCallsResponse_PartialResult
- func (x *CallHierarchyOutgoingCallsResponse) GetResult() *CallHierarchyOutgoingCallsResponse_Result
- func (*CallHierarchyOutgoingCallsResponse) ProtoMessage()
- func (x *CallHierarchyOutgoingCallsResponse) ProtoReflect() protoreflect.Message
- func (x *CallHierarchyOutgoingCallsResponse) Reset()
- func (x *CallHierarchyOutgoingCallsResponse) String() string
- type CallHierarchyOutgoingCallsResponse_Error
- type CallHierarchyOutgoingCallsResponse_PartialResult
- func (*CallHierarchyOutgoingCallsResponse_PartialResult) Descriptor() ([]byte, []int)deprecated
- func (x *CallHierarchyOutgoingCallsResponse_PartialResult) GetCallHierarchyOutgoingCalls() []*CallHierarchyOutgoingCall
- func (*CallHierarchyOutgoingCallsResponse_PartialResult) ProtoMessage()
- func (x *CallHierarchyOutgoingCallsResponse_PartialResult) ProtoReflect() protoreflect.Message
- func (x *CallHierarchyOutgoingCallsResponse_PartialResult) Reset()
- func (x *CallHierarchyOutgoingCallsResponse_PartialResult) String() string
- type CallHierarchyOutgoingCallsResponse_PartialResult_
- type CallHierarchyOutgoingCallsResponse_Result
- func (*CallHierarchyOutgoingCallsResponse_Result) Descriptor() ([]byte, []int)deprecated
- func (x *CallHierarchyOutgoingCallsResponse_Result) GetCallHierarchyOutgoingCalls() []*CallHierarchyOutgoingCall
- func (x *CallHierarchyOutgoingCallsResponse_Result) GetEmpty() _struct.NullValue
- func (*CallHierarchyOutgoingCallsResponse_Result) ProtoMessage()
- func (x *CallHierarchyOutgoingCallsResponse_Result) ProtoReflect() protoreflect.Message
- func (x *CallHierarchyOutgoingCallsResponse_Result) Reset()
- func (x *CallHierarchyOutgoingCallsResponse_Result) String() string
- type CallHierarchyOutgoingCallsResponse_Result_
- type CallHierarchyPrepareRequest
- func (*CallHierarchyPrepareRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CallHierarchyPrepareRequest) GetTextDocumentPositionParams() *protocol.TextDocumentPositionParams
- func (x *CallHierarchyPrepareRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
- func (*CallHierarchyPrepareRequest) ProtoMessage()
- func (x *CallHierarchyPrepareRequest) ProtoReflect() protoreflect.Message
- func (x *CallHierarchyPrepareRequest) Reset()
- func (x *CallHierarchyPrepareRequest) String() string
- type CallHierarchyPrepareResponse
- func (*CallHierarchyPrepareResponse) Descriptor() ([]byte, []int)deprecated
- func (m *CallHierarchyPrepareResponse) GetCallHierarchyPrepareResponse() isCallHierarchyPrepareResponse_CallHierarchyPrepareResponse
- func (x *CallHierarchyPrepareResponse) GetError() *protocol.Error
- func (x *CallHierarchyPrepareResponse) GetResult() *CallHierarchyPrepareResponse_Result
- func (*CallHierarchyPrepareResponse) ProtoMessage()
- func (x *CallHierarchyPrepareResponse) ProtoReflect() protoreflect.Message
- func (x *CallHierarchyPrepareResponse) Reset()
- func (x *CallHierarchyPrepareResponse) String() string
- type CallHierarchyPrepareResponse_Error
- type CallHierarchyPrepareResponse_Result
- func (*CallHierarchyPrepareResponse_Result) Descriptor() ([]byte, []int)deprecated
- func (x *CallHierarchyPrepareResponse_Result) GetCallHierarchyItems() []*CallHierarchyItem
- func (x *CallHierarchyPrepareResponse_Result) GetEmpty() _struct.NullValue
- func (*CallHierarchyPrepareResponse_Result) ProtoMessage()
- func (x *CallHierarchyPrepareResponse_Result) ProtoReflect() protoreflect.Message
- func (x *CallHierarchyPrepareResponse_Result) Reset()
- func (x *CallHierarchyPrepareResponse_Result) String() string
- type CallHierarchyPrepareResponse_Result_
- type CallHierarchyRegistrationOptions
- func (*CallHierarchyRegistrationOptions) Descriptor() ([]byte, []int)deprecated
- func (x *CallHierarchyRegistrationOptions) GetCallHierarchyOptions() *CallHierarchyOptions
- func (x *CallHierarchyRegistrationOptions) GetStaticRegistrationOptions() *protocol.StaticRegistrationOptions
- func (x *CallHierarchyRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
- func (*CallHierarchyRegistrationOptions) ProtoMessage()
- func (x *CallHierarchyRegistrationOptions) ProtoReflect() protoreflect.Message
- func (x *CallHierarchyRegistrationOptions) Reset()
- func (x *CallHierarchyRegistrationOptions) String() string
- type CancelRequest
- type ClientCapabilities
- func (*ClientCapabilities) Descriptor() ([]byte, []int)deprecated
- func (x *ClientCapabilities) GetExperimental() *any.Any
- func (x *ClientCapabilities) GetTextDocument() *TextDocumentClientCapabilities
- func (x *ClientCapabilities) GetWindow() *ClientCapabilities_Window
- func (x *ClientCapabilities) GetWorkspace() *ClientCapabilities_Workspace
- func (*ClientCapabilities) ProtoMessage()
- func (x *ClientCapabilities) ProtoReflect() protoreflect.Message
- func (x *ClientCapabilities) Reset()
- func (x *ClientCapabilities) String() string
- type ClientCapabilities_Window
- func (*ClientCapabilities_Window) Descriptor() ([]byte, []int)deprecated
- func (x *ClientCapabilities_Window) GetWorkDoneProgress() bool
- func (*ClientCapabilities_Window) ProtoMessage()
- func (x *ClientCapabilities_Window) ProtoReflect() protoreflect.Message
- func (x *ClientCapabilities_Window) Reset()
- func (x *ClientCapabilities_Window) String() string
- type ClientCapabilities_Workspace
- func (*ClientCapabilities_Workspace) Descriptor() ([]byte, []int)deprecated
- func (x *ClientCapabilities_Workspace) GetApplyEdit() bool
- func (x *ClientCapabilities_Workspace) GetConfiguration() bool
- func (x *ClientCapabilities_Workspace) GetDidChangeConfiguration() *DidChangeConfigurationClientCapabilities
- func (x *ClientCapabilities_Workspace) GetDidChangeWatchedFiles() *DidChangeWatchedFilesClientCapabilities
- func (x *ClientCapabilities_Workspace) GetExecuteCommand() *ExecuteCommandClientCapabilities
- func (x *ClientCapabilities_Workspace) GetSymbol() *WorkspaceSymbolClientCapabilities
- func (x *ClientCapabilities_Workspace) GetWorkspaceEdit() *protocol.WorkspaceEditClientCapabilities
- func (x *ClientCapabilities_Workspace) GetWorkspaceFolders() bool
- func (*ClientCapabilities_Workspace) ProtoMessage()
- func (x *ClientCapabilities_Workspace) ProtoReflect() protoreflect.Message
- func (x *ClientCapabilities_Workspace) Reset()
- func (x *ClientCapabilities_Workspace) String() string
- type CodeAction
- func (*CodeAction) Descriptor() ([]byte, []int)deprecated
- func (x *CodeAction) GetCommand() *protocol.Command
- func (x *CodeAction) GetDiagnostics() []*protocol.Diagnostic
- func (x *CodeAction) GetEdit() *protocol.WorkspaceEdit
- func (x *CodeAction) GetIsPreferred() bool
- func (x *CodeAction) GetKind() CodeActionKind
- func (x *CodeAction) GetTitle() string
- func (*CodeAction) ProtoMessage()
- func (x *CodeAction) ProtoReflect() protoreflect.Message
- func (x *CodeAction) Reset()
- func (x *CodeAction) String() string
- type CodeActionClientCapabilities
- func (*CodeActionClientCapabilities) Descriptor() ([]byte, []int)deprecated
- func (x *CodeActionClientCapabilities) GetCodeActionLiteralSupport() *CodeActionClientCapabilities_CodeActionLiteralSupport
- func (x *CodeActionClientCapabilities) GetDynamicRegistration() bool
- func (x *CodeActionClientCapabilities) GetIsPreferredSupport() bool
- func (*CodeActionClientCapabilities) ProtoMessage()
- func (x *CodeActionClientCapabilities) ProtoReflect() protoreflect.Message
- func (x *CodeActionClientCapabilities) Reset()
- func (x *CodeActionClientCapabilities) String() string
- type CodeActionClientCapabilities_CodeActionLiteralSupport
- func (*CodeActionClientCapabilities_CodeActionLiteralSupport) Descriptor() ([]byte, []int)deprecated
- func (x *CodeActionClientCapabilities_CodeActionLiteralSupport) GetCodeActionKind() *CodeActionClientCapabilities_CodeActionLiteralSupport_CodeActionKind
- func (*CodeActionClientCapabilities_CodeActionLiteralSupport) ProtoMessage()
- func (x *CodeActionClientCapabilities_CodeActionLiteralSupport) ProtoReflect() protoreflect.Message
- func (x *CodeActionClientCapabilities_CodeActionLiteralSupport) Reset()
- func (x *CodeActionClientCapabilities_CodeActionLiteralSupport) String() string
- type CodeActionClientCapabilities_CodeActionLiteralSupport_CodeActionKind
- func (*CodeActionClientCapabilities_CodeActionLiteralSupport_CodeActionKind) Descriptor() ([]byte, []int)deprecated
- func (x *CodeActionClientCapabilities_CodeActionLiteralSupport_CodeActionKind) GetValueSet() []*CodeActionClientCapabilities_CodeActionLiteralSupport_CodeActionKind
- func (*CodeActionClientCapabilities_CodeActionLiteralSupport_CodeActionKind) ProtoMessage()
- func (x *CodeActionClientCapabilities_CodeActionLiteralSupport_CodeActionKind) ProtoReflect() protoreflect.Message
- func (x *CodeActionClientCapabilities_CodeActionLiteralSupport_CodeActionKind) Reset()
- func (x *CodeActionClientCapabilities_CodeActionLiteralSupport_CodeActionKind) String() string
- type CodeActionContext
- func (*CodeActionContext) Descriptor() ([]byte, []int)deprecated
- func (x *CodeActionContext) GetDiagnostics() []*protocol.Diagnostic
- func (x *CodeActionContext) GetOnly() []CodeActionKind
- func (*CodeActionContext) ProtoMessage()
- func (x *CodeActionContext) ProtoReflect() protoreflect.Message
- func (x *CodeActionContext) Reset()
- func (x *CodeActionContext) String() string
- type CodeActionKind
- func (CodeActionKind) Descriptor() protoreflect.EnumDescriptor
- func (x CodeActionKind) Enum() *CodeActionKind
- func (CodeActionKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x CodeActionKind) Number() protoreflect.EnumNumber
- func (x CodeActionKind) String() string
- func (CodeActionKind) Type() protoreflect.EnumType
- type CodeActionOptions
- func (*CodeActionOptions) Descriptor() ([]byte, []int)deprecated
- func (x *CodeActionOptions) GetCodeActionKinds() []CodeActionKind
- func (x *CodeActionOptions) GetWorkDoneProgressOptions() *protocol.WorkDoneProgressOptions
- func (*CodeActionOptions) ProtoMessage()
- func (x *CodeActionOptions) ProtoReflect() protoreflect.Message
- func (x *CodeActionOptions) Reset()
- func (x *CodeActionOptions) String() string
- type CodeActionRegistrationOptions
- func (*CodeActionRegistrationOptions) Descriptor() ([]byte, []int)deprecated
- func (x *CodeActionRegistrationOptions) GetCodeActionOptions() *CodeActionOptions
- func (x *CodeActionRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
- func (*CodeActionRegistrationOptions) ProtoMessage()
- func (x *CodeActionRegistrationOptions) ProtoReflect() protoreflect.Message
- func (x *CodeActionRegistrationOptions) Reset()
- func (x *CodeActionRegistrationOptions) String() string
- type CodeActionRequest
- func (*CodeActionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CodeActionRequest) GetContext() *CodeActionContext
- func (x *CodeActionRequest) GetPartialResultParams() *PartialResultParams
- func (x *CodeActionRequest) GetRange() *protocol.Range
- func (x *CodeActionRequest) GetTextDocument() *protocol.TextDocumentIdentifier
- func (x *CodeActionRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
- func (*CodeActionRequest) ProtoMessage()
- func (x *CodeActionRequest) ProtoReflect() protoreflect.Message
- func (x *CodeActionRequest) Reset()
- func (x *CodeActionRequest) String() string
- type CodeActionResponse
- func (*CodeActionResponse) Descriptor() ([]byte, []int)deprecated
- func (m *CodeActionResponse) GetCodeActionResponse() isCodeActionResponse_CodeActionResponse
- func (x *CodeActionResponse) GetError() *protocol.Error
- func (x *CodeActionResponse) GetPartialResult() *CodeActionResponse_PartialResult
- func (x *CodeActionResponse) GetResult() *CodeActionResponse_Result
- func (*CodeActionResponse) ProtoMessage()
- func (x *CodeActionResponse) ProtoReflect() protoreflect.Message
- func (x *CodeActionResponse) Reset()
- func (x *CodeActionResponse) String() string
- type CodeActionResponse_Error
- type CodeActionResponse_PartialResult
- func (*CodeActionResponse_PartialResult) Descriptor() ([]byte, []int)deprecated
- func (x *CodeActionResponse_PartialResult) GetCodeActions() []*CodeAction
- func (x *CodeActionResponse_PartialResult) GetCommands() []*protocol.Command
- func (*CodeActionResponse_PartialResult) ProtoMessage()
- func (x *CodeActionResponse_PartialResult) ProtoReflect() protoreflect.Message
- func (x *CodeActionResponse_PartialResult) Reset()
- func (x *CodeActionResponse_PartialResult) String() string
- type CodeActionResponse_PartialResult_
- type CodeActionResponse_Result
- func (*CodeActionResponse_Result) Descriptor() ([]byte, []int)deprecated
- func (x *CodeActionResponse_Result) GetCodeActions() []*CodeAction
- func (x *CodeActionResponse_Result) GetCommands() []*protocol.Command
- func (x *CodeActionResponse_Result) GetEmpty() _struct.NullValue
- func (*CodeActionResponse_Result) ProtoMessage()
- func (x *CodeActionResponse_Result) ProtoReflect() protoreflect.Message
- func (x *CodeActionResponse_Result) Reset()
- func (x *CodeActionResponse_Result) String() string
- type CodeActionResponse_Result_
- type CodeLens
- func (*CodeLens) Descriptor() ([]byte, []int)deprecated
- func (x *CodeLens) GetCommand() *protocol.Command
- func (x *CodeLens) GetData() *any.Any
- func (x *CodeLens) GetRange() *protocol.Range
- func (*CodeLens) ProtoMessage()
- func (x *CodeLens) ProtoReflect() protoreflect.Message
- func (x *CodeLens) Reset()
- func (x *CodeLens) String() string
- type CodeLensClientCapabilities
- func (*CodeLensClientCapabilities) Descriptor() ([]byte, []int)deprecated
- func (x *CodeLensClientCapabilities) GetDynamicRegistration() bool
- func (*CodeLensClientCapabilities) ProtoMessage()
- func (x *CodeLensClientCapabilities) ProtoReflect() protoreflect.Message
- func (x *CodeLensClientCapabilities) Reset()
- func (x *CodeLensClientCapabilities) String() string
- type CodeLensOptions
- func (*CodeLensOptions) Descriptor() ([]byte, []int)deprecated
- func (x *CodeLensOptions) GetResolveProvider() bool
- func (x *CodeLensOptions) GetWorkDoneProgressOptions() *protocol.WorkDoneProgressOptions
- func (*CodeLensOptions) ProtoMessage()
- func (x *CodeLensOptions) ProtoReflect() protoreflect.Message
- func (x *CodeLensOptions) Reset()
- func (x *CodeLensOptions) String() string
- type CodeLensRegistrationOptions
- func (*CodeLensRegistrationOptions) Descriptor() ([]byte, []int)deprecated
- func (x *CodeLensRegistrationOptions) GetCodeLensOptions() *CodeLensOptions
- func (x *CodeLensRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
- func (*CodeLensRegistrationOptions) ProtoMessage()
- func (x *CodeLensRegistrationOptions) ProtoReflect() protoreflect.Message
- func (x *CodeLensRegistrationOptions) Reset()
- func (x *CodeLensRegistrationOptions) String() string
- type CodeLensRequest
- func (*CodeLensRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CodeLensRequest) GetPartialResultParams() *PartialResultParams
- func (x *CodeLensRequest) GetTextDocument() *protocol.TextDocumentIdentifier
- func (x *CodeLensRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
- func (*CodeLensRequest) ProtoMessage()
- func (x *CodeLensRequest) ProtoReflect() protoreflect.Message
- func (x *CodeLensRequest) Reset()
- func (x *CodeLensRequest) String() string
- type CodeLensResolveRequest
- func (*CodeLensResolveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CodeLensResolveRequest) GetCodeLens() *CodeLens
- func (*CodeLensResolveRequest) ProtoMessage()
- func (x *CodeLensResolveRequest) ProtoReflect() protoreflect.Message
- func (x *CodeLensResolveRequest) Reset()
- func (x *CodeLensResolveRequest) String() string
- type CodeLensResolveResponse
- func (*CodeLensResolveResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CodeLensResolveResponse) GetCodeLens() *CodeLens
- func (m *CodeLensResolveResponse) GetCodeLensResolveResponse() isCodeLensResolveResponse_CodeLensResolveResponse
- func (x *CodeLensResolveResponse) GetError() *protocol.Error
- func (*CodeLensResolveResponse) ProtoMessage()
- func (x *CodeLensResolveResponse) ProtoReflect() protoreflect.Message
- func (x *CodeLensResolveResponse) Reset()
- func (x *CodeLensResolveResponse) String() string
- type CodeLensResolveResponse_CodeLens
- type CodeLensResolveResponse_Error
- type CodeLensResponse
- func (*CodeLensResponse) Descriptor() ([]byte, []int)deprecated
- func (m *CodeLensResponse) GetCodeLensResponse() isCodeLensResponse_CodeLensResponse
- func (x *CodeLensResponse) GetError() *protocol.Error
- func (x *CodeLensResponse) GetPartialResult() *CodeLensResponse_PartialResult
- func (x *CodeLensResponse) GetResult() *CodeLensResponse_Result
- func (*CodeLensResponse) ProtoMessage()
- func (x *CodeLensResponse) ProtoReflect() protoreflect.Message
- func (x *CodeLensResponse) Reset()
- func (x *CodeLensResponse) String() string
- type CodeLensResponse_Error
- type CodeLensResponse_PartialResult
- func (*CodeLensResponse_PartialResult) Descriptor() ([]byte, []int)deprecated
- func (x *CodeLensResponse_PartialResult) GetCodeLens() []*CodeLens
- func (*CodeLensResponse_PartialResult) ProtoMessage()
- func (x *CodeLensResponse_PartialResult) ProtoReflect() protoreflect.Message
- func (x *CodeLensResponse_PartialResult) Reset()
- func (x *CodeLensResponse_PartialResult) String() string
- type CodeLensResponse_PartialResult_
- type CodeLensResponse_Result
- func (*CodeLensResponse_Result) Descriptor() ([]byte, []int)deprecated
- func (x *CodeLensResponse_Result) GetCodeLens() []*CodeLens
- func (x *CodeLensResponse_Result) GetEmpty() _struct.NullValue
- func (*CodeLensResponse_Result) ProtoMessage()
- func (x *CodeLensResponse_Result) ProtoReflect() protoreflect.Message
- func (x *CodeLensResponse_Result) Reset()
- func (x *CodeLensResponse_Result) String() string
- type CodeLensResponse_Result_
- type Color
- func (*Color) Descriptor() ([]byte, []int)deprecated
- func (x *Color) GetAlpha() int32
- func (x *Color) GetBlue() int32
- func (x *Color) GetGreen() int32
- func (x *Color) GetRed() int32
- func (*Color) ProtoMessage()
- func (x *Color) ProtoReflect() protoreflect.Message
- func (x *Color) Reset()
- func (x *Color) String() string
- type ColorInformation
- func (*ColorInformation) Descriptor() ([]byte, []int)deprecated
- func (x *ColorInformation) GetColor() *Color
- func (x *ColorInformation) GetRange() *protocol.Range
- func (*ColorInformation) ProtoMessage()
- func (x *ColorInformation) ProtoReflect() protoreflect.Message
- func (x *ColorInformation) Reset()
- func (x *ColorInformation) String() string
- type ColorPresentation
- func (*ColorPresentation) Descriptor() ([]byte, []int)deprecated
- func (x *ColorPresentation) GetAdditionalTextEdits() []*protocol.TextEdit
- func (x *ColorPresentation) GetLabel() string
- func (x *ColorPresentation) GetTextEdit() *protocol.TextEdit
- func (*ColorPresentation) ProtoMessage()
- func (x *ColorPresentation) ProtoReflect() protoreflect.Message
- func (x *ColorPresentation) Reset()
- func (x *ColorPresentation) String() string
- type ColorPresentationRequest
- func (*ColorPresentationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ColorPresentationRequest) GetColor() *Color
- func (x *ColorPresentationRequest) GetPartialResultParams() *PartialResultParams
- func (x *ColorPresentationRequest) GetRange() *protocol.Range
- func (x *ColorPresentationRequest) GetTextDocument() *protocol.TextDocumentIdentifier
- func (x *ColorPresentationRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
- func (*ColorPresentationRequest) ProtoMessage()
- func (x *ColorPresentationRequest) ProtoReflect() protoreflect.Message
- func (x *ColorPresentationRequest) Reset()
- func (x *ColorPresentationRequest) String() string
- type ColorPresentationResponse
- func (*ColorPresentationResponse) Descriptor() ([]byte, []int)deprecated
- func (m *ColorPresentationResponse) GetColorPresentationResponse() isColorPresentationResponse_ColorPresentationResponse
- func (x *ColorPresentationResponse) GetError() *protocol.Error
- func (x *ColorPresentationResponse) GetPartialResult() *ColorPresentationResponse_PartialResult
- func (x *ColorPresentationResponse) GetResult() *ColorPresentationResponse_Result
- func (*ColorPresentationResponse) ProtoMessage()
- func (x *ColorPresentationResponse) ProtoReflect() protoreflect.Message
- func (x *ColorPresentationResponse) Reset()
- func (x *ColorPresentationResponse) String() string
- type ColorPresentationResponse_Error
- type ColorPresentationResponse_PartialResult
- func (*ColorPresentationResponse_PartialResult) Descriptor() ([]byte, []int)deprecated
- func (x *ColorPresentationResponse_PartialResult) GetColorPresentations() []*ColorPresentation
- func (*ColorPresentationResponse_PartialResult) ProtoMessage()
- func (x *ColorPresentationResponse_PartialResult) ProtoReflect() protoreflect.Message
- func (x *ColorPresentationResponse_PartialResult) Reset()
- func (x *ColorPresentationResponse_PartialResult) String() string
- type ColorPresentationResponse_PartialResult_
- type ColorPresentationResponse_Result
- func (*ColorPresentationResponse_Result) Descriptor() ([]byte, []int)deprecated
- func (x *ColorPresentationResponse_Result) GetColorPresentations() []*ColorPresentation
- func (*ColorPresentationResponse_Result) ProtoMessage()
- func (x *ColorPresentationResponse_Result) ProtoReflect() protoreflect.Message
- func (x *ColorPresentationResponse_Result) Reset()
- func (x *ColorPresentationResponse_Result) String() string
- type ColorPresentationResponse_Result_
- type CompletionClientCapabilities
- func (*CompletionClientCapabilities) Descriptor() ([]byte, []int)deprecated
- func (x *CompletionClientCapabilities) GetCompletionItem() *CompletionClientCapabilities_CompletionItem
- func (x *CompletionClientCapabilities) GetCompletionItemKind() *CompletionClientCapabilities_CompletionItemKind
- func (x *CompletionClientCapabilities) GetContextSupport() bool
- func (x *CompletionClientCapabilities) GetDynamicRegistration() bool
- func (*CompletionClientCapabilities) ProtoMessage()
- func (x *CompletionClientCapabilities) ProtoReflect() protoreflect.Message
- func (x *CompletionClientCapabilities) Reset()
- func (x *CompletionClientCapabilities) String() string
- type CompletionClientCapabilities_CompletionItem
- func (*CompletionClientCapabilities_CompletionItem) Descriptor() ([]byte, []int)deprecated
- func (x *CompletionClientCapabilities_CompletionItem) GetCommitCharactersSupport() bool
- func (x *CompletionClientCapabilities_CompletionItem) GetDeprecatedSupport() bool
- func (x *CompletionClientCapabilities_CompletionItem) GetDocumentationFormat() []protocol.MarkupKind
- func (x *CompletionClientCapabilities_CompletionItem) GetInsertReplaceSupport() bool
- func (x *CompletionClientCapabilities_CompletionItem) GetPreselectSupport() bool
- func (x *CompletionClientCapabilities_CompletionItem) GetResolveAdditionalTextEditsSupport() bool
- func (x *CompletionClientCapabilities_CompletionItem) GetSnippetSupport() bool
- func (x *CompletionClientCapabilities_CompletionItem) GetTagSupport() *CompletionClientCapabilities_CompletionItem_TagSupport
- func (*CompletionClientCapabilities_CompletionItem) ProtoMessage()
- func (x *CompletionClientCapabilities_CompletionItem) ProtoReflect() protoreflect.Message
- func (x *CompletionClientCapabilities_CompletionItem) Reset()
- func (x *CompletionClientCapabilities_CompletionItem) String() string
- type CompletionClientCapabilities_CompletionItemKind
- func (*CompletionClientCapabilities_CompletionItemKind) Descriptor() ([]byte, []int)deprecated
- func (x *CompletionClientCapabilities_CompletionItemKind) GetValueSet() []*CompletionClientCapabilities_CompletionItemKind
- func (*CompletionClientCapabilities_CompletionItemKind) ProtoMessage()
- func (x *CompletionClientCapabilities_CompletionItemKind) ProtoReflect() protoreflect.Message
- func (x *CompletionClientCapabilities_CompletionItemKind) Reset()
- func (x *CompletionClientCapabilities_CompletionItemKind) String() string
- type CompletionClientCapabilities_CompletionItem_TagSupport
- func (*CompletionClientCapabilities_CompletionItem_TagSupport) Descriptor() ([]byte, []int)deprecated
- func (x *CompletionClientCapabilities_CompletionItem_TagSupport) GetValueSet() []CompletionItemTag
- func (*CompletionClientCapabilities_CompletionItem_TagSupport) ProtoMessage()
- func (x *CompletionClientCapabilities_CompletionItem_TagSupport) ProtoReflect() protoreflect.Message
- func (x *CompletionClientCapabilities_CompletionItem_TagSupport) Reset()
- func (x *CompletionClientCapabilities_CompletionItem_TagSupport) String() string
- type CompletionContext
- func (*CompletionContext) Descriptor() ([]byte, []int)deprecated
- func (x *CompletionContext) GetTriggerCharacter() *wrappers.StringValue
- func (x *CompletionContext) GetTriggerKind() CompletionTriggerKind
- func (*CompletionContext) ProtoMessage()
- func (x *CompletionContext) ProtoReflect() protoreflect.Message
- func (x *CompletionContext) Reset()
- func (x *CompletionContext) String() string
- type CompletionItem
- func (*CompletionItem) Descriptor() ([]byte, []int)deprecated
- func (x *CompletionItem) GetAdditionalTextEdits() []*protocol.TextEdit
- func (x *CompletionItem) GetCommand() *protocol.Command
- func (x *CompletionItem) GetCommitCharacters() []string
- func (x *CompletionItem) GetContent() string
- func (x *CompletionItem) GetData() *any.Any
- func (x *CompletionItem) GetDeprecated() booldeprecated
- func (x *CompletionItem) GetDetail() *wrappers.StringValue
- func (m *CompletionItem) GetDocumentation() isCompletionItem_Documentation
- func (x *CompletionItem) GetFilterText() *wrappers.StringValue
- func (x *CompletionItem) GetInsertText() *wrappers.StringValue
- func (x *CompletionItem) GetInsertTextFormat() InsertTextFormat
- func (x *CompletionItem) GetKind() CompletionItemKind
- func (x *CompletionItem) GetLabel() string
- func (x *CompletionItem) GetMarkupContent() *protocol.MarkupContent
- func (x *CompletionItem) GetPreselect() bool
- func (x *CompletionItem) GetSortText() *wrappers.StringValue
- func (x *CompletionItem) GetTags() []CompletionItemTag
- func (x *CompletionItem) GetTextEdit() *protocol.TextEdit
- func (*CompletionItem) ProtoMessage()
- func (x *CompletionItem) ProtoReflect() protoreflect.Message
- func (x *CompletionItem) Reset()
- func (x *CompletionItem) String() string
- type CompletionItemKind
- func (CompletionItemKind) Descriptor() protoreflect.EnumDescriptor
- func (x CompletionItemKind) Enum() *CompletionItemKind
- func (CompletionItemKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x CompletionItemKind) Number() protoreflect.EnumNumber
- func (x CompletionItemKind) String() string
- func (CompletionItemKind) Type() protoreflect.EnumType
- type CompletionItemResolveRequest
- func (*CompletionItemResolveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CompletionItemResolveRequest) GetCompletionItems() *CompletionItems
- func (*CompletionItemResolveRequest) ProtoMessage()
- func (x *CompletionItemResolveRequest) ProtoReflect() protoreflect.Message
- func (x *CompletionItemResolveRequest) Reset()
- func (x *CompletionItemResolveRequest) String() string
- type CompletionItemResolveResponse
- func (*CompletionItemResolveResponse) Descriptor() ([]byte, []int)deprecated
- func (m *CompletionItemResolveResponse) GetCompletionItemResolveResponse() isCompletionItemResolveResponse_CompletionItemResolveResponse
- func (x *CompletionItemResolveResponse) GetCompletionItems() *CompletionItems
- func (x *CompletionItemResolveResponse) GetError() *protocol.Error
- func (*CompletionItemResolveResponse) ProtoMessage()
- func (x *CompletionItemResolveResponse) ProtoReflect() protoreflect.Message
- func (x *CompletionItemResolveResponse) Reset()
- func (x *CompletionItemResolveResponse) String() string
- type CompletionItemResolveResponse_CompletionItems
- type CompletionItemResolveResponse_Error
- type CompletionItemTag
- func (CompletionItemTag) Descriptor() protoreflect.EnumDescriptor
- func (x CompletionItemTag) Enum() *CompletionItemTag
- func (CompletionItemTag) EnumDescriptor() ([]byte, []int)deprecated
- func (x CompletionItemTag) Number() protoreflect.EnumNumber
- func (x CompletionItemTag) String() string
- func (CompletionItemTag) Type() protoreflect.EnumType
- type CompletionItem_Content
- type CompletionItem_MarkupContent
- type CompletionItems
- func (*CompletionItems) Descriptor() ([]byte, []int)deprecated
- func (x *CompletionItems) GetCompletionItems() []*CompletionItems
- func (*CompletionItems) ProtoMessage()
- func (x *CompletionItems) ProtoReflect() protoreflect.Message
- func (x *CompletionItems) Reset()
- func (x *CompletionItems) String() string
- type CompletionList
- func (*CompletionList) Descriptor() ([]byte, []int)deprecated
- func (x *CompletionList) GetIsIncomplete() bool
- func (x *CompletionList) GetItems() []*CompletionItem
- func (*CompletionList) ProtoMessage()
- func (x *CompletionList) ProtoReflect() protoreflect.Message
- func (x *CompletionList) Reset()
- func (x *CompletionList) String() string
- type CompletionOptions
- func (*CompletionOptions) Descriptor() ([]byte, []int)deprecated
- func (x *CompletionOptions) GetAllCommitCharacters() []string
- func (x *CompletionOptions) GetResolveProvider() bool
- func (x *CompletionOptions) GetTriggerCharacters() []string
- func (x *CompletionOptions) GetWorkDoneProgressOptions() *protocol.WorkDoneProgressOptions
- func (*CompletionOptions) ProtoMessage()
- func (x *CompletionOptions) ProtoReflect() protoreflect.Message
- func (x *CompletionOptions) Reset()
- func (x *CompletionOptions) String() string
- type CompletionRegistrationOptions
- func (*CompletionRegistrationOptions) Descriptor() ([]byte, []int)deprecated
- func (x *CompletionRegistrationOptions) GetCompletionOptions() *CompletionOptions
- func (x *CompletionRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
- func (*CompletionRegistrationOptions) ProtoMessage()
- func (x *CompletionRegistrationOptions) ProtoReflect() protoreflect.Message
- func (x *CompletionRegistrationOptions) Reset()
- func (x *CompletionRegistrationOptions) String() string
- type CompletionRequest
- func (*CompletionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CompletionRequest) GetContext() *CompletionContext
- func (x *CompletionRequest) GetPartialResultParams() *PartialResultParams
- func (x *CompletionRequest) GetTextDocumentPositionParams() *protocol.TextDocumentPositionParams
- func (x *CompletionRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
- func (*CompletionRequest) ProtoMessage()
- func (x *CompletionRequest) ProtoReflect() protoreflect.Message
- func (x *CompletionRequest) Reset()
- func (x *CompletionRequest) String() string
- type CompletionResponse
- func (*CompletionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CompletionResponse) GetCompletionItems() *CompletionItems
- func (x *CompletionResponse) GetCompletionList() *CompletionList
- func (m *CompletionResponse) GetCompletionResponse() isCompletionResponse_CompletionResponse
- func (x *CompletionResponse) GetEmpty() _struct.NullValue
- func (x *CompletionResponse) GetError() *protocol.Error
- func (*CompletionResponse) ProtoMessage()
- func (x *CompletionResponse) ProtoReflect() protoreflect.Message
- func (x *CompletionResponse) Reset()
- func (x *CompletionResponse) String() string
- type CompletionResponse_CompletionItems
- type CompletionResponse_CompletionList
- type CompletionResponse_Empty
- type CompletionResponse_Error
- type CompletionTriggerKind
- func (CompletionTriggerKind) Descriptor() protoreflect.EnumDescriptor
- func (x CompletionTriggerKind) Enum() *CompletionTriggerKind
- func (CompletionTriggerKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x CompletionTriggerKind) Number() protoreflect.EnumNumber
- func (x CompletionTriggerKind) String() string
- func (CompletionTriggerKind) Type() protoreflect.EnumType
- type ConfigurationItem
- func (*ConfigurationItem) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigurationItem) GetScopeUri() *uri.DocumentURI
- func (x *ConfigurationItem) GetSection() *wrappers.StringValue
- func (*ConfigurationItem) ProtoMessage()
- func (x *ConfigurationItem) ProtoReflect() protoreflect.Message
- func (x *ConfigurationItem) Reset()
- func (x *ConfigurationItem) String() string
- type ConfigurationRequest
- func (*ConfigurationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigurationRequest) GetItems() []*ConfigurationItem
- func (*ConfigurationRequest) ProtoMessage()
- func (x *ConfigurationRequest) ProtoReflect() protoreflect.Message
- func (x *ConfigurationRequest) Reset()
- func (x *ConfigurationRequest) String() string
- type ConfigurationResponse
- func (*ConfigurationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigurationResponse) GetAnys() *ConfigurationResponse_Anys
- func (m *ConfigurationResponse) GetConfigurationResponse() isConfigurationResponse_ConfigurationResponse
- func (x *ConfigurationResponse) GetError() *protocol.Error
- func (*ConfigurationResponse) ProtoMessage()
- func (x *ConfigurationResponse) ProtoReflect() protoreflect.Message
- func (x *ConfigurationResponse) Reset()
- func (x *ConfigurationResponse) String() string
- type ConfigurationResponse_Anys
- func (*ConfigurationResponse_Anys) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigurationResponse_Anys) GetAnys() []*any.Any
- func (*ConfigurationResponse_Anys) ProtoMessage()
- func (x *ConfigurationResponse_Anys) ProtoReflect() protoreflect.Message
- func (x *ConfigurationResponse_Anys) Reset()
- func (x *ConfigurationResponse_Anys) String() string
- type ConfigurationResponse_Anys_
- type ConfigurationResponse_Error
- type DeclarationClientCapabilities
- func (*DeclarationClientCapabilities) Descriptor() ([]byte, []int)deprecated
- func (x *DeclarationClientCapabilities) GetDynamicRegistration() bool
- func (x *DeclarationClientCapabilities) GetLinkSupport() bool
- func (*DeclarationClientCapabilities) ProtoMessage()
- func (x *DeclarationClientCapabilities) ProtoReflect() protoreflect.Message
- func (x *DeclarationClientCapabilities) Reset()
- func (x *DeclarationClientCapabilities) String() string
- type DeclarationOptions
- func (*DeclarationOptions) Descriptor() ([]byte, []int)deprecated
- func (x *DeclarationOptions) GetWorkDoneProgressOptions() *protocol.WorkDoneProgressOptions
- func (*DeclarationOptions) ProtoMessage()
- func (x *DeclarationOptions) ProtoReflect() protoreflect.Message
- func (x *DeclarationOptions) Reset()
- func (x *DeclarationOptions) String() string
- type DeclarationRegistrationOptions
- func (*DeclarationRegistrationOptions) Descriptor() ([]byte, []int)deprecated
- func (x *DeclarationRegistrationOptions) GetDeclarationOptions() *DeclarationOptions
- func (x *DeclarationRegistrationOptions) GetStaticRegistrationOptions() *protocol.StaticRegistrationOptions
- func (x *DeclarationRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
- func (*DeclarationRegistrationOptions) ProtoMessage()
- func (x *DeclarationRegistrationOptions) ProtoReflect() protoreflect.Message
- func (x *DeclarationRegistrationOptions) Reset()
- func (x *DeclarationRegistrationOptions) String() string
- type DeclarationRequest
- func (*DeclarationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeclarationRequest) GetPartialResultParams() *PartialResultParams
- func (x *DeclarationRequest) GetTextDocumentPositionParams() *protocol.TextDocumentPositionParams
- func (x *DeclarationRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
- func (*DeclarationRequest) ProtoMessage()
- func (x *DeclarationRequest) ProtoReflect() protoreflect.Message
- func (x *DeclarationRequest) Reset()
- func (x *DeclarationRequest) String() string
- type DeclarationResponse
- func (*DeclarationResponse) Descriptor() ([]byte, []int)deprecated
- func (m *DeclarationResponse) GetDeclarationResponse() isDeclarationResponse_DeclarationResponse
- func (x *DeclarationResponse) GetError() *protocol.Error
- func (x *DeclarationResponse) GetPartialResult() *DeclarationResponse_PartialResult
- func (x *DeclarationResponse) GetResult() *DeclarationResponse_Result
- func (*DeclarationResponse) ProtoMessage()
- func (x *DeclarationResponse) ProtoReflect() protoreflect.Message
- func (x *DeclarationResponse) Reset()
- func (x *DeclarationResponse) String() string
- type DeclarationResponse_Error
- type DeclarationResponse_PartialResult
- func (*DeclarationResponse_PartialResult) Descriptor() ([]byte, []int)deprecated
- func (x *DeclarationResponse_PartialResult) GetLocationLinks() *LocationLinks
- func (x *DeclarationResponse_PartialResult) GetLocations() *Locations
- func (*DeclarationResponse_PartialResult) ProtoMessage()
- func (x *DeclarationResponse_PartialResult) ProtoReflect() protoreflect.Message
- func (x *DeclarationResponse_PartialResult) Reset()
- func (x *DeclarationResponse_PartialResult) String() string
- type DeclarationResponse_PartialResult_
- type DeclarationResponse_Result
- func (*DeclarationResponse_Result) Descriptor() ([]byte, []int)deprecated
- func (x *DeclarationResponse_Result) GetEmpty() _struct.NullValue
- func (x *DeclarationResponse_Result) GetLocation() *protocol.Location
- func (x *DeclarationResponse_Result) GetLocationLinks() *LocationLinks
- func (x *DeclarationResponse_Result) GetLocations() *Locations
- func (*DeclarationResponse_Result) ProtoMessage()
- func (x *DeclarationResponse_Result) ProtoReflect() protoreflect.Message
- func (x *DeclarationResponse_Result) Reset()
- func (x *DeclarationResponse_Result) String() string
- type DeclarationResponse_Result_
- type DefinitionClientCapabilities
- func (*DefinitionClientCapabilities) Descriptor() ([]byte, []int)deprecated
- func (x *DefinitionClientCapabilities) GetDynamicRegistration() bool
- func (x *DefinitionClientCapabilities) GetLinkSupport() bool
- func (*DefinitionClientCapabilities) ProtoMessage()
- func (x *DefinitionClientCapabilities) ProtoReflect() protoreflect.Message
- func (x *DefinitionClientCapabilities) Reset()
- func (x *DefinitionClientCapabilities) String() string
- type DefinitionOptions
- func (*DefinitionOptions) Descriptor() ([]byte, []int)deprecated
- func (x *DefinitionOptions) GetWorkDoneProgressOptions() *protocol.WorkDoneProgressOptions
- func (*DefinitionOptions) ProtoMessage()
- func (x *DefinitionOptions) ProtoReflect() protoreflect.Message
- func (x *DefinitionOptions) Reset()
- func (x *DefinitionOptions) String() string
- type DefinitionRegistrationOptions
- func (*DefinitionRegistrationOptions) Descriptor() ([]byte, []int)deprecated
- func (x *DefinitionRegistrationOptions) GetDefinitionOptions() *DefinitionOptions
- func (x *DefinitionRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
- func (*DefinitionRegistrationOptions) ProtoMessage()
- func (x *DefinitionRegistrationOptions) ProtoReflect() protoreflect.Message
- func (x *DefinitionRegistrationOptions) Reset()
- func (x *DefinitionRegistrationOptions) String() string
- type DefinitionRequest
- func (*DefinitionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DefinitionRequest) GetPartialResultParams() *PartialResultParams
- func (x *DefinitionRequest) GetTextDocumentPositionParams() *protocol.TextDocumentPositionParams
- func (x *DefinitionRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
- func (*DefinitionRequest) ProtoMessage()
- func (x *DefinitionRequest) ProtoReflect() protoreflect.Message
- func (x *DefinitionRequest) Reset()
- func (x *DefinitionRequest) String() string
- type DefinitionResponse
- func (*DefinitionResponse) Descriptor() ([]byte, []int)deprecated
- func (m *DefinitionResponse) GetDefinitionResponse() isDefinitionResponse_DefinitionResponse
- func (x *DefinitionResponse) GetError() *protocol.Error
- func (x *DefinitionResponse) GetPartialResult() *DefinitionResponse_PartialResult
- func (x *DefinitionResponse) GetResult() *DefinitionResponse_Result
- func (*DefinitionResponse) ProtoMessage()
- func (x *DefinitionResponse) ProtoReflect() protoreflect.Message
- func (x *DefinitionResponse) Reset()
- func (x *DefinitionResponse) String() string
- type DefinitionResponse_Error
- type DefinitionResponse_PartialResult
- func (*DefinitionResponse_PartialResult) Descriptor() ([]byte, []int)deprecated
- func (x *DefinitionResponse_PartialResult) GetLocationLinks() *LocationLinks
- func (x *DefinitionResponse_PartialResult) GetLocations() *Locations
- func (*DefinitionResponse_PartialResult) ProtoMessage()
- func (x *DefinitionResponse_PartialResult) ProtoReflect() protoreflect.Message
- func (x *DefinitionResponse_PartialResult) Reset()
- func (x *DefinitionResponse_PartialResult) String() string
- type DefinitionResponse_PartialResult_
- type DefinitionResponse_Result
- func (*DefinitionResponse_Result) Descriptor() ([]byte, []int)deprecated
- func (x *DefinitionResponse_Result) GetEmpty() _struct.NullValue
- func (x *DefinitionResponse_Result) GetLocation() *protocol.Location
- func (x *DefinitionResponse_Result) GetLocationLinks() *LocationLinks
- func (x *DefinitionResponse_Result) GetLocations() *Locations
- func (*DefinitionResponse_Result) ProtoMessage()
- func (x *DefinitionResponse_Result) ProtoReflect() protoreflect.Message
- func (x *DefinitionResponse_Result) Reset()
- func (x *DefinitionResponse_Result) String() string
- type DefinitionResponse_Result_
- type DidChangeConfigurationClientCapabilities
- func (*DidChangeConfigurationClientCapabilities) Descriptor() ([]byte, []int)deprecated
- func (x *DidChangeConfigurationClientCapabilities) GetDynamicRegistration() bool
- func (*DidChangeConfigurationClientCapabilities) ProtoMessage()
- func (x *DidChangeConfigurationClientCapabilities) ProtoReflect() protoreflect.Message
- func (x *DidChangeConfigurationClientCapabilities) Reset()
- func (x *DidChangeConfigurationClientCapabilities) String() string
- type DidChangeConfigurationRequest
- func (*DidChangeConfigurationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DidChangeConfigurationRequest) GetSettings() *any.Any
- func (*DidChangeConfigurationRequest) ProtoMessage()
- func (x *DidChangeConfigurationRequest) ProtoReflect() protoreflect.Message
- func (x *DidChangeConfigurationRequest) Reset()
- func (x *DidChangeConfigurationRequest) String() string
- type DidChangeTextDocumentRequest
- func (*DidChangeTextDocumentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DidChangeTextDocumentRequest) GetContentChanges() []*TextDocumentContentChangeEvent
- func (x *DidChangeTextDocumentRequest) GetTextDocument() *protocol.VersionedTextDocumentIdentifier
- func (*DidChangeTextDocumentRequest) ProtoMessage()
- func (x *DidChangeTextDocumentRequest) ProtoReflect() protoreflect.Message
- func (x *DidChangeTextDocumentRequest) Reset()
- func (x *DidChangeTextDocumentRequest) String() string
- type DidChangeWatchedFilesClientCapabilities
- func (*DidChangeWatchedFilesClientCapabilities) Descriptor() ([]byte, []int)deprecated
- func (x *DidChangeWatchedFilesClientCapabilities) GetDynamicRegistration() bool
- func (*DidChangeWatchedFilesClientCapabilities) ProtoMessage()
- func (x *DidChangeWatchedFilesClientCapabilities) ProtoReflect() protoreflect.Message
- func (x *DidChangeWatchedFilesClientCapabilities) Reset()
- func (x *DidChangeWatchedFilesClientCapabilities) String() string
- type DidChangeWatchedFilesRegistrationOptions
- func (*DidChangeWatchedFilesRegistrationOptions) Descriptor() ([]byte, []int)deprecated
- func (x *DidChangeWatchedFilesRegistrationOptions) GetWatchers() []*FileSystemWatcher
- func (*DidChangeWatchedFilesRegistrationOptions) ProtoMessage()
- func (x *DidChangeWatchedFilesRegistrationOptions) ProtoReflect() protoreflect.Message
- func (x *DidChangeWatchedFilesRegistrationOptions) Reset()
- func (x *DidChangeWatchedFilesRegistrationOptions) String() string
- type DidChangeWatchedFilesRequest
- func (*DidChangeWatchedFilesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DidChangeWatchedFilesRequest) GetChanges() []*FileEvent
- func (*DidChangeWatchedFilesRequest) ProtoMessage()
- func (x *DidChangeWatchedFilesRequest) ProtoReflect() protoreflect.Message
- func (x *DidChangeWatchedFilesRequest) Reset()
- func (x *DidChangeWatchedFilesRequest) String() string
- type DidChangeWorkspaceFoldersRequest
- func (*DidChangeWorkspaceFoldersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DidChangeWorkspaceFoldersRequest) GetEvent() *WorkspaceFoldersChangeEvent
- func (*DidChangeWorkspaceFoldersRequest) ProtoMessage()
- func (x *DidChangeWorkspaceFoldersRequest) ProtoReflect() protoreflect.Message
- func (x *DidChangeWorkspaceFoldersRequest) Reset()
- func (x *DidChangeWorkspaceFoldersRequest) String() string
- type DidCloseTextDocumentRequest
- func (*DidCloseTextDocumentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DidCloseTextDocumentRequest) GetTextDocument() *protocol.TextDocumentIdentifier
- func (*DidCloseTextDocumentRequest) ProtoMessage()
- func (x *DidCloseTextDocumentRequest) ProtoReflect() protoreflect.Message
- func (x *DidCloseTextDocumentRequest) Reset()
- func (x *DidCloseTextDocumentRequest) String() string
- type DidOpenTextDocumentRequest
- func (*DidOpenTextDocumentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DidOpenTextDocumentRequest) GetTextDocument() *protocol.TextDocumentItem
- func (*DidOpenTextDocumentRequest) ProtoMessage()
- func (x *DidOpenTextDocumentRequest) ProtoReflect() protoreflect.Message
- func (x *DidOpenTextDocumentRequest) Reset()
- func (x *DidOpenTextDocumentRequest) String() string
- type DidSaveTextDocumentRequest
- func (*DidSaveTextDocumentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DidSaveTextDocumentRequest) GetText() *wrappers.StringValue
- func (x *DidSaveTextDocumentRequest) GetTextDocument() *protocol.TextDocumentIdentifier
- func (*DidSaveTextDocumentRequest) ProtoMessage()
- func (x *DidSaveTextDocumentRequest) ProtoReflect() protoreflect.Message
- func (x *DidSaveTextDocumentRequest) Reset()
- func (x *DidSaveTextDocumentRequest) String() string
- type DocumentColorClientCapabilities
- func (*DocumentColorClientCapabilities) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentColorClientCapabilities) GetDynamicRegistration() bool
- func (*DocumentColorClientCapabilities) ProtoMessage()
- func (x *DocumentColorClientCapabilities) ProtoReflect() protoreflect.Message
- func (x *DocumentColorClientCapabilities) Reset()
- func (x *DocumentColorClientCapabilities) String() string
- type DocumentColorOptions
- func (*DocumentColorOptions) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentColorOptions) GetWorkDoneProgressOptions() *protocol.WorkDoneProgressOptions
- func (*DocumentColorOptions) ProtoMessage()
- func (x *DocumentColorOptions) ProtoReflect() protoreflect.Message
- func (x *DocumentColorOptions) Reset()
- func (x *DocumentColorOptions) String() string
- type DocumentColorRegistrationOptions
- func (*DocumentColorRegistrationOptions) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentColorRegistrationOptions) GetDocumentColorOptions() *DocumentColorOptions
- func (x *DocumentColorRegistrationOptions) GetStaticRegistrationOptions() *protocol.StaticRegistrationOptions
- func (x *DocumentColorRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
- func (*DocumentColorRegistrationOptions) ProtoMessage()
- func (x *DocumentColorRegistrationOptions) ProtoReflect() protoreflect.Message
- func (x *DocumentColorRegistrationOptions) Reset()
- func (x *DocumentColorRegistrationOptions) String() string
- type DocumentColorRequest
- func (*DocumentColorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentColorRequest) GetPartialResultParams() *PartialResultParams
- func (x *DocumentColorRequest) GetTextDocument() *protocol.TextDocumentIdentifier
- func (x *DocumentColorRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
- func (*DocumentColorRequest) ProtoMessage()
- func (x *DocumentColorRequest) ProtoReflect() protoreflect.Message
- func (x *DocumentColorRequest) Reset()
- func (x *DocumentColorRequest) String() string
- type DocumentColorResponse
- func (*DocumentColorResponse) Descriptor() ([]byte, []int)deprecated
- func (m *DocumentColorResponse) GetDocumentColorResponse() isDocumentColorResponse_DocumentColorResponse
- func (x *DocumentColorResponse) GetError() *protocol.Error
- func (x *DocumentColorResponse) GetPartialResult() *DocumentColorResponse_PartialResult
- func (x *DocumentColorResponse) GetResult() *DocumentColorResponse_Result
- func (*DocumentColorResponse) ProtoMessage()
- func (x *DocumentColorResponse) ProtoReflect() protoreflect.Message
- func (x *DocumentColorResponse) Reset()
- func (x *DocumentColorResponse) String() string
- type DocumentColorResponse_Error
- type DocumentColorResponse_PartialResult
- func (*DocumentColorResponse_PartialResult) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentColorResponse_PartialResult) GetColorInformations() []*ColorInformation
- func (*DocumentColorResponse_PartialResult) ProtoMessage()
- func (x *DocumentColorResponse_PartialResult) ProtoReflect() protoreflect.Message
- func (x *DocumentColorResponse_PartialResult) Reset()
- func (x *DocumentColorResponse_PartialResult) String() string
- type DocumentColorResponse_PartialResult_
- type DocumentColorResponse_Result
- func (*DocumentColorResponse_Result) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentColorResponse_Result) GetColorInformations() []*ColorInformation
- func (*DocumentColorResponse_Result) ProtoMessage()
- func (x *DocumentColorResponse_Result) ProtoReflect() protoreflect.Message
- func (x *DocumentColorResponse_Result) Reset()
- func (x *DocumentColorResponse_Result) String() string
- type DocumentColorResponse_Result_
- type DocumentFormattingClientCapabilities
- func (*DocumentFormattingClientCapabilities) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentFormattingClientCapabilities) GetDynamicRegistration() bool
- func (*DocumentFormattingClientCapabilities) ProtoMessage()
- func (x *DocumentFormattingClientCapabilities) ProtoReflect() protoreflect.Message
- func (x *DocumentFormattingClientCapabilities) Reset()
- func (x *DocumentFormattingClientCapabilities) String() string
- type DocumentFormattingOptions
- func (*DocumentFormattingOptions) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentFormattingOptions) GetWorkDoneProgressOptions() *protocol.WorkDoneProgressOptions
- func (*DocumentFormattingOptions) ProtoMessage()
- func (x *DocumentFormattingOptions) ProtoReflect() protoreflect.Message
- func (x *DocumentFormattingOptions) Reset()
- func (x *DocumentFormattingOptions) String() string
- type DocumentFormattingRegistrationOptions
- func (*DocumentFormattingRegistrationOptions) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentFormattingRegistrationOptions) GetDocumentFormattingOptions() *DocumentFormattingOptions
- func (x *DocumentFormattingRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
- func (*DocumentFormattingRegistrationOptions) ProtoMessage()
- func (x *DocumentFormattingRegistrationOptions) ProtoReflect() protoreflect.Message
- func (x *DocumentFormattingRegistrationOptions) Reset()
- func (x *DocumentFormattingRegistrationOptions) String() string
- type DocumentFormattingRequest
- func (*DocumentFormattingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentFormattingRequest) GetOptions() *FormattingOptions
- func (x *DocumentFormattingRequest) GetTextDocument() *protocol.TextDocumentIdentifier
- func (x *DocumentFormattingRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
- func (*DocumentFormattingRequest) ProtoMessage()
- func (x *DocumentFormattingRequest) ProtoReflect() protoreflect.Message
- func (x *DocumentFormattingRequest) Reset()
- func (x *DocumentFormattingRequest) String() string
- type DocumentFormattingResponse
- func (*DocumentFormattingResponse) Descriptor() ([]byte, []int)deprecated
- func (m *DocumentFormattingResponse) GetDocumentFormattingResponse() isDocumentFormattingResponse_DocumentFormattingResponse
- func (x *DocumentFormattingResponse) GetEmpty() _struct.NullValue
- func (x *DocumentFormattingResponse) GetError() *protocol.Error
- func (x *DocumentFormattingResponse) GetTextEdit() *protocol.TextEdit
- func (*DocumentFormattingResponse) ProtoMessage()
- func (x *DocumentFormattingResponse) ProtoReflect() protoreflect.Message
- func (x *DocumentFormattingResponse) Reset()
- func (x *DocumentFormattingResponse) String() string
- type DocumentFormattingResponse_Empty
- type DocumentFormattingResponse_Error
- type DocumentFormattingResponse_TextEdit
- type DocumentHighlight
- func (*DocumentHighlight) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentHighlight) GetKind() DocumentHighlight_DocumentHighlightKind
- func (x *DocumentHighlight) GetRange() *protocol.Range
- func (*DocumentHighlight) ProtoMessage()
- func (x *DocumentHighlight) ProtoReflect() protoreflect.Message
- func (x *DocumentHighlight) Reset()
- func (x *DocumentHighlight) String() string
- type DocumentHighlightClientCapabilities
- func (*DocumentHighlightClientCapabilities) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentHighlightClientCapabilities) GetDynamicRegistration() bool
- func (*DocumentHighlightClientCapabilities) ProtoMessage()
- func (x *DocumentHighlightClientCapabilities) ProtoReflect() protoreflect.Message
- func (x *DocumentHighlightClientCapabilities) Reset()
- func (x *DocumentHighlightClientCapabilities) String() string
- type DocumentHighlightOptions
- func (*DocumentHighlightOptions) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentHighlightOptions) GetWorkDoneProgressOptions() *protocol.WorkDoneProgressOptions
- func (*DocumentHighlightOptions) ProtoMessage()
- func (x *DocumentHighlightOptions) ProtoReflect() protoreflect.Message
- func (x *DocumentHighlightOptions) Reset()
- func (x *DocumentHighlightOptions) String() string
- type DocumentHighlightRegistrationOptions
- func (*DocumentHighlightRegistrationOptions) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentHighlightRegistrationOptions) GetDocumentHighlightOptions() *DocumentHighlightOptions
- func (x *DocumentHighlightRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
- func (*DocumentHighlightRegistrationOptions) ProtoMessage()
- func (x *DocumentHighlightRegistrationOptions) ProtoReflect() protoreflect.Message
- func (x *DocumentHighlightRegistrationOptions) Reset()
- func (x *DocumentHighlightRegistrationOptions) String() string
- type DocumentHighlightRequest
- func (*DocumentHighlightRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentHighlightRequest) GetPartialResultParams() *PartialResultParams
- func (x *DocumentHighlightRequest) GetTextDocumentPositionParams() *protocol.TextDocumentPositionParams
- func (x *DocumentHighlightRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
- func (*DocumentHighlightRequest) ProtoMessage()
- func (x *DocumentHighlightRequest) ProtoReflect() protoreflect.Message
- func (x *DocumentHighlightRequest) Reset()
- func (x *DocumentHighlightRequest) String() string
- type DocumentHighlight_DocumentHighlightKind
- func (DocumentHighlight_DocumentHighlightKind) Descriptor() protoreflect.EnumDescriptor
- func (x DocumentHighlight_DocumentHighlightKind) Enum() *DocumentHighlight_DocumentHighlightKind
- func (DocumentHighlight_DocumentHighlightKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x DocumentHighlight_DocumentHighlightKind) Number() protoreflect.EnumNumber
- func (x DocumentHighlight_DocumentHighlightKind) String() string
- func (DocumentHighlight_DocumentHighlightKind) Type() protoreflect.EnumType
- type DocumentHighlightsResponse
- func (*DocumentHighlightsResponse) Descriptor() ([]byte, []int)deprecated
- func (m *DocumentHighlightsResponse) GetDocumentHighlightsResponse() isDocumentHighlightsResponse_DocumentHighlightsResponse
- func (x *DocumentHighlightsResponse) GetError() *protocol.Error
- func (x *DocumentHighlightsResponse) GetPartialResult() *DocumentHighlightsResponse_PartialResult
- func (x *DocumentHighlightsResponse) GetResult() *DocumentHighlightsResponse_Result
- func (*DocumentHighlightsResponse) ProtoMessage()
- func (x *DocumentHighlightsResponse) ProtoReflect() protoreflect.Message
- func (x *DocumentHighlightsResponse) Reset()
- func (x *DocumentHighlightsResponse) String() string
- type DocumentHighlightsResponse_Error
- type DocumentHighlightsResponse_PartialResult
- func (*DocumentHighlightsResponse_PartialResult) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentHighlightsResponse_PartialResult) GetDocumentHighlights() []*DocumentHighlight
- func (*DocumentHighlightsResponse_PartialResult) ProtoMessage()
- func (x *DocumentHighlightsResponse_PartialResult) ProtoReflect() protoreflect.Message
- func (x *DocumentHighlightsResponse_PartialResult) Reset()
- func (x *DocumentHighlightsResponse_PartialResult) String() string
- type DocumentHighlightsResponse_PartialResult_
- type DocumentHighlightsResponse_Result
- func (*DocumentHighlightsResponse_Result) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentHighlightsResponse_Result) GetDocumentHighlights() []*DocumentHighlight
- func (x *DocumentHighlightsResponse_Result) GetEmpty() _struct.NullValue
- func (*DocumentHighlightsResponse_Result) ProtoMessage()
- func (x *DocumentHighlightsResponse_Result) ProtoReflect() protoreflect.Message
- func (x *DocumentHighlightsResponse_Result) Reset()
- func (x *DocumentHighlightsResponse_Result) String() string
- type DocumentHighlightsResponse_Result_
- type DocumentLink
- func (*DocumentLink) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentLink) GetData() *any.Any
- func (x *DocumentLink) GetRange() *protocol.Range
- func (x *DocumentLink) GetTarget() *uri.DocumentURI
- func (x *DocumentLink) GetTooltip() *wrappers.StringValue
- func (*DocumentLink) ProtoMessage()
- func (x *DocumentLink) ProtoReflect() protoreflect.Message
- func (x *DocumentLink) Reset()
- func (x *DocumentLink) String() string
- type DocumentLinkClientCapabilities
- func (*DocumentLinkClientCapabilities) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentLinkClientCapabilities) GetDynamicRegistration() bool
- func (x *DocumentLinkClientCapabilities) GetTooltipSupport() bool
- func (*DocumentLinkClientCapabilities) ProtoMessage()
- func (x *DocumentLinkClientCapabilities) ProtoReflect() protoreflect.Message
- func (x *DocumentLinkClientCapabilities) Reset()
- func (x *DocumentLinkClientCapabilities) String() string
- type DocumentLinkOptions
- func (*DocumentLinkOptions) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentLinkOptions) GetResolveProvider() bool
- func (x *DocumentLinkOptions) GetWorkDoneProgressOptions() *protocol.WorkDoneProgressOptions
- func (*DocumentLinkOptions) ProtoMessage()
- func (x *DocumentLinkOptions) ProtoReflect() protoreflect.Message
- func (x *DocumentLinkOptions) Reset()
- func (x *DocumentLinkOptions) String() string
- type DocumentLinkRegistrationOptions
- func (*DocumentLinkRegistrationOptions) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentLinkRegistrationOptions) GetDocumentLinkOptions() *DocumentLinkOptions
- func (x *DocumentLinkRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
- func (*DocumentLinkRegistrationOptions) ProtoMessage()
- func (x *DocumentLinkRegistrationOptions) ProtoReflect() protoreflect.Message
- func (x *DocumentLinkRegistrationOptions) Reset()
- func (x *DocumentLinkRegistrationOptions) String() string
- type DocumentLinkRequest
- func (*DocumentLinkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentLinkRequest) GetPartialResultParams() *PartialResultParams
- func (x *DocumentLinkRequest) GetTextDocument() *protocol.TextDocumentIdentifier
- func (x *DocumentLinkRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
- func (*DocumentLinkRequest) ProtoMessage()
- func (x *DocumentLinkRequest) ProtoReflect() protoreflect.Message
- func (x *DocumentLinkRequest) Reset()
- func (x *DocumentLinkRequest) String() string
- type DocumentLinkResolveRequest
- func (*DocumentLinkResolveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentLinkResolveRequest) GetDocumentLink() *DocumentLink
- func (*DocumentLinkResolveRequest) ProtoMessage()
- func (x *DocumentLinkResolveRequest) ProtoReflect() protoreflect.Message
- func (x *DocumentLinkResolveRequest) Reset()
- func (x *DocumentLinkResolveRequest) String() string
- type DocumentLinkResolveResponse
- func (*DocumentLinkResolveResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentLinkResolveResponse) GetDocumentLink() *DocumentLink
- func (m *DocumentLinkResolveResponse) GetDocumentLinkResolveResponse() isDocumentLinkResolveResponse_DocumentLinkResolveResponse
- func (x *DocumentLinkResolveResponse) GetError() *protocol.Error
- func (*DocumentLinkResolveResponse) ProtoMessage()
- func (x *DocumentLinkResolveResponse) ProtoReflect() protoreflect.Message
- func (x *DocumentLinkResolveResponse) Reset()
- func (x *DocumentLinkResolveResponse) String() string
- type DocumentLinkResolveResponse_DocumentLink
- type DocumentLinkResolveResponse_Error
- type DocumentLinkResponse
- func (*DocumentLinkResponse) Descriptor() ([]byte, []int)deprecated
- func (m *DocumentLinkResponse) GetDocumentLinkResponse() isDocumentLinkResponse_DocumentLinkResponse
- func (x *DocumentLinkResponse) GetError() *protocol.Error
- func (x *DocumentLinkResponse) GetPartialResult() *DocumentLinkResponse_PartialResult
- func (x *DocumentLinkResponse) GetResult() *DocumentLinkResponse_Result
- func (*DocumentLinkResponse) ProtoMessage()
- func (x *DocumentLinkResponse) ProtoReflect() protoreflect.Message
- func (x *DocumentLinkResponse) Reset()
- func (x *DocumentLinkResponse) String() string
- type DocumentLinkResponse_Error
- type DocumentLinkResponse_PartialResult
- func (*DocumentLinkResponse_PartialResult) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentLinkResponse_PartialResult) GetDocumentLinks() []*DocumentLink
- func (*DocumentLinkResponse_PartialResult) ProtoMessage()
- func (x *DocumentLinkResponse_PartialResult) ProtoReflect() protoreflect.Message
- func (x *DocumentLinkResponse_PartialResult) Reset()
- func (x *DocumentLinkResponse_PartialResult) String() string
- type DocumentLinkResponse_PartialResult_
- type DocumentLinkResponse_Result
- func (*DocumentLinkResponse_Result) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentLinkResponse_Result) GetDocumentLinks() []*DocumentLink
- func (x *DocumentLinkResponse_Result) GetEmpty() _struct.NullValue
- func (*DocumentLinkResponse_Result) ProtoMessage()
- func (x *DocumentLinkResponse_Result) ProtoReflect() protoreflect.Message
- func (x *DocumentLinkResponse_Result) Reset()
- func (x *DocumentLinkResponse_Result) String() string
- type DocumentLinkResponse_Result_
- type DocumentOnTypeFormattingClientCapabilities
- func (*DocumentOnTypeFormattingClientCapabilities) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentOnTypeFormattingClientCapabilities) GetDynamicRegistration() bool
- func (*DocumentOnTypeFormattingClientCapabilities) ProtoMessage()
- func (x *DocumentOnTypeFormattingClientCapabilities) ProtoReflect() protoreflect.Message
- func (x *DocumentOnTypeFormattingClientCapabilities) Reset()
- func (x *DocumentOnTypeFormattingClientCapabilities) String() string
- type DocumentOnTypeFormattingOptions
- func (*DocumentOnTypeFormattingOptions) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentOnTypeFormattingOptions) GetFirstTriggerCharacter() string
- func (x *DocumentOnTypeFormattingOptions) GetMoreTriggerCharacter() []*wrappers.StringValue
- func (*DocumentOnTypeFormattingOptions) ProtoMessage()
- func (x *DocumentOnTypeFormattingOptions) ProtoReflect() protoreflect.Message
- func (x *DocumentOnTypeFormattingOptions) Reset()
- func (x *DocumentOnTypeFormattingOptions) String() string
- type DocumentOnTypeFormattingRegistrationOptions
- func (*DocumentOnTypeFormattingRegistrationOptions) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentOnTypeFormattingRegistrationOptions) GetDocumentOnTypeFormattingOptions() *DocumentOnTypeFormattingOptions
- func (x *DocumentOnTypeFormattingRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
- func (*DocumentOnTypeFormattingRegistrationOptions) ProtoMessage()
- func (x *DocumentOnTypeFormattingRegistrationOptions) ProtoReflect() protoreflect.Message
- func (x *DocumentOnTypeFormattingRegistrationOptions) Reset()
- func (x *DocumentOnTypeFormattingRegistrationOptions) String() string
- type DocumentOnTypeFormattingRequest
- func (*DocumentOnTypeFormattingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentOnTypeFormattingRequest) GetCh() string
- func (x *DocumentOnTypeFormattingRequest) GetOptions() *FormattingOptions
- func (x *DocumentOnTypeFormattingRequest) GetTextDocumentPositionParams() *protocol.TextDocumentPositionParams
- func (*DocumentOnTypeFormattingRequest) ProtoMessage()
- func (x *DocumentOnTypeFormattingRequest) ProtoReflect() protoreflect.Message
- func (x *DocumentOnTypeFormattingRequest) Reset()
- func (x *DocumentOnTypeFormattingRequest) String() string
- type DocumentOnTypeFormattingResponse
- func (*DocumentOnTypeFormattingResponse) Descriptor() ([]byte, []int)deprecated
- func (m *DocumentOnTypeFormattingResponse) GetDocumentOnTypeFormattingResponse() isDocumentOnTypeFormattingResponse_DocumentOnTypeFormattingResponse
- func (x *DocumentOnTypeFormattingResponse) GetEmpty() _struct.NullValue
- func (x *DocumentOnTypeFormattingResponse) GetError() *protocol.Error
- func (x *DocumentOnTypeFormattingResponse) GetTextEdit() *protocol.TextEdit
- func (*DocumentOnTypeFormattingResponse) ProtoMessage()
- func (x *DocumentOnTypeFormattingResponse) ProtoReflect() protoreflect.Message
- func (x *DocumentOnTypeFormattingResponse) Reset()
- func (x *DocumentOnTypeFormattingResponse) String() string
- type DocumentOnTypeFormattingResponse_Empty
- type DocumentOnTypeFormattingResponse_Error
- type DocumentOnTypeFormattingResponse_TextEdit
- type DocumentRangeFormattingClientCapabilities
- func (*DocumentRangeFormattingClientCapabilities) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentRangeFormattingClientCapabilities) GetDynamicRegistration() bool
- func (*DocumentRangeFormattingClientCapabilities) ProtoMessage()
- func (x *DocumentRangeFormattingClientCapabilities) ProtoReflect() protoreflect.Message
- func (x *DocumentRangeFormattingClientCapabilities) Reset()
- func (x *DocumentRangeFormattingClientCapabilities) String() string
- type DocumentRangeFormattingOptions
- func (*DocumentRangeFormattingOptions) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentRangeFormattingOptions) GetWorkDoneProgressOptions() *protocol.WorkDoneProgressOptions
- func (*DocumentRangeFormattingOptions) ProtoMessage()
- func (x *DocumentRangeFormattingOptions) ProtoReflect() protoreflect.Message
- func (x *DocumentRangeFormattingOptions) Reset()
- func (x *DocumentRangeFormattingOptions) String() string
- type DocumentRangeFormattingRegistrationOptions
- func (*DocumentRangeFormattingRegistrationOptions) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentRangeFormattingRegistrationOptions) GetDocumentFormattingOptions() *DocumentFormattingOptions
- func (x *DocumentRangeFormattingRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
- func (*DocumentRangeFormattingRegistrationOptions) ProtoMessage()
- func (x *DocumentRangeFormattingRegistrationOptions) ProtoReflect() protoreflect.Message
- func (x *DocumentRangeFormattingRegistrationOptions) Reset()
- func (x *DocumentRangeFormattingRegistrationOptions) String() string
- type DocumentRangeFormattingRequest
- func (*DocumentRangeFormattingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentRangeFormattingRequest) GetOptions() *FormattingOptions
- func (x *DocumentRangeFormattingRequest) GetRange() *protocol.Range
- func (x *DocumentRangeFormattingRequest) GetTextDocument() *protocol.TextDocumentIdentifier
- func (x *DocumentRangeFormattingRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
- func (*DocumentRangeFormattingRequest) ProtoMessage()
- func (x *DocumentRangeFormattingRequest) ProtoReflect() protoreflect.Message
- func (x *DocumentRangeFormattingRequest) Reset()
- func (x *DocumentRangeFormattingRequest) String() string
- type DocumentRangeFormattingResponse
- func (*DocumentRangeFormattingResponse) Descriptor() ([]byte, []int)deprecated
- func (m *DocumentRangeFormattingResponse) GetDocumentrangeFormattingResponse() isDocumentRangeFormattingResponse_DocumentrangeFormattingResponse
- func (x *DocumentRangeFormattingResponse) GetEmpty() _struct.NullValue
- func (x *DocumentRangeFormattingResponse) GetError() *protocol.Error
- func (x *DocumentRangeFormattingResponse) GetTextEdit() *protocol.TextEdit
- func (*DocumentRangeFormattingResponse) ProtoMessage()
- func (x *DocumentRangeFormattingResponse) ProtoReflect() protoreflect.Message
- func (x *DocumentRangeFormattingResponse) Reset()
- func (x *DocumentRangeFormattingResponse) String() string
- type DocumentRangeFormattingResponse_Empty
- type DocumentRangeFormattingResponse_Error
- type DocumentRangeFormattingResponse_TextEdit
- type DocumentSymbol
- func (*DocumentSymbol) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentSymbol) GetChildren() []*DocumentSymbol
- func (x *DocumentSymbol) GetDeprecated() bool
- func (x *DocumentSymbol) GetDetail() string
- func (x *DocumentSymbol) GetKind() SymbolKind
- func (x *DocumentSymbol) GetName() string
- func (x *DocumentSymbol) GetRange() *protocol.Range
- func (x *DocumentSymbol) GetSelectionRange() *protocol.Range
- func (*DocumentSymbol) ProtoMessage()
- func (x *DocumentSymbol) ProtoReflect() protoreflect.Message
- func (x *DocumentSymbol) Reset()
- func (x *DocumentSymbol) String() string
- type DocumentSymbolClientCapabilities
- func (*DocumentSymbolClientCapabilities) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentSymbolClientCapabilities) GetDynamicRegistration() bool
- func (x *DocumentSymbolClientCapabilities) GetHierarchicalDocumentSymbolSupport() bool
- func (x *DocumentSymbolClientCapabilities) GetSymbolKind() *DocumentSymbolClientCapabilities_SymbolKind
- func (*DocumentSymbolClientCapabilities) ProtoMessage()
- func (x *DocumentSymbolClientCapabilities) ProtoReflect() protoreflect.Message
- func (x *DocumentSymbolClientCapabilities) Reset()
- func (x *DocumentSymbolClientCapabilities) String() string
- type DocumentSymbolClientCapabilities_SymbolKind
- func (*DocumentSymbolClientCapabilities_SymbolKind) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentSymbolClientCapabilities_SymbolKind) GetValueSet() []*DocumentSymbolClientCapabilities_SymbolKind
- func (*DocumentSymbolClientCapabilities_SymbolKind) ProtoMessage()
- func (x *DocumentSymbolClientCapabilities_SymbolKind) ProtoReflect() protoreflect.Message
- func (x *DocumentSymbolClientCapabilities_SymbolKind) Reset()
- func (x *DocumentSymbolClientCapabilities_SymbolKind) String() string
- type DocumentSymbolOptions
- func (*DocumentSymbolOptions) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentSymbolOptions) GetWorkDoneProgressOptions() *protocol.WorkDoneProgressOptions
- func (*DocumentSymbolOptions) ProtoMessage()
- func (x *DocumentSymbolOptions) ProtoReflect() protoreflect.Message
- func (x *DocumentSymbolOptions) Reset()
- func (x *DocumentSymbolOptions) String() string
- type DocumentSymbolRegistrationOptions
- func (*DocumentSymbolRegistrationOptions) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentSymbolRegistrationOptions) GetDocumentSymbolOptions() *DocumentSymbolOptions
- func (x *DocumentSymbolRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
- func (*DocumentSymbolRegistrationOptions) ProtoMessage()
- func (x *DocumentSymbolRegistrationOptions) ProtoReflect() protoreflect.Message
- func (x *DocumentSymbolRegistrationOptions) Reset()
- func (x *DocumentSymbolRegistrationOptions) String() string
- type DocumentSymbolRequest
- func (*DocumentSymbolRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentSymbolRequest) GetPartialResultParams() *PartialResultParams
- func (x *DocumentSymbolRequest) GetTextDocument() *protocol.TextDocumentIdentifier
- func (x *DocumentSymbolRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
- func (*DocumentSymbolRequest) ProtoMessage()
- func (x *DocumentSymbolRequest) ProtoReflect() protoreflect.Message
- func (x *DocumentSymbolRequest) Reset()
- func (x *DocumentSymbolRequest) String() string
- type DocumentSymbolResponse
- func (*DocumentSymbolResponse) Descriptor() ([]byte, []int)deprecated
- func (m *DocumentSymbolResponse) GetDocumentSymbolResponse() isDocumentSymbolResponse_DocumentSymbolResponse
- func (x *DocumentSymbolResponse) GetError() *protocol.Error
- func (x *DocumentSymbolResponse) GetPartialResult() *DocumentSymbolResponse_PartialResult
- func (x *DocumentSymbolResponse) GetResult() *DocumentSymbolResponse_Result
- func (*DocumentSymbolResponse) ProtoMessage()
- func (x *DocumentSymbolResponse) ProtoReflect() protoreflect.Message
- func (x *DocumentSymbolResponse) Reset()
- func (x *DocumentSymbolResponse) String() string
- type DocumentSymbolResponse_Error
- type DocumentSymbolResponse_PartialResult
- func (*DocumentSymbolResponse_PartialResult) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentSymbolResponse_PartialResult) GetDocumentSymbols() []*DocumentSymbol
- func (x *DocumentSymbolResponse_PartialResult) GetSymbolInformations() []*SymbolInformation
- func (*DocumentSymbolResponse_PartialResult) ProtoMessage()
- func (x *DocumentSymbolResponse_PartialResult) ProtoReflect() protoreflect.Message
- func (x *DocumentSymbolResponse_PartialResult) Reset()
- func (x *DocumentSymbolResponse_PartialResult) String() string
- type DocumentSymbolResponse_PartialResult_
- type DocumentSymbolResponse_Result
- func (*DocumentSymbolResponse_Result) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentSymbolResponse_Result) GetDocumentSymbols() []*DocumentSymbol
- func (x *DocumentSymbolResponse_Result) GetEmpty() _struct.NullValue
- func (x *DocumentSymbolResponse_Result) GetSymbolInformations() []*SymbolInformation
- func (*DocumentSymbolResponse_Result) ProtoMessage()
- func (x *DocumentSymbolResponse_Result) ProtoReflect() protoreflect.Message
- func (x *DocumentSymbolResponse_Result) Reset()
- func (x *DocumentSymbolResponse_Result) String() string
- type DocumentSymbolResponse_Result_
- type ExecuteCommandClientCapabilities
- func (*ExecuteCommandClientCapabilities) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteCommandClientCapabilities) GetDynamicRegistration() bool
- func (*ExecuteCommandClientCapabilities) ProtoMessage()
- func (x *ExecuteCommandClientCapabilities) ProtoReflect() protoreflect.Message
- func (x *ExecuteCommandClientCapabilities) Reset()
- func (x *ExecuteCommandClientCapabilities) String() string
- type ExecuteCommandOptions
- func (*ExecuteCommandOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteCommandOptions) GetCommands() []string
- func (x *ExecuteCommandOptions) GetWorkDoneProgressOptions() *protocol.WorkDoneProgressOptions
- func (*ExecuteCommandOptions) ProtoMessage()
- func (x *ExecuteCommandOptions) ProtoReflect() protoreflect.Message
- func (x *ExecuteCommandOptions) Reset()
- func (x *ExecuteCommandOptions) String() string
- type ExecuteCommandParams
- func (*ExecuteCommandParams) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteCommandParams) GetArguments() []*any.Any
- func (x *ExecuteCommandParams) GetCommand() string
- func (x *ExecuteCommandParams) GetWorkDoneProgressParams() *WorkDoneProgressParams
- func (*ExecuteCommandParams) ProtoMessage()
- func (x *ExecuteCommandParams) ProtoReflect() protoreflect.Message
- func (x *ExecuteCommandParams) Reset()
- func (x *ExecuteCommandParams) String() string
- type ExecuteCommandRegistrationOptions
- func (*ExecuteCommandRegistrationOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteCommandRegistrationOptions) GetExecuteCommandOptions() *ExecuteCommandOptions
- func (*ExecuteCommandRegistrationOptions) ProtoMessage()
- func (x *ExecuteCommandRegistrationOptions) ProtoReflect() protoreflect.Message
- func (x *ExecuteCommandRegistrationOptions) Reset()
- func (x *ExecuteCommandRegistrationOptions) String() string
- type ExecuteCommandResponse
- func (*ExecuteCommandResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteCommandResponse) GetAny() *any.Any
- func (x *ExecuteCommandResponse) GetError() *protocol.Error
- func (m *ExecuteCommandResponse) GetExecuteCommand() isExecuteCommandResponse_ExecuteCommand
- func (*ExecuteCommandResponse) ProtoMessage()
- func (x *ExecuteCommandResponse) ProtoReflect() protoreflect.Message
- func (x *ExecuteCommandResponse) Reset()
- func (x *ExecuteCommandResponse) String() string
- type ExecuteCommandResponse_Any
- type ExecuteCommandResponse_Error
- type FileEvent
- func (*FileEvent) Descriptor() ([]byte, []int)deprecated
- func (x *FileEvent) GetType() FileEvent_FileChangeType
- func (x *FileEvent) GetUri() *uri.DocumentURI
- func (*FileEvent) ProtoMessage()
- func (x *FileEvent) ProtoReflect() protoreflect.Message
- func (x *FileEvent) Reset()
- func (x *FileEvent) String() string
- type FileEvent_FileChangeType
- func (FileEvent_FileChangeType) Descriptor() protoreflect.EnumDescriptor
- func (x FileEvent_FileChangeType) Enum() *FileEvent_FileChangeType
- func (FileEvent_FileChangeType) EnumDescriptor() ([]byte, []int)deprecated
- func (x FileEvent_FileChangeType) Number() protoreflect.EnumNumber
- func (x FileEvent_FileChangeType) String() string
- func (FileEvent_FileChangeType) Type() protoreflect.EnumType
- type FileSystemWatcher
- func (*FileSystemWatcher) Descriptor() ([]byte, []int)deprecated
- func (x *FileSystemWatcher) GetGlobPattern() string
- func (x *FileSystemWatcher) GetKind() FileSystemWatcher_WatchKind
- func (*FileSystemWatcher) ProtoMessage()
- func (x *FileSystemWatcher) ProtoReflect() protoreflect.Message
- func (x *FileSystemWatcher) Reset()
- func (x *FileSystemWatcher) String() string
- type FileSystemWatcher_WatchKind
- func (FileSystemWatcher_WatchKind) Descriptor() protoreflect.EnumDescriptor
- func (x FileSystemWatcher_WatchKind) Enum() *FileSystemWatcher_WatchKind
- func (FileSystemWatcher_WatchKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x FileSystemWatcher_WatchKind) Number() protoreflect.EnumNumber
- func (x FileSystemWatcher_WatchKind) String() string
- func (FileSystemWatcher_WatchKind) Type() protoreflect.EnumType
- type FoldingRange
- func (*FoldingRange) Descriptor() ([]byte, []int)deprecated
- func (x *FoldingRange) GetEndCharacter() *wrappers.Int32Value
- func (x *FoldingRange) GetEndLine() int32
- func (x *FoldingRange) GetKind() FoldingRangeKind
- func (x *FoldingRange) GetStartCharacter() *wrappers.Int32Value
- func (x *FoldingRange) GetStartLine() int32
- func (*FoldingRange) ProtoMessage()
- func (x *FoldingRange) ProtoReflect() protoreflect.Message
- func (x *FoldingRange) Reset()
- func (x *FoldingRange) String() string
- type FoldingRangeClientCapabilities
- func (*FoldingRangeClientCapabilities) Descriptor() ([]byte, []int)deprecated
- func (x *FoldingRangeClientCapabilities) GetDynamicRegistration() bool
- func (x *FoldingRangeClientCapabilities) GetLineFoldingOnly() bool
- func (x *FoldingRangeClientCapabilities) GetRangeLimit() *wrappers.Int32Value
- func (*FoldingRangeClientCapabilities) ProtoMessage()
- func (x *FoldingRangeClientCapabilities) ProtoReflect() protoreflect.Message
- func (x *FoldingRangeClientCapabilities) Reset()
- func (x *FoldingRangeClientCapabilities) String() string
- type FoldingRangeKind
- func (FoldingRangeKind) Descriptor() protoreflect.EnumDescriptor
- func (x FoldingRangeKind) Enum() *FoldingRangeKind
- func (FoldingRangeKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x FoldingRangeKind) Number() protoreflect.EnumNumber
- func (x FoldingRangeKind) String() string
- func (FoldingRangeKind) Type() protoreflect.EnumType
- type FoldingRangeOptions
- func (*FoldingRangeOptions) Descriptor() ([]byte, []int)deprecated
- func (x *FoldingRangeOptions) GetWorkDoneProgressOptions() *protocol.WorkDoneProgressOptions
- func (*FoldingRangeOptions) ProtoMessage()
- func (x *FoldingRangeOptions) ProtoReflect() protoreflect.Message
- func (x *FoldingRangeOptions) Reset()
- func (x *FoldingRangeOptions) String() string
- type FoldingRangeRegistrationOptions
- func (*FoldingRangeRegistrationOptions) Descriptor() ([]byte, []int)deprecated
- func (x *FoldingRangeRegistrationOptions) GetFoldingRangeOptions() *FoldingRangeOptions
- func (x *FoldingRangeRegistrationOptions) GetStaticRegistrationOptions() *protocol.StaticRegistrationOptions
- func (x *FoldingRangeRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
- func (*FoldingRangeRegistrationOptions) ProtoMessage()
- func (x *FoldingRangeRegistrationOptions) ProtoReflect() protoreflect.Message
- func (x *FoldingRangeRegistrationOptions) Reset()
- func (x *FoldingRangeRegistrationOptions) String() string
- type FoldingRangeRequest
- func (*FoldingRangeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FoldingRangeRequest) GetPartialResultParams() *PartialResultParams
- func (x *FoldingRangeRequest) GetTextDocument() *protocol.TextDocumentIdentifier
- func (x *FoldingRangeRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
- func (*FoldingRangeRequest) ProtoMessage()
- func (x *FoldingRangeRequest) ProtoReflect() protoreflect.Message
- func (x *FoldingRangeRequest) Reset()
- func (x *FoldingRangeRequest) String() string
- type FoldingRangeResponse
- func (*FoldingRangeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FoldingRangeResponse) GetError() *protocol.Error
- func (m *FoldingRangeResponse) GetFoldingRangeResponse() isFoldingRangeResponse_FoldingRangeResponse
- func (x *FoldingRangeResponse) GetPartialResult() *FoldingRangeResponse_PartialResult
- func (x *FoldingRangeResponse) GetResult() *FoldingRangeResponse_Result
- func (*FoldingRangeResponse) ProtoMessage()
- func (x *FoldingRangeResponse) ProtoReflect() protoreflect.Message
- func (x *FoldingRangeResponse) Reset()
- func (x *FoldingRangeResponse) String() string
- type FoldingRangeResponse_Error
- type FoldingRangeResponse_PartialResult
- func (*FoldingRangeResponse_PartialResult) Descriptor() ([]byte, []int)deprecated
- func (x *FoldingRangeResponse_PartialResult) GetFoldingRanges() []*FoldingRange
- func (*FoldingRangeResponse_PartialResult) ProtoMessage()
- func (x *FoldingRangeResponse_PartialResult) ProtoReflect() protoreflect.Message
- func (x *FoldingRangeResponse_PartialResult) Reset()
- func (x *FoldingRangeResponse_PartialResult) String() string
- type FoldingRangeResponse_PartialResult_
- type FoldingRangeResponse_Result
- func (*FoldingRangeResponse_Result) Descriptor() ([]byte, []int)deprecated
- func (x *FoldingRangeResponse_Result) GetEmpty() _struct.NullValue
- func (x *FoldingRangeResponse_Result) GetFoldingRanges() []*FoldingRange
- func (*FoldingRangeResponse_Result) ProtoMessage()
- func (x *FoldingRangeResponse_Result) ProtoReflect() protoreflect.Message
- func (x *FoldingRangeResponse_Result) Reset()
- func (x *FoldingRangeResponse_Result) String() string
- type FoldingRangeResponse_Result_
- type FormattingOptions
- func (*FormattingOptions) Descriptor() ([]byte, []int)deprecated
- func (x *FormattingOptions) GetInsertFinalNewline() bool
- func (x *FormattingOptions) GetInsertSpaces() bool
- func (x *FormattingOptions) GetKey() map[string]*FormattingOptions_Value
- func (x *FormattingOptions) GetTabSize() int32
- func (x *FormattingOptions) GetTrimFinalNewlines() bool
- func (x *FormattingOptions) GetTrimTrailingWhitespace() bool
- func (*FormattingOptions) ProtoMessage()
- func (x *FormattingOptions) ProtoReflect() protoreflect.Message
- func (x *FormattingOptions) Reset()
- func (x *FormattingOptions) String() string
- type FormattingOptions_Value
- func (*FormattingOptions_Value) Descriptor() ([]byte, []int)deprecated
- func (x *FormattingOptions_Value) GetEnable() bool
- func (x *FormattingOptions_Value) GetName() string
- func (x *FormattingOptions_Value) GetNumber() int32
- func (m *FormattingOptions_Value) GetValue() isFormattingOptions_Value_Value
- func (*FormattingOptions_Value) ProtoMessage()
- func (x *FormattingOptions_Value) ProtoReflect() protoreflect.Message
- func (x *FormattingOptions_Value) Reset()
- func (x *FormattingOptions_Value) String() string
- type FormattingOptions_Value_Enable
- type FormattingOptions_Value_Name
- type FormattingOptions_Value_Number
- type Hover
- func (*Hover) Descriptor() ([]byte, []int)deprecated
- func (m *Hover) GetContents() isHover_Contents
- func (x *Hover) GetMarkedString() *MarkedString
- func (x *Hover) GetMarkedStrings() *Hover_MarkedStrings
- func (x *Hover) GetMarkupContent() *protocol.MarkupContent
- func (x *Hover) GetRange() *protocol.Range
- func (*Hover) ProtoMessage()
- func (x *Hover) ProtoReflect() protoreflect.Message
- func (x *Hover) Reset()
- func (x *Hover) String() string
- type HoverClientCapabilities
- func (*HoverClientCapabilities) Descriptor() ([]byte, []int)deprecated
- func (x *HoverClientCapabilities) GetContentFormat() []protocol.MarkupKind
- func (x *HoverClientCapabilities) GetDynamicRegistration() bool
- func (*HoverClientCapabilities) ProtoMessage()
- func (x *HoverClientCapabilities) ProtoReflect() protoreflect.Message
- func (x *HoverClientCapabilities) Reset()
- func (x *HoverClientCapabilities) String() string
- type HoverOptions
- func (*HoverOptions) Descriptor() ([]byte, []int)deprecated
- func (x *HoverOptions) GetWorkDoneProgressOptions() *protocol.WorkDoneProgressOptions
- func (*HoverOptions) ProtoMessage()
- func (x *HoverOptions) ProtoReflect() protoreflect.Message
- func (x *HoverOptions) Reset()
- func (x *HoverOptions) String() string
- type HoverRegistrationOptions
- func (*HoverRegistrationOptions) Descriptor() ([]byte, []int)deprecated
- func (x *HoverRegistrationOptions) GetHoverOptions() *HoverOptions
- func (x *HoverRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
- func (*HoverRegistrationOptions) ProtoMessage()
- func (x *HoverRegistrationOptions) ProtoReflect() protoreflect.Message
- func (x *HoverRegistrationOptions) Reset()
- func (x *HoverRegistrationOptions) String() string
- type HoverRequest
- func (*HoverRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HoverRequest) GetTextDocumentPositionParams() *protocol.TextDocumentPositionParams
- func (x *HoverRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
- func (*HoverRequest) ProtoMessage()
- func (x *HoverRequest) ProtoReflect() protoreflect.Message
- func (x *HoverRequest) Reset()
- func (x *HoverRequest) String() string
- type HoverResponse
- func (*HoverResponse) Descriptor() ([]byte, []int)deprecated
- func (m *HoverResponse) GetCompletionResponse() isHoverResponse_CompletionResponse
- func (x *HoverResponse) GetEmpty() _struct.NullValue
- func (x *HoverResponse) GetError() *protocol.Error
- func (x *HoverResponse) GetHover() *Hover
- func (*HoverResponse) ProtoMessage()
- func (x *HoverResponse) ProtoReflect() protoreflect.Message
- func (x *HoverResponse) Reset()
- func (x *HoverResponse) String() string
- type HoverResponse_Empty
- type HoverResponse_Error
- type HoverResponse_Hover
- type Hover_MarkedString
- type Hover_MarkedStrings
- func (*Hover_MarkedStrings) Descriptor() ([]byte, []int)deprecated
- func (x *Hover_MarkedStrings) GetMarkedString() []*MarkedString
- func (*Hover_MarkedStrings) ProtoMessage()
- func (x *Hover_MarkedStrings) ProtoReflect() protoreflect.Message
- func (x *Hover_MarkedStrings) Reset()
- func (x *Hover_MarkedStrings) String() string
- type Hover_MarkedStrings_
- type Hover_MarkupContent
- type ImplementationClientCapabilities
- func (*ImplementationClientCapabilities) Descriptor() ([]byte, []int)deprecated
- func (x *ImplementationClientCapabilities) GetDynamicRegistration() bool
- func (x *ImplementationClientCapabilities) GetLinkSupport() bool
- func (*ImplementationClientCapabilities) ProtoMessage()
- func (x *ImplementationClientCapabilities) ProtoReflect() protoreflect.Message
- func (x *ImplementationClientCapabilities) Reset()
- func (x *ImplementationClientCapabilities) String() string
- type ImplementationOptions
- func (*ImplementationOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ImplementationOptions) GetWorkDoneProgressOptions() *protocol.WorkDoneProgressOptions
- func (*ImplementationOptions) ProtoMessage()
- func (x *ImplementationOptions) ProtoReflect() protoreflect.Message
- func (x *ImplementationOptions) Reset()
- func (x *ImplementationOptions) String() string
- type ImplementationRegistrationOptions
- func (*ImplementationRegistrationOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ImplementationRegistrationOptions) GetImplementationOptions() *ImplementationOptions
- func (x *ImplementationRegistrationOptions) GetStaticRegistrationOptions() *protocol.StaticRegistrationOptions
- func (x *ImplementationRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
- func (*ImplementationRegistrationOptions) ProtoMessage()
- func (x *ImplementationRegistrationOptions) ProtoReflect() protoreflect.Message
- func (x *ImplementationRegistrationOptions) Reset()
- func (x *ImplementationRegistrationOptions) String() string
- type ImplementationRequest
- func (*ImplementationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ImplementationRequest) GetPartialResultParams() *PartialResultParams
- func (x *ImplementationRequest) GetTextDocumentPositionParams() *protocol.TextDocumentPositionParams
- func (x *ImplementationRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
- func (*ImplementationRequest) ProtoMessage()
- func (x *ImplementationRequest) ProtoReflect() protoreflect.Message
- func (x *ImplementationRequest) Reset()
- func (x *ImplementationRequest) String() string
- type ImplementationResponse
- func (*ImplementationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ImplementationResponse) GetError() *protocol.Error
- func (m *ImplementationResponse) GetImplementationResponse() isImplementationResponse_ImplementationResponse
- func (x *ImplementationResponse) GetPartialResult() *ImplementationResponse_PartialResult
- func (x *ImplementationResponse) GetResult() *ImplementationResponse_Result
- func (*ImplementationResponse) ProtoMessage()
- func (x *ImplementationResponse) ProtoReflect() protoreflect.Message
- func (x *ImplementationResponse) Reset()
- func (x *ImplementationResponse) String() string
- type ImplementationResponse_Error
- type ImplementationResponse_PartialResult
- func (*ImplementationResponse_PartialResult) Descriptor() ([]byte, []int)deprecated
- func (x *ImplementationResponse_PartialResult) GetLocationLinks() *LocationLinks
- func (x *ImplementationResponse_PartialResult) GetLocations() *Locations
- func (*ImplementationResponse_PartialResult) ProtoMessage()
- func (x *ImplementationResponse_PartialResult) ProtoReflect() protoreflect.Message
- func (x *ImplementationResponse_PartialResult) Reset()
- func (x *ImplementationResponse_PartialResult) String() string
- type ImplementationResponse_PartialResult_
- type ImplementationResponse_Result
- func (*ImplementationResponse_Result) Descriptor() ([]byte, []int)deprecated
- func (x *ImplementationResponse_Result) GetEmpty() _struct.NullValue
- func (x *ImplementationResponse_Result) GetLocation() *protocol.Location
- func (x *ImplementationResponse_Result) GetLocationLinks() *LocationLinks
- func (x *ImplementationResponse_Result) GetLocations() *Locations
- func (*ImplementationResponse_Result) ProtoMessage()
- func (x *ImplementationResponse_Result) ProtoReflect() protoreflect.Message
- func (x *ImplementationResponse_Result) Reset()
- func (x *ImplementationResponse_Result) String() string
- type ImplementationResponse_Result_
- type InitializeErrorData
- func (*InitializeErrorData) Descriptor() ([]byte, []int)deprecated
- func (x *InitializeErrorData) GetRetry() bool
- func (*InitializeErrorData) ProtoMessage()
- func (x *InitializeErrorData) ProtoReflect() protoreflect.Message
- func (x *InitializeErrorData) Reset()
- func (x *InitializeErrorData) String() string
- type InitializeErrorUnknownProtocolVersion
- func (*InitializeErrorUnknownProtocolVersion) Descriptor() ([]byte, []int)deprecated
- func (x *InitializeErrorUnknownProtocolVersion) GetUnknownProtocolVersion() int32deprecated
- func (*InitializeErrorUnknownProtocolVersion) ProtoMessage()
- func (x *InitializeErrorUnknownProtocolVersion) ProtoReflect() protoreflect.Message
- func (x *InitializeErrorUnknownProtocolVersion) Reset()
- func (x *InitializeErrorUnknownProtocolVersion) String() string
- type InitializeRequest
- func (*InitializeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InitializeRequest) GetCapabilities() *ClientCapabilities
- func (x *InitializeRequest) GetClientInfo() *InitializeRequest_ClientInfo
- func (x *InitializeRequest) GetInitializationOptions() *any.Any
- func (x *InitializeRequest) GetProcessId() int32
- func (x *InitializeRequest) GetRootPath() *wrappers.StringValuedeprecated
- func (x *InitializeRequest) GetRootUri() *uri.DocumentURI
- func (x *InitializeRequest) GetTrace() protocol.TraceValue
- func (x *InitializeRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
- func (x *InitializeRequest) GetWorkspaceFolders() []*WorkspaceFolder
- func (*InitializeRequest) ProtoMessage()
- func (x *InitializeRequest) ProtoReflect() protoreflect.Message
- func (x *InitializeRequest) Reset()
- func (x *InitializeRequest) String() string
- type InitializeRequest_ClientInfo
- func (*InitializeRequest_ClientInfo) Descriptor() ([]byte, []int)deprecated
- func (x *InitializeRequest_ClientInfo) GetName() string
- func (x *InitializeRequest_ClientInfo) GetVersion() *wrappers.StringValue
- func (*InitializeRequest_ClientInfo) ProtoMessage()
- func (x *InitializeRequest_ClientInfo) ProtoReflect() protoreflect.Message
- func (x *InitializeRequest_ClientInfo) Reset()
- func (x *InitializeRequest_ClientInfo) String() string
- type InitializeResponse
- func (*InitializeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InitializeResponse) GetCapabilities() *ServerCapabilities
- func (x *InitializeResponse) GetServerInfo() *InitializeResponse_ServerInfo
- func (*InitializeResponse) ProtoMessage()
- func (x *InitializeResponse) ProtoReflect() protoreflect.Message
- func (x *InitializeResponse) Reset()
- func (x *InitializeResponse) String() string
- type InitializeResponse_ServerInfo
- func (*InitializeResponse_ServerInfo) Descriptor() ([]byte, []int)deprecated
- func (x *InitializeResponse_ServerInfo) GetName() string
- func (x *InitializeResponse_ServerInfo) GetVersion() *wrappers.StringValue
- func (*InitializeResponse_ServerInfo) ProtoMessage()
- func (x *InitializeResponse_ServerInfo) ProtoReflect() protoreflect.Message
- func (x *InitializeResponse_ServerInfo) Reset()
- func (x *InitializeResponse_ServerInfo) String() string
- type InitializedRequest
- type InsertTextFormat
- func (InsertTextFormat) Descriptor() protoreflect.EnumDescriptor
- func (x InsertTextFormat) Enum() *InsertTextFormat
- func (InsertTextFormat) EnumDescriptor() ([]byte, []int)deprecated
- func (x InsertTextFormat) Number() protoreflect.EnumNumber
- func (x InsertTextFormat) String() string
- func (InsertTextFormat) Type() protoreflect.EnumType
- type LanguageServerProtocolClient
- type LanguageServerProtocolServer
- type LocationLinks
- type Locations
- type LogMessageRequest
- func (*LogMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LogMessageRequest) GetMessage() string
- func (x *LogMessageRequest) GetType() MessageType
- func (*LogMessageRequest) ProtoMessage()
- func (x *LogMessageRequest) ProtoReflect() protoreflect.Message
- func (x *LogMessageRequest) Reset()
- func (x *LogMessageRequest) String() string
- type LogTraceRequest
- func (*LogTraceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LogTraceRequest) GetMessage() string
- func (x *LogTraceRequest) GetVerbose() *wrappers.StringValue
- func (*LogTraceRequest) ProtoMessage()
- func (x *LogTraceRequest) ProtoReflect() protoreflect.Message
- func (x *LogTraceRequest) Reset()
- func (x *LogTraceRequest) String() string
- type MarkedStringdeprecated
- func (*MarkedString) Descriptor() ([]byte, []int)deprecated
- func (x *MarkedString) GetCodeBlock() *MarkedString_CodeBlock
- func (m *MarkedString) GetMarkedString() isMarkedString_MarkedString
- func (x *MarkedString) GetText() string
- func (*MarkedString) ProtoMessage()
- func (x *MarkedString) ProtoReflect() protoreflect.Message
- func (x *MarkedString) Reset()
- func (x *MarkedString) String() string
- type MarkedString_CodeBlock
- func (*MarkedString_CodeBlock) Descriptor() ([]byte, []int)deprecated
- func (x *MarkedString_CodeBlock) GetLanguage() string
- func (x *MarkedString_CodeBlock) GetValue() string
- func (*MarkedString_CodeBlock) ProtoMessage()
- func (x *MarkedString_CodeBlock) ProtoReflect() protoreflect.Message
- func (x *MarkedString_CodeBlock) Reset()
- func (x *MarkedString_CodeBlock) String() string
- type MarkedString_CodeBlock_
- type MarkedString_Text
- type MessageActionItem
- type MessageType
- func (MessageType) Descriptor() protoreflect.EnumDescriptor
- func (x MessageType) Enum() *MessageType
- func (MessageType) EnumDescriptor() ([]byte, []int)deprecated
- func (x MessageType) Number() protoreflect.EnumNumber
- func (x MessageType) String() string
- func (MessageType) Type() protoreflect.EnumType
- type ParameterInformation
- func (*ParameterInformation) Descriptor() ([]byte, []int)deprecated
- func (m *ParameterInformation) GetDocumentation() isParameterInformation_Documentation
- func (m *ParameterInformation) GetLabel() isParameterInformation_Label
- func (x *ParameterInformation) GetMarkup() string
- func (x *ParameterInformation) GetMarkupContent() *protocol.MarkupContent
- func (x *ParameterInformation) GetName() string
- func (x *ParameterInformation) GetOffset() *ParameterInformation_Offset
- func (*ParameterInformation) ProtoMessage()
- func (x *ParameterInformation) ProtoReflect() protoreflect.Message
- func (x *ParameterInformation) Reset()
- func (x *ParameterInformation) String() string
- type ParameterInformation_Markup
- type ParameterInformation_MarkupContent
- type ParameterInformation_Name
- type ParameterInformation_Offset
- func (*ParameterInformation_Offset) Descriptor() ([]byte, []int)deprecated
- func (x *ParameterInformation_Offset) GetEnd() int32
- func (x *ParameterInformation_Offset) GetStart() int32
- func (*ParameterInformation_Offset) ProtoMessage()
- func (x *ParameterInformation_Offset) ProtoReflect() protoreflect.Message
- func (x *ParameterInformation_Offset) Reset()
- func (x *ParameterInformation_Offset) String() string
- type ParameterInformation_Offset_
- type PartialResultParams
- func (*PartialResultParams) Descriptor() ([]byte, []int)deprecated
- func (x *PartialResultParams) GetPartialResultToken() int32
- func (*PartialResultParams) ProtoMessage()
- func (x *PartialResultParams) ProtoReflect() protoreflect.Message
- func (x *PartialResultParams) Reset()
- func (x *PartialResultParams) String() string
- type PrepareRenameRequest
- func (*PrepareRenameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PrepareRenameRequest) GetTextDocumentPositionParams() *protocol.TextDocumentPositionParams
- func (*PrepareRenameRequest) ProtoMessage()
- func (x *PrepareRenameRequest) ProtoReflect() protoreflect.Message
- func (x *PrepareRenameRequest) Reset()
- func (x *PrepareRenameRequest) String() string
- type PrepareRenameResponse
- func (*PrepareRenameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PrepareRenameResponse) GetEmpty() _struct.NullValue
- func (x *PrepareRenameResponse) GetError() *protocol.Error
- func (m *PrepareRenameResponse) GetPrepareRenameResponse() isPrepareRenameResponse_PrepareRenameResponse
- func (x *PrepareRenameResponse) GetRange() *protocol.Range
- func (x *PrepareRenameResponse) GetResult() *PrepareRenameResponse_Result
- func (*PrepareRenameResponse) ProtoMessage()
- func (x *PrepareRenameResponse) ProtoReflect() protoreflect.Message
- func (x *PrepareRenameResponse) Reset()
- func (x *PrepareRenameResponse) String() string
- type PrepareRenameResponse_Empty
- type PrepareRenameResponse_Error
- type PrepareRenameResponse_Range
- type PrepareRenameResponse_Result
- func (*PrepareRenameResponse_Result) Descriptor() ([]byte, []int)deprecated
- func (x *PrepareRenameResponse_Result) GetPlaceHolder() string
- func (x *PrepareRenameResponse_Result) GetRange() *protocol.Range
- func (*PrepareRenameResponse_Result) ProtoMessage()
- func (x *PrepareRenameResponse_Result) ProtoReflect() protoreflect.Message
- func (x *PrepareRenameResponse_Result) Reset()
- func (x *PrepareRenameResponse_Result) String() string
- type PrepareRenameResponse_Result_
- type ProgressRequest
- func (*ProgressRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProgressRequest) GetToken() *ProgressToken
- func (x *ProgressRequest) GetValue() *any.Any
- func (*ProgressRequest) ProtoMessage()
- func (x *ProgressRequest) ProtoReflect() protoreflect.Message
- func (x *ProgressRequest) Reset()
- func (x *ProgressRequest) String() string
- type ProgressToken
- type PublishDiagnosticsClientCapabilities
- func (*PublishDiagnosticsClientCapabilities) Descriptor() ([]byte, []int)deprecated
- func (x *PublishDiagnosticsClientCapabilities) GetRelatedInformation() bool
- func (x *PublishDiagnosticsClientCapabilities) GetTagSupport() *PublishDiagnosticsClientCapabilities_TagSupport
- func (x *PublishDiagnosticsClientCapabilities) GetVersionSupport() bool
- func (*PublishDiagnosticsClientCapabilities) ProtoMessage()
- func (x *PublishDiagnosticsClientCapabilities) ProtoReflect() protoreflect.Message
- func (x *PublishDiagnosticsClientCapabilities) Reset()
- func (x *PublishDiagnosticsClientCapabilities) String() string
- type PublishDiagnosticsClientCapabilities_TagSupport
- func (*PublishDiagnosticsClientCapabilities_TagSupport) Descriptor() ([]byte, []int)deprecated
- func (x *PublishDiagnosticsClientCapabilities_TagSupport) GetValueSet() []protocol.DiagnosticTag
- func (*PublishDiagnosticsClientCapabilities_TagSupport) ProtoMessage()
- func (x *PublishDiagnosticsClientCapabilities_TagSupport) ProtoReflect() protoreflect.Message
- func (x *PublishDiagnosticsClientCapabilities_TagSupport) Reset()
- func (x *PublishDiagnosticsClientCapabilities_TagSupport) String() string
- type PublishDiagnosticsRequest
- func (*PublishDiagnosticsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PublishDiagnosticsRequest) GetDiagnostics() []*protocol.Diagnostic
- func (x *PublishDiagnosticsRequest) GetUri() *uri.DocumentURI
- func (x *PublishDiagnosticsRequest) GetVersion() int32
- func (*PublishDiagnosticsRequest) ProtoMessage()
- func (x *PublishDiagnosticsRequest) ProtoReflect() protoreflect.Message
- func (x *PublishDiagnosticsRequest) Reset()
- func (x *PublishDiagnosticsRequest) String() string
- type ReferenceClientCapabilities
- func (*ReferenceClientCapabilities) Descriptor() ([]byte, []int)deprecated
- func (x *ReferenceClientCapabilities) GetDynamicRegistration() bool
- func (*ReferenceClientCapabilities) ProtoMessage()
- func (x *ReferenceClientCapabilities) ProtoReflect() protoreflect.Message
- func (x *ReferenceClientCapabilities) Reset()
- func (x *ReferenceClientCapabilities) String() string
- type ReferenceContext
- func (*ReferenceContext) Descriptor() ([]byte, []int)deprecated
- func (x *ReferenceContext) GetIncludeDeclaration() bool
- func (*ReferenceContext) ProtoMessage()
- func (x *ReferenceContext) ProtoReflect() protoreflect.Message
- func (x *ReferenceContext) Reset()
- func (x *ReferenceContext) String() string
- type ReferenceOptions
- func (*ReferenceOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ReferenceOptions) GetWorkDoneProgressOptions() *protocol.WorkDoneProgressOptions
- func (*ReferenceOptions) ProtoMessage()
- func (x *ReferenceOptions) ProtoReflect() protoreflect.Message
- func (x *ReferenceOptions) Reset()
- func (x *ReferenceOptions) String() string
- type ReferenceRegistrationOptions
- func (*ReferenceRegistrationOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ReferenceRegistrationOptions) GetReferenceOptions() *ReferenceOptions
- func (x *ReferenceRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
- func (*ReferenceRegistrationOptions) ProtoMessage()
- func (x *ReferenceRegistrationOptions) ProtoReflect() protoreflect.Message
- func (x *ReferenceRegistrationOptions) Reset()
- func (x *ReferenceRegistrationOptions) String() string
- type ReferenceRequest
- func (*ReferenceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReferenceRequest) GetContext() *ReferenceContext
- func (x *ReferenceRequest) GetPartialResultParams() *PartialResultParams
- func (x *ReferenceRequest) GetTextDocumentPositionParams() *protocol.TextDocumentPositionParams
- func (x *ReferenceRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
- func (*ReferenceRequest) ProtoMessage()
- func (x *ReferenceRequest) ProtoReflect() protoreflect.Message
- func (x *ReferenceRequest) Reset()
- func (x *ReferenceRequest) String() string
- type ReferenceResponse
- func (*ReferenceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReferenceResponse) GetError() *protocol.Error
- func (x *ReferenceResponse) GetPartialResult() *ReferenceResponse_PartialResult
- func (m *ReferenceResponse) GetReferenceResponse() isReferenceResponse_ReferenceResponse
- func (x *ReferenceResponse) GetResult() *ReferenceResponse_Result
- func (*ReferenceResponse) ProtoMessage()
- func (x *ReferenceResponse) ProtoReflect() protoreflect.Message
- func (x *ReferenceResponse) Reset()
- func (x *ReferenceResponse) String() string
- type ReferenceResponse_Error
- type ReferenceResponse_PartialResult
- func (*ReferenceResponse_PartialResult) Descriptor() ([]byte, []int)deprecated
- func (x *ReferenceResponse_PartialResult) GetLocations() *Locations
- func (*ReferenceResponse_PartialResult) ProtoMessage()
- func (x *ReferenceResponse_PartialResult) ProtoReflect() protoreflect.Message
- func (x *ReferenceResponse_PartialResult) Reset()
- func (x *ReferenceResponse_PartialResult) String() string
- type ReferenceResponse_PartialResult_
- type ReferenceResponse_Result
- func (*ReferenceResponse_Result) Descriptor() ([]byte, []int)deprecated
- func (x *ReferenceResponse_Result) GetEmpty() _struct.NullValue
- func (x *ReferenceResponse_Result) GetLocations() *Locations
- func (*ReferenceResponse_Result) ProtoMessage()
- func (x *ReferenceResponse_Result) ProtoReflect() protoreflect.Message
- func (x *ReferenceResponse_Result) Reset()
- func (x *ReferenceResponse_Result) String() string
- type ReferenceResponse_Result_
- type Registration
- func (*Registration) Descriptor() ([]byte, []int)deprecated
- func (x *Registration) GetId() string
- func (x *Registration) GetMethod() string
- func (x *Registration) GetRegisterOptions() *any.Any
- func (*Registration) ProtoMessage()
- func (x *Registration) ProtoReflect() protoreflect.Message
- func (x *Registration) Reset()
- func (x *Registration) String() string
- type RegistrationParams
- func (*RegistrationParams) Descriptor() ([]byte, []int)deprecated
- func (x *RegistrationParams) GetRegistrations() []*Registration
- func (*RegistrationParams) ProtoMessage()
- func (x *RegistrationParams) ProtoReflect() protoreflect.Message
- func (x *RegistrationParams) Reset()
- func (x *RegistrationParams) String() string
- type RenameClientCapabilities
- func (*RenameClientCapabilities) Descriptor() ([]byte, []int)deprecated
- func (x *RenameClientCapabilities) GetDynamicRegistration() bool
- func (x *RenameClientCapabilities) GetPrepareSupport() bool
- func (*RenameClientCapabilities) ProtoMessage()
- func (x *RenameClientCapabilities) ProtoReflect() protoreflect.Message
- func (x *RenameClientCapabilities) Reset()
- func (x *RenameClientCapabilities) String() string
- type RenameOptions
- func (*RenameOptions) Descriptor() ([]byte, []int)deprecated
- func (x *RenameOptions) GetPrepareProvider() bool
- func (x *RenameOptions) GetWorkDoneProgressOptions() *protocol.WorkDoneProgressOptions
- func (*RenameOptions) ProtoMessage()
- func (x *RenameOptions) ProtoReflect() protoreflect.Message
- func (x *RenameOptions) Reset()
- func (x *RenameOptions) String() string
- type RenameRegistrationOptions
- func (*RenameRegistrationOptions) Descriptor() ([]byte, []int)deprecated
- func (x *RenameRegistrationOptions) GetRenameOptions() *RenameOptions
- func (x *RenameRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
- func (*RenameRegistrationOptions) ProtoMessage()
- func (x *RenameRegistrationOptions) ProtoReflect() protoreflect.Message
- func (x *RenameRegistrationOptions) Reset()
- func (x *RenameRegistrationOptions) String() string
- type RenameRequest
- func (*RenameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RenameRequest) GetNewName() string
- func (x *RenameRequest) GetTextDocumentPositionParams() *protocol.TextDocumentPositionParams
- func (x *RenameRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
- func (*RenameRequest) ProtoMessage()
- func (x *RenameRequest) ProtoReflect() protoreflect.Message
- func (x *RenameRequest) Reset()
- func (x *RenameRequest) String() string
- type RenameResponse
- func (*RenameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RenameResponse) GetEmpty() _struct.NullValue
- func (x *RenameResponse) GetError() *protocol.Error
- func (m *RenameResponse) GetRenameResponse() isRenameResponse_RenameResponse
- func (x *RenameResponse) GetWorkspaceEdit() *protocol.WorkspaceEdit
- func (*RenameResponse) ProtoMessage()
- func (x *RenameResponse) ProtoReflect() protoreflect.Message
- func (x *RenameResponse) Reset()
- func (x *RenameResponse) String() string
- type RenameResponse_Empty
- type RenameResponse_Error
- type RenameResponse_WorkspaceEdit
- type SaveOptions
- type SelectionRange
- func (*SelectionRange) Descriptor() ([]byte, []int)deprecated
- func (x *SelectionRange) GetParent() *SelectionRange
- func (x *SelectionRange) GetRange() *protocol.Range
- func (*SelectionRange) ProtoMessage()
- func (x *SelectionRange) ProtoReflect() protoreflect.Message
- func (x *SelectionRange) Reset()
- func (x *SelectionRange) String() string
- type SelectionRangeClientCapabilities
- func (*SelectionRangeClientCapabilities) Descriptor() ([]byte, []int)deprecated
- func (x *SelectionRangeClientCapabilities) GetDynamicRegistration() bool
- func (*SelectionRangeClientCapabilities) ProtoMessage()
- func (x *SelectionRangeClientCapabilities) ProtoReflect() protoreflect.Message
- func (x *SelectionRangeClientCapabilities) Reset()
- func (x *SelectionRangeClientCapabilities) String() string
- type SelectionRangeOptions
- func (*SelectionRangeOptions) Descriptor() ([]byte, []int)deprecated
- func (x *SelectionRangeOptions) GetWorkDoneProgressOptions() *protocol.WorkDoneProgressOptions
- func (*SelectionRangeOptions) ProtoMessage()
- func (x *SelectionRangeOptions) ProtoReflect() protoreflect.Message
- func (x *SelectionRangeOptions) Reset()
- func (x *SelectionRangeOptions) String() string
- type SelectionRangeRegistrationOptions
- func (*SelectionRangeRegistrationOptions) Descriptor() ([]byte, []int)deprecated
- func (x *SelectionRangeRegistrationOptions) GetSelectionRangeOptions() *SelectionRangeOptions
- func (x *SelectionRangeRegistrationOptions) GetStaticRegistrationOptions() *protocol.StaticRegistrationOptions
- func (x *SelectionRangeRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
- func (*SelectionRangeRegistrationOptions) ProtoMessage()
- func (x *SelectionRangeRegistrationOptions) ProtoReflect() protoreflect.Message
- func (x *SelectionRangeRegistrationOptions) Reset()
- func (x *SelectionRangeRegistrationOptions) String() string
- type SelectionRangeRequest
- func (*SelectionRangeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SelectionRangeRequest) GetPartialResultParams() *PartialResultParams
- func (x *SelectionRangeRequest) GetPositions() []*protocol.Position
- func (x *SelectionRangeRequest) GetTextDocument() *protocol.TextDocumentIdentifier
- func (x *SelectionRangeRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
- func (*SelectionRangeRequest) ProtoMessage()
- func (x *SelectionRangeRequest) ProtoReflect() protoreflect.Message
- func (x *SelectionRangeRequest) Reset()
- func (x *SelectionRangeRequest) String() string
- type SelectionRangeResponse
- func (*SelectionRangeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SelectionRangeResponse) GetError() *protocol.Error
- func (x *SelectionRangeResponse) GetPartialResult() *SelectionRangeResponse_PartialResult
- func (x *SelectionRangeResponse) GetResult() *SelectionRangeResponse_Result
- func (m *SelectionRangeResponse) GetSelectionRangeResponse() isSelectionRangeResponse_SelectionRangeResponse
- func (*SelectionRangeResponse) ProtoMessage()
- func (x *SelectionRangeResponse) ProtoReflect() protoreflect.Message
- func (x *SelectionRangeResponse) Reset()
- func (x *SelectionRangeResponse) String() string
- type SelectionRangeResponse_Error
- type SelectionRangeResponse_PartialResult
- func (*SelectionRangeResponse_PartialResult) Descriptor() ([]byte, []int)deprecated
- func (x *SelectionRangeResponse_PartialResult) GetSelectionRanges() []*SelectionRange
- func (*SelectionRangeResponse_PartialResult) ProtoMessage()
- func (x *SelectionRangeResponse_PartialResult) ProtoReflect() protoreflect.Message
- func (x *SelectionRangeResponse_PartialResult) Reset()
- func (x *SelectionRangeResponse_PartialResult) String() string
- type SelectionRangeResponse_PartialResult_
- type SelectionRangeResponse_Result
- func (*SelectionRangeResponse_Result) Descriptor() ([]byte, []int)deprecated
- func (x *SelectionRangeResponse_Result) GetEmpty() _struct.NullValue
- func (x *SelectionRangeResponse_Result) GetSelectionRanges() []*SelectionRange
- func (*SelectionRangeResponse_Result) ProtoMessage()
- func (x *SelectionRangeResponse_Result) ProtoReflect() protoreflect.Message
- func (x *SelectionRangeResponse_Result) Reset()
- func (x *SelectionRangeResponse_Result) String() string
- type SelectionRangeResponse_Result_
- type SemanticTokenModifiers
- func (SemanticTokenModifiers) Descriptor() protoreflect.EnumDescriptor
- func (x SemanticTokenModifiers) Enum() *SemanticTokenModifiers
- func (SemanticTokenModifiers) EnumDescriptor() ([]byte, []int)deprecated
- func (x SemanticTokenModifiers) Number() protoreflect.EnumNumber
- func (x SemanticTokenModifiers) String() string
- func (SemanticTokenModifiers) Type() protoreflect.EnumType
- type SemanticTokenTypes
- func (SemanticTokenTypes) Descriptor() protoreflect.EnumDescriptor
- func (x SemanticTokenTypes) Enum() *SemanticTokenTypes
- func (SemanticTokenTypes) EnumDescriptor() ([]byte, []int)deprecated
- func (x SemanticTokenTypes) Number() protoreflect.EnumNumber
- func (x SemanticTokenTypes) String() string
- func (SemanticTokenTypes) Type() protoreflect.EnumType
- type SemanticTokens
- func (*SemanticTokens) Descriptor() ([]byte, []int)deprecated
- func (x *SemanticTokens) GetData() []int32
- func (x *SemanticTokens) GetResultId() *wrappers.StringValue
- func (*SemanticTokens) ProtoMessage()
- func (x *SemanticTokens) ProtoReflect() protoreflect.Message
- func (x *SemanticTokens) Reset()
- func (x *SemanticTokens) String() string
- type SemanticTokensClientCapabilities
- func (*SemanticTokensClientCapabilities) Descriptor() ([]byte, []int)deprecated
- func (x *SemanticTokensClientCapabilities) GetDynamicRegistration() bool
- func (x *SemanticTokensClientCapabilities) GetFormats() []TokenFormat
- func (x *SemanticTokensClientCapabilities) GetRequests() *SemanticTokensClientCapabilities_Requests
- func (x *SemanticTokensClientCapabilities) GetTokenModifiers() []SemanticTokenModifiers
- func (x *SemanticTokensClientCapabilities) GetTokenTypes() []SemanticTokenTypes
- func (*SemanticTokensClientCapabilities) ProtoMessage()
- func (x *SemanticTokensClientCapabilities) ProtoReflect() protoreflect.Message
- func (x *SemanticTokensClientCapabilities) Reset()
- func (x *SemanticTokensClientCapabilities) String() string
- type SemanticTokensClientCapabilities_Requests
- func (*SemanticTokensClientCapabilities_Requests) Descriptor() ([]byte, []int)deprecated
- func (x *SemanticTokensClientCapabilities_Requests) GetDelta() bool
- func (x *SemanticTokensClientCapabilities_Requests) GetEmpty() _struct.NullValue
- func (x *SemanticTokensClientCapabilities_Requests) GetEnableFull() bool
- func (x *SemanticTokensClientCapabilities_Requests) GetEnableRange() bool
- func (m *SemanticTokensClientCapabilities_Requests) GetFull() isSemanticTokensClientCapabilities_Requests_Full
- func (m *SemanticTokensClientCapabilities_Requests) GetRange() isSemanticTokensClientCapabilities_Requests_Range
- func (*SemanticTokensClientCapabilities_Requests) ProtoMessage()
- func (x *SemanticTokensClientCapabilities_Requests) ProtoReflect() protoreflect.Message
- func (x *SemanticTokensClientCapabilities_Requests) Reset()
- func (x *SemanticTokensClientCapabilities_Requests) String() string
- type SemanticTokensClientCapabilities_Requests_Delta
- type SemanticTokensClientCapabilities_Requests_Empty
- type SemanticTokensClientCapabilities_Requests_EnableFull
- type SemanticTokensClientCapabilities_Requests_EnableRange
- type SemanticTokensDelta
- func (*SemanticTokensDelta) Descriptor() ([]byte, []int)deprecated
- func (x *SemanticTokensDelta) GetEdits() []*SemanticTokensEdit
- func (x *SemanticTokensDelta) GetResultId() string
- func (*SemanticTokensDelta) ProtoMessage()
- func (x *SemanticTokensDelta) ProtoReflect() protoreflect.Message
- func (x *SemanticTokensDelta) Reset()
- func (x *SemanticTokensDelta) String() string
- type SemanticTokensDeltaParams
- func (*SemanticTokensDeltaParams) Descriptor() ([]byte, []int)deprecated
- func (x *SemanticTokensDeltaParams) GetPartialResultParams() *PartialResultParams
- func (x *SemanticTokensDeltaParams) GetPreviousResultId() string
- func (x *SemanticTokensDeltaParams) GetTextDocument() *protocol.TextDocumentIdentifier
- func (x *SemanticTokensDeltaParams) GetWorkDoneProgressParams() *WorkDoneProgressParams
- func (*SemanticTokensDeltaParams) ProtoMessage()
- func (x *SemanticTokensDeltaParams) ProtoReflect() protoreflect.Message
- func (x *SemanticTokensDeltaParams) Reset()
- func (x *SemanticTokensDeltaParams) String() string
- type SemanticTokensDeltaPartialResult
- func (*SemanticTokensDeltaPartialResult) Descriptor() ([]byte, []int)deprecated
- func (x *SemanticTokensDeltaPartialResult) GetEdits() []*SemanticTokensEdit
- func (*SemanticTokensDeltaPartialResult) ProtoMessage()
- func (x *SemanticTokensDeltaPartialResult) ProtoReflect() protoreflect.Message
- func (x *SemanticTokensDeltaPartialResult) Reset()
- func (x *SemanticTokensDeltaPartialResult) String() string
- type SemanticTokensEdit
- func (*SemanticTokensEdit) Descriptor() ([]byte, []int)deprecated
- func (x *SemanticTokensEdit) GetData() []int32
- func (x *SemanticTokensEdit) GetDeleteCount() int32
- func (x *SemanticTokensEdit) GetStart() int32
- func (*SemanticTokensEdit) ProtoMessage()
- func (x *SemanticTokensEdit) ProtoReflect() protoreflect.Message
- func (x *SemanticTokensEdit) Reset()
- func (x *SemanticTokensEdit) String() string
- type SemanticTokensLegend
- func (*SemanticTokensLegend) Descriptor() ([]byte, []int)deprecated
- func (x *SemanticTokensLegend) GetTokenModifiers() []SemanticTokenModifiers
- func (x *SemanticTokensLegend) GetTokenTypes() []SemanticTokenTypes
- func (*SemanticTokensLegend) ProtoMessage()
- func (x *SemanticTokensLegend) ProtoReflect() protoreflect.Message
- func (x *SemanticTokensLegend) Reset()
- func (x *SemanticTokensLegend) String() string
- type SemanticTokensOptions
- func (*SemanticTokensOptions) Descriptor() ([]byte, []int)deprecated
- func (x *SemanticTokensOptions) GetDelta() bool
- func (x *SemanticTokensOptions) GetEmpty() _struct.NullValue
- func (x *SemanticTokensOptions) GetEnableFull() bool
- func (x *SemanticTokensOptions) GetEnableRange() bool
- func (m *SemanticTokensOptions) GetFull() isSemanticTokensOptions_Full
- func (x *SemanticTokensOptions) GetLegend() *SemanticTokensLegend
- func (m *SemanticTokensOptions) GetRange() isSemanticTokensOptions_Range
- func (x *SemanticTokensOptions) GetWorkDoneProgressOptions() *protocol.WorkDoneProgressOptions
- func (*SemanticTokensOptions) ProtoMessage()
- func (x *SemanticTokensOptions) ProtoReflect() protoreflect.Message
- func (x *SemanticTokensOptions) Reset()
- func (x *SemanticTokensOptions) String() string
- type SemanticTokensOptions_Delta
- type SemanticTokensOptions_Empty
- type SemanticTokensOptions_EnableFull
- type SemanticTokensOptions_EnableRange
- type SemanticTokensParams
- func (*SemanticTokensParams) Descriptor() ([]byte, []int)deprecated
- func (x *SemanticTokensParams) GetPartialResultParams() *PartialResultParams
- func (x *SemanticTokensParams) GetTextDocument() *protocol.TextDocumentIdentifier
- func (x *SemanticTokensParams) GetWorkDoneProgressParams() *WorkDoneProgressParams
- func (*SemanticTokensParams) ProtoMessage()
- func (x *SemanticTokensParams) ProtoReflect() protoreflect.Message
- func (x *SemanticTokensParams) Reset()
- func (x *SemanticTokensParams) String() string
- type SemanticTokensPartialResult
- func (*SemanticTokensPartialResult) Descriptor() ([]byte, []int)deprecated
- func (x *SemanticTokensPartialResult) GetData() []int32
- func (*SemanticTokensPartialResult) ProtoMessage()
- func (x *SemanticTokensPartialResult) ProtoReflect() protoreflect.Message
- func (x *SemanticTokensPartialResult) Reset()
- func (x *SemanticTokensPartialResult) String() string
- type SemanticTokensRegistrationOptions
- func (*SemanticTokensRegistrationOptions) Descriptor() ([]byte, []int)deprecated
- func (x *SemanticTokensRegistrationOptions) GetSemanticTokensOptions() *SemanticTokensOptions
- func (x *SemanticTokensRegistrationOptions) GetStaticRegistrationOptions() *protocol.StaticRegistrationOptions
- func (x *SemanticTokensRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
- func (*SemanticTokensRegistrationOptions) ProtoMessage()
- func (x *SemanticTokensRegistrationOptions) ProtoReflect() protoreflect.Message
- func (x *SemanticTokensRegistrationOptions) Reset()
- func (x *SemanticTokensRegistrationOptions) String() string
- type ServerCapabilities
- func (*ServerCapabilities) Descriptor() ([]byte, []int)deprecated
- func (x *ServerCapabilities) GetCodeActionOptions() *CodeActionOptions
- func (m *ServerCapabilities) GetCodeActionProvider() isServerCapabilities_CodeActionProvider
- func (x *ServerCapabilities) GetCodelensProvider() *CodeLensOptions
- func (m *ServerCapabilities) GetColorProvider() isServerCapabilities_ColorProvider
- func (x *ServerCapabilities) GetCompletionProvider() *CompletionOptions
- func (x *ServerCapabilities) GetDeclarationOptions() *DeclarationOptions
- func (m *ServerCapabilities) GetDeclarationProvider() isServerCapabilities_DeclarationProvider
- func (x *ServerCapabilities) GetDeclarationRegistrationOptions() *DeclarationRegistrationOptions
- func (x *ServerCapabilities) GetDefinitionOptions() *DefinitionOptions
- func (m *ServerCapabilities) GetDefinitionProvider() isServerCapabilities_DefinitionProvider
- func (x *ServerCapabilities) GetDocumentColorOptions() *DocumentColorOptions
- func (x *ServerCapabilities) GetDocumentColorRegistrationOptions() *DocumentColorRegistrationOptions
- func (x *ServerCapabilities) GetDocumentFormattingOptions() *DocumentFormattingOptions
- func (m *ServerCapabilities) GetDocumentFormattingProvider() isServerCapabilities_DocumentFormattingProvider
- func (x *ServerCapabilities) GetDocumentHighlightOptions() *DocumentHighlightOptions
- func (m *ServerCapabilities) GetDocumentHighlightProvider() isServerCapabilities_DocumentHighlightProvider
- func (x *ServerCapabilities) GetDocumentLinkProvider() *DocumentLinkOptions
- func (x *ServerCapabilities) GetDocumentOnTypeFormattingProvider() *DocumentOnTypeFormattingOptions
- func (x *ServerCapabilities) GetDocumentRangeFormattingOptions() *DocumentRangeFormattingOptions
- func (m *ServerCapabilities) GetDocumentRangeFormattingProvider() isServerCapabilities_DocumentRangeFormattingProvider
- func (x *ServerCapabilities) GetDocumentSymbolOptions() *DocumentSymbolOptions
- func (m *ServerCapabilities) GetDocumentSymbolProvider() isServerCapabilities_DocumentSymbolProvider
- func (x *ServerCapabilities) GetEnableCodeActionProvider() bool
- func (x *ServerCapabilities) GetEnableColorProvider() bool
- func (x *ServerCapabilities) GetEnableDeclarationProvider() bool
- func (x *ServerCapabilities) GetEnableDefinitionProvider() bool
- func (x *ServerCapabilities) GetEnableDocumentFormattingProvider() bool
- func (x *ServerCapabilities) GetEnableDocumentHighlightProvider() bool
- func (x *ServerCapabilities) GetEnableDocumentRangeFormattingProvider() bool
- func (x *ServerCapabilities) GetEnableDocumentSymbolProvider() bool
- func (x *ServerCapabilities) GetEnableFoldingRangeProvider() bool
- func (x *ServerCapabilities) GetEnableHoverProvider() bool
- func (x *ServerCapabilities) GetEnableImplementationProvider() bool
- func (x *ServerCapabilities) GetEnableReferencesProvider() bool
- func (x *ServerCapabilities) GetEnableRenameProvider() bool
- func (x *ServerCapabilities) GetEnableSelectionRangeProvider() bool
- func (x *ServerCapabilities) GetEnableTypeDefinitionProvider() bool
- func (x *ServerCapabilities) GetExecuteCommandProvider() *ExecuteCommandOptions
- func (x *ServerCapabilities) GetExperimental() *any.Any
- func (x *ServerCapabilities) GetFoldingRangeOptions() *FoldingRangeOptions
- func (m *ServerCapabilities) GetFoldingRangeProvider() isServerCapabilities_FoldingRangeProvider
- func (x *ServerCapabilities) GetFoldingRangeRegistrationOptions() *FoldingRangeRegistrationOptions
- func (x *ServerCapabilities) GetHoverOptions() *HoverOptions
- func (m *ServerCapabilities) GetHoverProvider() isServerCapabilities_HoverProvider
- func (x *ServerCapabilities) GetImplementationOptions() *ImplementationOptions
- func (m *ServerCapabilities) GetImplementationProvider() isServerCapabilities_ImplementationProvider
- func (x *ServerCapabilities) GetImplementationRegistrationOptions() *ImplementationRegistrationOptions
- func (x *ServerCapabilities) GetReferenceOptions() *ReferenceOptions
- func (m *ServerCapabilities) GetReferencesProvider() isServerCapabilities_ReferencesProvider
- func (x *ServerCapabilities) GetRenameOptions() *RenameOptions
- func (m *ServerCapabilities) GetRenameProvider() isServerCapabilities_RenameProvider
- func (x *ServerCapabilities) GetSelectionRangeOptions() *SelectionRangeOptions
- func (m *ServerCapabilities) GetSelectionRangeProvider() isServerCapabilities_SelectionRangeProvider
- func (x *ServerCapabilities) GetSelectionRangeRegistrationOptions() *SelectionRangeRegistrationOptions
- func (x *ServerCapabilities) GetSignatureHelpProvider() *SignatureHelpOptions
- func (m *ServerCapabilities) GetTextDocumentSync() isServerCapabilities_TextDocumentSync
- func (x *ServerCapabilities) GetTextDocumentSyncKind() TextDocumentSyncKind
- func (x *ServerCapabilities) GetTextDocumentSyncOptions() *TextDocumentSyncOptions
- func (x *ServerCapabilities) GetTypeDefinitionOptions() *TypeDefinitionOptions
- func (m *ServerCapabilities) GetTypeDefinitionProvider() isServerCapabilities_TypeDefinitionProvider
- func (x *ServerCapabilities) GetTypeDefinitionRegistrationOptions() *TypeDefinitionRegistrationOptions
- func (x *ServerCapabilities) GetWorkspace() *ServerCapabilities_Workspace
- func (x *ServerCapabilities) GetWorkspaceSymbolProvider() bool
- func (*ServerCapabilities) ProtoMessage()
- func (x *ServerCapabilities) ProtoReflect() protoreflect.Message
- func (x *ServerCapabilities) Reset()
- func (x *ServerCapabilities) String() string
- type ServerCapabilities_CodeActionOptions
- type ServerCapabilities_DeclarationOptions
- type ServerCapabilities_DeclarationRegistrationOptions
- type ServerCapabilities_DefinitionOptions
- type ServerCapabilities_DocumentColorOptions
- type ServerCapabilities_DocumentColorRegistrationOptions
- type ServerCapabilities_DocumentFormattingOptions
- type ServerCapabilities_DocumentHighlightOptions
- type ServerCapabilities_DocumentRangeFormattingOptions
- type ServerCapabilities_DocumentSymbolOptions
- type ServerCapabilities_EnableCodeActionProvider
- type ServerCapabilities_EnableColorProvider
- type ServerCapabilities_EnableDeclarationProvider
- type ServerCapabilities_EnableDefinitionProvider
- type ServerCapabilities_EnableDocumentFormattingProvider
- type ServerCapabilities_EnableDocumentHighlightProvider
- type ServerCapabilities_EnableDocumentRangeFormattingProvider
- type ServerCapabilities_EnableDocumentSymbolProvider
- type ServerCapabilities_EnableFoldingRangeProvider
- type ServerCapabilities_EnableHoverProvider
- type ServerCapabilities_EnableImplementationProvider
- type ServerCapabilities_EnableReferencesProvider
- type ServerCapabilities_EnableRenameProvider
- type ServerCapabilities_EnableSelectionRangeProvider
- type ServerCapabilities_EnableTypeDefinitionProvider
- type ServerCapabilities_FoldingRangeOptions
- type ServerCapabilities_FoldingRangeRegistrationOptions
- type ServerCapabilities_HoverOptions
- type ServerCapabilities_ImplementationOptions
- type ServerCapabilities_ImplementationRegistrationOptions
- type ServerCapabilities_ReferenceOptions
- type ServerCapabilities_RenameOptions
- type ServerCapabilities_SelectionRangeOptions
- type ServerCapabilities_SelectionRangeRegistrationOptions
- type ServerCapabilities_TextDocumentSyncKind
- type ServerCapabilities_TextDocumentSyncOptions
- type ServerCapabilities_TypeDefinitionOptions
- type ServerCapabilities_TypeDefinitionRegistrationOptions
- type ServerCapabilities_Workspace
- func (*ServerCapabilities_Workspace) Descriptor() ([]byte, []int)deprecated
- func (x *ServerCapabilities_Workspace) GetWorkspaceFolders() *WorkspaceFoldersServerCapabilities
- func (*ServerCapabilities_Workspace) ProtoMessage()
- func (x *ServerCapabilities_Workspace) ProtoReflect() protoreflect.Message
- func (x *ServerCapabilities_Workspace) Reset()
- func (x *ServerCapabilities_Workspace) String() string
- type SetTraceRequest
- type ShowMessageRequestParams
- func (*ShowMessageRequestParams) Descriptor() ([]byte, []int)deprecated
- func (x *ShowMessageRequestParams) GetMessage() string
- func (x *ShowMessageRequestParams) GetType() MessageType
- func (*ShowMessageRequestParams) ProtoMessage()
- func (x *ShowMessageRequestParams) ProtoReflect() protoreflect.Message
- func (x *ShowMessageRequestParams) Reset()
- func (x *ShowMessageRequestParams) String() string
- type ShowMessageRequestRequest
- func (*ShowMessageRequestRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ShowMessageRequestRequest) GetActions() []*MessageActionItem
- func (x *ShowMessageRequestRequest) GetMessage() string
- func (x *ShowMessageRequestRequest) GetType() MessageType
- func (*ShowMessageRequestRequest) ProtoMessage()
- func (x *ShowMessageRequestRequest) ProtoReflect() protoreflect.Message
- func (x *ShowMessageRequestRequest) Reset()
- func (x *ShowMessageRequestRequest) String() string
- type ShowMessageResponse
- func (*ShowMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ShowMessageResponse) GetEmpty() _struct.NullValue
- func (x *ShowMessageResponse) GetError() *protocol.Error
- func (x *ShowMessageResponse) GetMessageActionItem() *MessageActionItem
- func (m *ShowMessageResponse) GetShowMessageResponse() isShowMessageResponse_ShowMessageResponse
- func (*ShowMessageResponse) ProtoMessage()
- func (x *ShowMessageResponse) ProtoReflect() protoreflect.Message
- func (x *ShowMessageResponse) Reset()
- func (x *ShowMessageResponse) String() string
- type ShowMessageResponse_Empty
- type ShowMessageResponse_Error
- type ShowMessageResponse_MessageActionItem
- type SignatureHelp
- func (*SignatureHelp) Descriptor() ([]byte, []int)deprecated
- func (x *SignatureHelp) GetActiveParameter() *wrappers.Int32Value
- func (x *SignatureHelp) GetActiveSignature() *wrappers.Int32Value
- func (x *SignatureHelp) GetSignatures() []*SignatureInformation
- func (*SignatureHelp) ProtoMessage()
- func (x *SignatureHelp) ProtoReflect() protoreflect.Message
- func (x *SignatureHelp) Reset()
- func (x *SignatureHelp) String() string
- type SignatureHelpClientCapabilities
- func (*SignatureHelpClientCapabilities) Descriptor() ([]byte, []int)deprecated
- func (x *SignatureHelpClientCapabilities) GetContextSupport() bool
- func (x *SignatureHelpClientCapabilities) GetDynamicRegistration() bool
- func (x *SignatureHelpClientCapabilities) GetSignatureInformation() *SignatureHelpClientCapabilities_SignatureInformation
- func (*SignatureHelpClientCapabilities) ProtoMessage()
- func (x *SignatureHelpClientCapabilities) ProtoReflect() protoreflect.Message
- func (x *SignatureHelpClientCapabilities) Reset()
- func (x *SignatureHelpClientCapabilities) String() string
- type SignatureHelpClientCapabilities_SignatureInformation
- func (*SignatureHelpClientCapabilities_SignatureInformation) Descriptor() ([]byte, []int)deprecated
- func (x *SignatureHelpClientCapabilities_SignatureInformation) GetActiveParameterSupport() bool
- func (x *SignatureHelpClientCapabilities_SignatureInformation) GetDocumentationFormat() []protocol.MarkupKind
- func (x *SignatureHelpClientCapabilities_SignatureInformation) GetParameterInformation() *SignatureHelpClientCapabilities_SignatureInformation_ParameterInformation
- func (*SignatureHelpClientCapabilities_SignatureInformation) ProtoMessage()
- func (x *SignatureHelpClientCapabilities_SignatureInformation) ProtoReflect() protoreflect.Message
- func (x *SignatureHelpClientCapabilities_SignatureInformation) Reset()
- func (x *SignatureHelpClientCapabilities_SignatureInformation) String() string
- type SignatureHelpClientCapabilities_SignatureInformation_ParameterInformation
- func (*SignatureHelpClientCapabilities_SignatureInformation_ParameterInformation) Descriptor() ([]byte, []int)deprecated
- func (x *SignatureHelpClientCapabilities_SignatureInformation_ParameterInformation) GetLabelOffsetSupport() bool
- func (*SignatureHelpClientCapabilities_SignatureInformation_ParameterInformation) ProtoMessage()
- func (x *SignatureHelpClientCapabilities_SignatureInformation_ParameterInformation) ProtoReflect() protoreflect.Message
- func (x *SignatureHelpClientCapabilities_SignatureInformation_ParameterInformation) Reset()
- func (x *SignatureHelpClientCapabilities_SignatureInformation_ParameterInformation) String() string
- type SignatureHelpContext
- func (*SignatureHelpContext) Descriptor() ([]byte, []int)deprecated
- func (x *SignatureHelpContext) GetActiveSignatureHelp() *SignatureHelp
- func (x *SignatureHelpContext) GetIsRetrigger() bool
- func (x *SignatureHelpContext) GetTriggerCharacter() string
- func (x *SignatureHelpContext) GetTriggerKind() SignatureHelpContext_SignatureHelpTriggerKind
- func (*SignatureHelpContext) ProtoMessage()
- func (x *SignatureHelpContext) ProtoReflect() protoreflect.Message
- func (x *SignatureHelpContext) Reset()
- func (x *SignatureHelpContext) String() string
- type SignatureHelpContext_SignatureHelpTriggerKind
- func (SignatureHelpContext_SignatureHelpTriggerKind) Descriptor() protoreflect.EnumDescriptor
- func (x SignatureHelpContext_SignatureHelpTriggerKind) Enum() *SignatureHelpContext_SignatureHelpTriggerKind
- func (SignatureHelpContext_SignatureHelpTriggerKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x SignatureHelpContext_SignatureHelpTriggerKind) Number() protoreflect.EnumNumber
- func (x SignatureHelpContext_SignatureHelpTriggerKind) String() string
- func (SignatureHelpContext_SignatureHelpTriggerKind) Type() protoreflect.EnumType
- type SignatureHelpOptions
- func (*SignatureHelpOptions) Descriptor() ([]byte, []int)deprecated
- func (x *SignatureHelpOptions) GetRetriggerCharacters() []string
- func (x *SignatureHelpOptions) GetTriggerCharacters() []string
- func (x *SignatureHelpOptions) GetWorkDoneProgressOptions() *protocol.WorkDoneProgressOptions
- func (*SignatureHelpOptions) ProtoMessage()
- func (x *SignatureHelpOptions) ProtoReflect() protoreflect.Message
- func (x *SignatureHelpOptions) Reset()
- func (x *SignatureHelpOptions) String() string
- type SignatureHelpRegistrationOptions
- func (*SignatureHelpRegistrationOptions) Descriptor() ([]byte, []int)deprecated
- func (x *SignatureHelpRegistrationOptions) GetSignatureHelpOptions() *SignatureHelpOptions
- func (x *SignatureHelpRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
- func (*SignatureHelpRegistrationOptions) ProtoMessage()
- func (x *SignatureHelpRegistrationOptions) ProtoReflect() protoreflect.Message
- func (x *SignatureHelpRegistrationOptions) Reset()
- func (x *SignatureHelpRegistrationOptions) String() string
- type SignatureHelpRequest
- func (*SignatureHelpRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignatureHelpRequest) GetContext() *SignatureHelpContext
- func (x *SignatureHelpRequest) GetTextDocumentPositionParams() *protocol.TextDocumentPositionParams
- func (x *SignatureHelpRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
- func (*SignatureHelpRequest) ProtoMessage()
- func (x *SignatureHelpRequest) ProtoReflect() protoreflect.Message
- func (x *SignatureHelpRequest) Reset()
- func (x *SignatureHelpRequest) String() string
- type SignatureHelpResponse
- func (*SignatureHelpResponse) Descriptor() ([]byte, []int)deprecated
- func (m *SignatureHelpResponse) GetCompletionItemResolveResponse() isSignatureHelpResponse_CompletionItemResolveResponse
- func (x *SignatureHelpResponse) GetEmpty() _struct.NullValue
- func (x *SignatureHelpResponse) GetError() *protocol.Error
- func (x *SignatureHelpResponse) GetSignatureHelp() *SignatureHelp
- func (*SignatureHelpResponse) ProtoMessage()
- func (x *SignatureHelpResponse) ProtoReflect() protoreflect.Message
- func (x *SignatureHelpResponse) Reset()
- func (x *SignatureHelpResponse) String() string
- type SignatureHelpResponse_Empty
- type SignatureHelpResponse_Error
- type SignatureHelpResponse_SignatureHelp
- type SignatureInformation
- func (*SignatureInformation) Descriptor() ([]byte, []int)deprecated
- func (x *SignatureInformation) GetActiveParameter() *wrappers.Int32Value
- func (m *SignatureInformation) GetDocumentation() isSignatureInformation_Documentation
- func (x *SignatureInformation) GetLabel() string
- func (x *SignatureInformation) GetMarkup() string
- func (x *SignatureInformation) GetMarkupContent() *protocol.MarkupContent
- func (x *SignatureInformation) GetParameters() []*ParameterInformation
- func (*SignatureInformation) ProtoMessage()
- func (x *SignatureInformation) ProtoReflect() protoreflect.Message
- func (x *SignatureInformation) Reset()
- func (x *SignatureInformation) String() string
- type SignatureInformation_Markup
- type SignatureInformation_MarkupContent
- type SymbolInformation
- func (*SymbolInformation) Descriptor() ([]byte, []int)deprecated
- func (x *SymbolInformation) GetContainerName() string
- func (x *SymbolInformation) GetDeprecated() bool
- func (x *SymbolInformation) GetKind() SymbolKind
- func (x *SymbolInformation) GetLocation() *protocol.Location
- func (x *SymbolInformation) GetName() string
- func (*SymbolInformation) ProtoMessage()
- func (x *SymbolInformation) ProtoReflect() protoreflect.Message
- func (x *SymbolInformation) Reset()
- func (x *SymbolInformation) String() string
- type SymbolKind
- type SymbolTag
- type TelemetryParams
- type TextDocumentChangeRegistrationOptions
- func (*TextDocumentChangeRegistrationOptions) Descriptor() ([]byte, []int)deprecated
- func (x *TextDocumentChangeRegistrationOptions) GetSyncKind() TextDocumentSyncKind
- func (x *TextDocumentChangeRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
- func (*TextDocumentChangeRegistrationOptions) ProtoMessage()
- func (x *TextDocumentChangeRegistrationOptions) ProtoReflect() protoreflect.Message
- func (x *TextDocumentChangeRegistrationOptions) Reset()
- func (x *TextDocumentChangeRegistrationOptions) String() string
- type TextDocumentClientCapabilities
- func (*TextDocumentClientCapabilities) Descriptor() ([]byte, []int)deprecated
- func (x *TextDocumentClientCapabilities) GetCodeAction() *CodeActionClientCapabilities
- func (x *TextDocumentClientCapabilities) GetCodeLens() *CodeLensClientCapabilities
- func (x *TextDocumentClientCapabilities) GetColorProvider() *DocumentColorClientCapabilities
- func (x *TextDocumentClientCapabilities) GetCompletion() *CompletionClientCapabilities
- func (x *TextDocumentClientCapabilities) GetDeclaration() *DeclarationClientCapabilities
- func (x *TextDocumentClientCapabilities) GetDefinition() *DefinitionClientCapabilities
- func (x *TextDocumentClientCapabilities) GetDocumentHighlight() *DocumentHighlightClientCapabilities
- func (x *TextDocumentClientCapabilities) GetDocumentLink() *DocumentLinkClientCapabilities
- func (x *TextDocumentClientCapabilities) GetDocumentSymbol() *DocumentSymbolClientCapabilities
- func (x *TextDocumentClientCapabilities) GetFoldingRange() *FoldingRangeClientCapabilities
- func (x *TextDocumentClientCapabilities) GetFormatting() *DocumentFormattingClientCapabilities
- func (x *TextDocumentClientCapabilities) GetHover() *HoverClientCapabilities
- func (x *TextDocumentClientCapabilities) GetImplementation() *ImplementationClientCapabilities
- func (x *TextDocumentClientCapabilities) GetOnTypeFormatting() *DocumentOnTypeFormattingClientCapabilities
- func (x *TextDocumentClientCapabilities) GetPublishDiagnostics() *PublishDiagnosticsClientCapabilities
- func (x *TextDocumentClientCapabilities) GetRangeFormatting() *DocumentRangeFormattingClientCapabilities
- func (x *TextDocumentClientCapabilities) GetReferences() *ReferenceClientCapabilities
- func (x *TextDocumentClientCapabilities) GetRename() *RenameClientCapabilities
- func (x *TextDocumentClientCapabilities) GetSelectionRange() *SelectionRangeClientCapabilities
- func (x *TextDocumentClientCapabilities) GetSignatureHelp() *SignatureHelpClientCapabilities
- func (x *TextDocumentClientCapabilities) GetSynchronization() *TextDocumentSyncClientCapabilities
- func (x *TextDocumentClientCapabilities) GetTypeDefinition() *TypeDefinitionClientCapabilities
- func (*TextDocumentClientCapabilities) ProtoMessage()
- func (x *TextDocumentClientCapabilities) ProtoReflect() protoreflect.Message
- func (x *TextDocumentClientCapabilities) Reset()
- func (x *TextDocumentClientCapabilities) String() string
- type TextDocumentContentChangeEvent
- func (*TextDocumentContentChangeEvent) Descriptor() ([]byte, []int)deprecated
- func (x *TextDocumentContentChangeEvent) GetContentChangeEvent() *TextDocumentContentChangeEvent_ContentChangeEvent
- func (x *TextDocumentContentChangeEvent) GetText() string
- func (m *TextDocumentContentChangeEvent) GetTextDocumentContentChangeEvent() isTextDocumentContentChangeEvent_TextDocumentContentChangeEvent
- func (*TextDocumentContentChangeEvent) ProtoMessage()
- func (x *TextDocumentContentChangeEvent) ProtoReflect() protoreflect.Message
- func (x *TextDocumentContentChangeEvent) Reset()
- func (x *TextDocumentContentChangeEvent) String() string
- type TextDocumentContentChangeEvent_ContentChangeEvent
- func (*TextDocumentContentChangeEvent_ContentChangeEvent) Descriptor() ([]byte, []int)deprecated
- func (x *TextDocumentContentChangeEvent_ContentChangeEvent) GetRange() *protocol.Range
- func (x *TextDocumentContentChangeEvent_ContentChangeEvent) GetRangeLength() int32deprecated
- func (x *TextDocumentContentChangeEvent_ContentChangeEvent) GetText() string
- func (*TextDocumentContentChangeEvent_ContentChangeEvent) ProtoMessage()
- func (x *TextDocumentContentChangeEvent_ContentChangeEvent) ProtoReflect() protoreflect.Message
- func (x *TextDocumentContentChangeEvent_ContentChangeEvent) Reset()
- func (x *TextDocumentContentChangeEvent_ContentChangeEvent) String() string
- type TextDocumentContentChangeEvent_ContentChangeEvent_
- type TextDocumentContentChangeEvent_Text
- type TextDocumentSaveReason
- func (TextDocumentSaveReason) Descriptor() protoreflect.EnumDescriptor
- func (x TextDocumentSaveReason) Enum() *TextDocumentSaveReason
- func (TextDocumentSaveReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x TextDocumentSaveReason) Number() protoreflect.EnumNumber
- func (x TextDocumentSaveReason) String() string
- func (TextDocumentSaveReason) Type() protoreflect.EnumType
- type TextDocumentSaveRegistrationOptions
- func (*TextDocumentSaveRegistrationOptions) Descriptor() ([]byte, []int)deprecated
- func (x *TextDocumentSaveRegistrationOptions) GetIncludeText() bool
- func (x *TextDocumentSaveRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
- func (*TextDocumentSaveRegistrationOptions) ProtoMessage()
- func (x *TextDocumentSaveRegistrationOptions) ProtoReflect() protoreflect.Message
- func (x *TextDocumentSaveRegistrationOptions) Reset()
- func (x *TextDocumentSaveRegistrationOptions) String() string
- type TextDocumentSyncClientCapabilities
- func (*TextDocumentSyncClientCapabilities) Descriptor() ([]byte, []int)deprecated
- func (x *TextDocumentSyncClientCapabilities) GetDidSave() bool
- func (x *TextDocumentSyncClientCapabilities) GetDynamicRegistration() bool
- func (x *TextDocumentSyncClientCapabilities) GetWillSave() bool
- func (x *TextDocumentSyncClientCapabilities) GetWillSaveWaitUntil() bool
- func (*TextDocumentSyncClientCapabilities) ProtoMessage()
- func (x *TextDocumentSyncClientCapabilities) ProtoReflect() protoreflect.Message
- func (x *TextDocumentSyncClientCapabilities) Reset()
- func (x *TextDocumentSyncClientCapabilities) String() string
- type TextDocumentSyncKind
- func (TextDocumentSyncKind) Descriptor() protoreflect.EnumDescriptor
- func (x TextDocumentSyncKind) Enum() *TextDocumentSyncKind
- func (TextDocumentSyncKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x TextDocumentSyncKind) Number() protoreflect.EnumNumber
- func (x TextDocumentSyncKind) String() string
- func (TextDocumentSyncKind) Type() protoreflect.EnumType
- type TextDocumentSyncOptions
- func (*TextDocumentSyncOptions) Descriptor() ([]byte, []int)deprecated
- func (x *TextDocumentSyncOptions) GetChange() TextDocumentSyncKind
- func (x *TextDocumentSyncOptions) GetEnable() bool
- func (x *TextDocumentSyncOptions) GetOpenClose() bool
- func (m *TextDocumentSyncOptions) GetSave() isTextDocumentSyncOptions_Save
- func (x *TextDocumentSyncOptions) GetSaveOptions() *SaveOptions
- func (x *TextDocumentSyncOptions) GetWillSave() bool
- func (x *TextDocumentSyncOptions) GetWillSaveWaitUntil() bool
- func (*TextDocumentSyncOptions) ProtoMessage()
- func (x *TextDocumentSyncOptions) ProtoReflect() protoreflect.Message
- func (x *TextDocumentSyncOptions) Reset()
- func (x *TextDocumentSyncOptions) String() string
- type TextDocumentSyncOptions_Enable
- type TextDocumentSyncOptions_SaveOptions
- type TextEdits
- type TokenFormat
- func (TokenFormat) Descriptor() protoreflect.EnumDescriptor
- func (x TokenFormat) Enum() *TokenFormat
- func (TokenFormat) EnumDescriptor() ([]byte, []int)deprecated
- func (x TokenFormat) Number() protoreflect.EnumNumber
- func (x TokenFormat) String() string
- func (TokenFormat) Type() protoreflect.EnumType
- type TypeDefinitionClientCapabilities
- func (*TypeDefinitionClientCapabilities) Descriptor() ([]byte, []int)deprecated
- func (x *TypeDefinitionClientCapabilities) GetDynamicRegistration() bool
- func (x *TypeDefinitionClientCapabilities) GetLinkSupport() bool
- func (*TypeDefinitionClientCapabilities) ProtoMessage()
- func (x *TypeDefinitionClientCapabilities) ProtoReflect() protoreflect.Message
- func (x *TypeDefinitionClientCapabilities) Reset()
- func (x *TypeDefinitionClientCapabilities) String() string
- type TypeDefinitionOptions
- func (*TypeDefinitionOptions) Descriptor() ([]byte, []int)deprecated
- func (x *TypeDefinitionOptions) GetWorkDoneProgressOptions() *protocol.WorkDoneProgressOptions
- func (*TypeDefinitionOptions) ProtoMessage()
- func (x *TypeDefinitionOptions) ProtoReflect() protoreflect.Message
- func (x *TypeDefinitionOptions) Reset()
- func (x *TypeDefinitionOptions) String() string
- type TypeDefinitionRegistrationOptions
- func (*TypeDefinitionRegistrationOptions) Descriptor() ([]byte, []int)deprecated
- func (x *TypeDefinitionRegistrationOptions) GetStaticRegistrationOptions() *protocol.StaticRegistrationOptions
- func (x *TypeDefinitionRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
- func (x *TypeDefinitionRegistrationOptions) GetTypeDefinitionOptions() *TypeDefinitionOptions
- func (*TypeDefinitionRegistrationOptions) ProtoMessage()
- func (x *TypeDefinitionRegistrationOptions) ProtoReflect() protoreflect.Message
- func (x *TypeDefinitionRegistrationOptions) Reset()
- func (x *TypeDefinitionRegistrationOptions) String() string
- type TypeDefinitionRequest
- func (*TypeDefinitionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TypeDefinitionRequest) GetPartialResultParams() *PartialResultParams
- func (x *TypeDefinitionRequest) GetTextDocumentPositionParams() *protocol.TextDocumentPositionParams
- func (x *TypeDefinitionRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
- func (*TypeDefinitionRequest) ProtoMessage()
- func (x *TypeDefinitionRequest) ProtoReflect() protoreflect.Message
- func (x *TypeDefinitionRequest) Reset()
- func (x *TypeDefinitionRequest) String() string
- type TypeDefinitionResponse
- func (*TypeDefinitionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TypeDefinitionResponse) GetError() *protocol.Error
- func (x *TypeDefinitionResponse) GetPartialResult() *TypeDefinitionResponse_PartialResult
- func (x *TypeDefinitionResponse) GetResult() *TypeDefinitionResponse_Result
- func (m *TypeDefinitionResponse) GetTypeDefinitionResponse() isTypeDefinitionResponse_TypeDefinitionResponse
- func (*TypeDefinitionResponse) ProtoMessage()
- func (x *TypeDefinitionResponse) ProtoReflect() protoreflect.Message
- func (x *TypeDefinitionResponse) Reset()
- func (x *TypeDefinitionResponse) String() string
- type TypeDefinitionResponse_Error
- type TypeDefinitionResponse_PartialResult
- func (*TypeDefinitionResponse_PartialResult) Descriptor() ([]byte, []int)deprecated
- func (x *TypeDefinitionResponse_PartialResult) GetLocationLinks() *LocationLinks
- func (x *TypeDefinitionResponse_PartialResult) GetLocations() *Locations
- func (*TypeDefinitionResponse_PartialResult) ProtoMessage()
- func (x *TypeDefinitionResponse_PartialResult) ProtoReflect() protoreflect.Message
- func (x *TypeDefinitionResponse_PartialResult) Reset()
- func (x *TypeDefinitionResponse_PartialResult) String() string
- type TypeDefinitionResponse_PartialResult_
- type TypeDefinitionResponse_Result
- func (*TypeDefinitionResponse_Result) Descriptor() ([]byte, []int)deprecated
- func (x *TypeDefinitionResponse_Result) GetEmpty() _struct.NullValue
- func (x *TypeDefinitionResponse_Result) GetLocation() *protocol.Location
- func (x *TypeDefinitionResponse_Result) GetLocationLinks() *LocationLinks
- func (x *TypeDefinitionResponse_Result) GetLocations() *Locations
- func (*TypeDefinitionResponse_Result) ProtoMessage()
- func (x *TypeDefinitionResponse_Result) ProtoReflect() protoreflect.Message
- func (x *TypeDefinitionResponse_Result) Reset()
- func (x *TypeDefinitionResponse_Result) String() string
- type TypeDefinitionResponse_Result_
- type UnimplementedLanguageServerProtocolServer
- func (*UnimplementedLanguageServerProtocolServer) ApplyEdit(context.Context, *ApplyWorkspaceEditRequest) (*ApplyWorkspaceEditResponse, error)
- func (*UnimplementedLanguageServerProtocolServer) CallHierarchyIncomingCalls(context.Context, *CallHierarchyIncomingCallsRequest) (*CallHierarchyIncomingCallsResponse, error)
- func (*UnimplementedLanguageServerProtocolServer) CallHierarchyOutgoingCalls(context.Context, *CallHierarchyOutgoingCallsRequest) (*CallHierarchyOutgoingCallsResponse, error)
- func (*UnimplementedLanguageServerProtocolServer) Cancel(context.Context, *CancelRequest) (*empty.Empty, error)
- func (*UnimplementedLanguageServerProtocolServer) CancelWorkDoneProgress(context.Context, *WorkDoneProgressCancelRequest) (*protocol.Error, error)
- func (*UnimplementedLanguageServerProtocolServer) CodeAction(context.Context, *CodeActionRequest) (*CodeActionResponse, error)
- func (*UnimplementedLanguageServerProtocolServer) CodeLens(context.Context, *CodeLensRequest) (*CodeLensResponse, error)
- func (*UnimplementedLanguageServerProtocolServer) CodeLensResolve(context.Context, *CodeLensResolveRequest) (*CodeLensResolveResponse, error)
- func (*UnimplementedLanguageServerProtocolServer) ColorPresentation(context.Context, *ColorPresentationRequest) (*ColorPresentationResponse, error)
- func (*UnimplementedLanguageServerProtocolServer) Completion(context.Context, *CompletionRequest) (*CompletionResponse, error)
- func (*UnimplementedLanguageServerProtocolServer) CompletionItemResolve(context.Context, *CompletionItemResolveRequest) (*CompletionItemResolveResponse, error)
- func (*UnimplementedLanguageServerProtocolServer) Configuration(context.Context, *ConfigurationRequest) (*ConfigurationResponse, error)
- func (*UnimplementedLanguageServerProtocolServer) CreateWorkDoneProgress(context.Context, *WorkDoneProgressCreateRequest) (*protocol.Error, error)
- func (*UnimplementedLanguageServerProtocolServer) DidChangeConfiguration(context.Context, *DidChangeConfigurationRequest) (*empty.Empty, error)
- func (*UnimplementedLanguageServerProtocolServer) DidChangeTextDocument(context.Context, *DidChangeTextDocumentRequest) (*empty.Empty, error)
- func (*UnimplementedLanguageServerProtocolServer) DidChangeWatchedFiles(context.Context, *DidChangeWatchedFilesRequest) (*empty.Empty, error)
- func (*UnimplementedLanguageServerProtocolServer) DidChangeWorkspaceFolders(context.Context, *DidChangeWorkspaceFoldersRequest) (*empty.Empty, error)
- func (*UnimplementedLanguageServerProtocolServer) DidCloseTextDocument(context.Context, *DidCloseTextDocumentRequest) (*empty.Empty, error)
- func (*UnimplementedLanguageServerProtocolServer) DidOpenTextDocument(context.Context, *DidOpenTextDocumentRequest) (*empty.Empty, error)
- func (*UnimplementedLanguageServerProtocolServer) DidSaveTextDocument(context.Context, *DidSaveTextDocumentRequest) (*empty.Empty, error)
- func (*UnimplementedLanguageServerProtocolServer) DocumentColor(context.Context, *DocumentColorRequest) (*DocumentColorResponse, error)
- func (*UnimplementedLanguageServerProtocolServer) DocumentFormatting(context.Context, *DocumentFormattingRequest) (*DocumentFormattingResponse, error)
- func (*UnimplementedLanguageServerProtocolServer) DocumentHighlights(context.Context, *DocumentHighlightRequest) (*DocumentHighlightsResponse, error)
- func (*UnimplementedLanguageServerProtocolServer) DocumentLink(context.Context, *DocumentLinkRequest) (*DocumentLinkResponse, error)
- func (*UnimplementedLanguageServerProtocolServer) DocumentLinkResolve(context.Context, *DocumentLinkResolveRequest) (*DocumentLinkResolveResponse, error)
- func (*UnimplementedLanguageServerProtocolServer) DocumentRangeFormatting(context.Context, *DocumentRangeFormattingRequest) (*DocumentRangeFormattingResponse, error)
- func (*UnimplementedLanguageServerProtocolServer) DocumentSymbols(context.Context, *DocumentSymbolRequest) (*DocumentSymbolResponse, error)
- func (*UnimplementedLanguageServerProtocolServer) ExecuteCommand(context.Context, *ExecuteCommandParams) (*ExecuteCommandResponse, error)
- func (*UnimplementedLanguageServerProtocolServer) Exit(context.Context, *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedLanguageServerProtocolServer) FindReferences(context.Context, *ReferenceRequest) (*ReferenceResponse, error)
- func (*UnimplementedLanguageServerProtocolServer) FoldingRange(context.Context, *FoldingRangeRequest) (*FoldingRangeResponse, error)
- func (*UnimplementedLanguageServerProtocolServer) GotoDeclaration(context.Context, *DeclarationRequest) (*DeclarationResponse, error)
- func (*UnimplementedLanguageServerProtocolServer) GotoDefinition(context.Context, *DefinitionRequest) (*DefinitionResponse, error)
- func (*UnimplementedLanguageServerProtocolServer) GotoImplementation(context.Context, *ImplementationRequest) (*ImplementationResponse, error)
- func (*UnimplementedLanguageServerProtocolServer) GotoTypeDefinition(context.Context, *TypeDefinitionRequest) (*TypeDefinitionResponse, error)
- func (*UnimplementedLanguageServerProtocolServer) Hover(context.Context, *HoverRequest) (*HoverResponse, error)
- func (*UnimplementedLanguageServerProtocolServer) Initialize(context.Context, *InitializeRequest) (*InitializeResponse, error)
- func (*UnimplementedLanguageServerProtocolServer) Initialized(context.Context, *InitializedRequest) (*empty.Empty, error)
- func (*UnimplementedLanguageServerProtocolServer) LogMessage(context.Context, *LogMessageRequest) (*empty.Empty, error)
- func (*UnimplementedLanguageServerProtocolServer) LogTrace(context.Context, *LogTraceRequest) (*empty.Empty, error)
- func (*UnimplementedLanguageServerProtocolServer) OnTypeFormatting(context.Context, *DocumentOnTypeFormattingRequest) (*DocumentOnTypeFormattingResponse, error)
- func (*UnimplementedLanguageServerProtocolServer) PrepareCallHierarchy(context.Context, *CallHierarchyPrepareRequest) (*CallHierarchyPrepareResponse, error)
- func (*UnimplementedLanguageServerProtocolServer) PrepareRename(context.Context, *PrepareRenameRequest) (*PrepareRenameResponse, error)
- func (*UnimplementedLanguageServerProtocolServer) Progress(context.Context, *ProgressRequest) (*empty.Empty, error)
- func (*UnimplementedLanguageServerProtocolServer) PublishDiagnostics(context.Context, *PublishDiagnosticsRequest) (*empty.Empty, error)
- func (*UnimplementedLanguageServerProtocolServer) Rename(context.Context, *RenameRequest) (*RenameResponse, error)
- func (*UnimplementedLanguageServerProtocolServer) SelectionRange(context.Context, *SelectionRangeRequest) (*SelectionRangeResponse, error)
- func (*UnimplementedLanguageServerProtocolServer) SetTrace(context.Context, *SetTraceRequest) (*empty.Empty, error)
- func (*UnimplementedLanguageServerProtocolServer) ShowMessage(context.Context, *ShowMessageRequestParams) (*empty.Empty, error)
- func (*UnimplementedLanguageServerProtocolServer) ShowMessageRequest(context.Context, *ShowMessageRequestRequest) (*ShowMessageResponse, error)
- func (*UnimplementedLanguageServerProtocolServer) Shutdown(context.Context, *empty.Empty) (*protocol.Error, error)
- func (*UnimplementedLanguageServerProtocolServer) SignatureHelp(context.Context, *SignatureHelpRequest) (*SignatureHelpResponse, error)
- func (*UnimplementedLanguageServerProtocolServer) Telemetry(context.Context, *any.Any) (*empty.Empty, error)
- func (*UnimplementedLanguageServerProtocolServer) WillSaveTextDocument(context.Context, *WillSaveTextDocumentRequest) (*empty.Empty, error)
- func (*UnimplementedLanguageServerProtocolServer) WillSaveWaitUntilTextDocument(context.Context, *WillSaveTextDocumentRequest) (*WillSaveTextDocumentResponse, error)
- func (*UnimplementedLanguageServerProtocolServer) WorkspaceFolders(context.Context, *empty.Empty) (*WorkspaceFoldersResponse, error)
- func (*UnimplementedLanguageServerProtocolServer) WorkspaceSymbols(context.Context, *ConfigurationRequest) (*WorkspaceSymbolsResponse, error)
- type Unregistration
- func (*Unregistration) Descriptor() ([]byte, []int)deprecated
- func (x *Unregistration) GetId() string
- func (x *Unregistration) GetMethod() string
- func (*Unregistration) ProtoMessage()
- func (x *Unregistration) ProtoReflect() protoreflect.Message
- func (x *Unregistration) Reset()
- func (x *Unregistration) String() string
- type UnregistrationParams
- func (*UnregistrationParams) Descriptor() ([]byte, []int)deprecated
- func (x *UnregistrationParams) GetUnregisterations() []*Unregistration
- func (*UnregistrationParams) ProtoMessage()
- func (x *UnregistrationParams) ProtoReflect() protoreflect.Message
- func (x *UnregistrationParams) Reset()
- func (x *UnregistrationParams) String() string
- type WillSaveTextDocumentRequest
- func (*WillSaveTextDocumentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WillSaveTextDocumentRequest) GetReason() TextDocumentSaveReason
- func (x *WillSaveTextDocumentRequest) GetTextDocument() *protocol.TextDocumentIdentifier
- func (*WillSaveTextDocumentRequest) ProtoMessage()
- func (x *WillSaveTextDocumentRequest) ProtoReflect() protoreflect.Message
- func (x *WillSaveTextDocumentRequest) Reset()
- func (x *WillSaveTextDocumentRequest) String() string
- type WillSaveTextDocumentResponse
- func (*WillSaveTextDocumentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WillSaveTextDocumentResponse) GetError() *protocol.Error
- func (x *WillSaveTextDocumentResponse) GetTextEdits() *TextEdits
- func (m *WillSaveTextDocumentResponse) GetWillSaveTextDocumentResponse() isWillSaveTextDocumentResponse_WillSaveTextDocumentResponse
- func (*WillSaveTextDocumentResponse) ProtoMessage()
- func (x *WillSaveTextDocumentResponse) ProtoReflect() protoreflect.Message
- func (x *WillSaveTextDocumentResponse) Reset()
- func (x *WillSaveTextDocumentResponse) String() string
- type WillSaveTextDocumentResponse_Error
- type WillSaveTextDocumentResponse_TextEdits
- type WorkDoneProgressCancelRequest
- func (*WorkDoneProgressCancelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WorkDoneProgressCancelRequest) GetToken() *ProgressToken
- func (*WorkDoneProgressCancelRequest) ProtoMessage()
- func (x *WorkDoneProgressCancelRequest) ProtoReflect() protoreflect.Message
- func (x *WorkDoneProgressCancelRequest) Reset()
- func (x *WorkDoneProgressCancelRequest) String() string
- type WorkDoneProgressCreateRequest
- func (*WorkDoneProgressCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WorkDoneProgressCreateRequest) GetToken() *ProgressToken
- func (*WorkDoneProgressCreateRequest) ProtoMessage()
- func (x *WorkDoneProgressCreateRequest) ProtoReflect() protoreflect.Message
- func (x *WorkDoneProgressCreateRequest) Reset()
- func (x *WorkDoneProgressCreateRequest) String() string
- type WorkDoneProgressParams
- func (*WorkDoneProgressParams) Descriptor() ([]byte, []int)deprecated
- func (x *WorkDoneProgressParams) GetWorkDoneToken() *ProgressToken
- func (*WorkDoneProgressParams) ProtoMessage()
- func (x *WorkDoneProgressParams) ProtoReflect() protoreflect.Message
- func (x *WorkDoneProgressParams) Reset()
- func (x *WorkDoneProgressParams) String() string
- type WorkspaceFolder
- func (*WorkspaceFolder) Descriptor() ([]byte, []int)deprecated
- func (x *WorkspaceFolder) GetName() string
- func (x *WorkspaceFolder) GetUri() *uri.DocumentURI
- func (*WorkspaceFolder) ProtoMessage()
- func (x *WorkspaceFolder) ProtoReflect() protoreflect.Message
- func (x *WorkspaceFolder) Reset()
- func (x *WorkspaceFolder) String() string
- type WorkspaceFoldersChangeEvent
- func (*WorkspaceFoldersChangeEvent) Descriptor() ([]byte, []int)deprecated
- func (x *WorkspaceFoldersChangeEvent) GetAdded() []*WorkspaceFolder
- func (x *WorkspaceFoldersChangeEvent) GetRemoved() []*WorkspaceFolder
- func (*WorkspaceFoldersChangeEvent) ProtoMessage()
- func (x *WorkspaceFoldersChangeEvent) ProtoReflect() protoreflect.Message
- func (x *WorkspaceFoldersChangeEvent) Reset()
- func (x *WorkspaceFoldersChangeEvent) String() string
- type WorkspaceFoldersResponse
- func (*WorkspaceFoldersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WorkspaceFoldersResponse) GetEmpty() _struct.NullValue
- func (x *WorkspaceFoldersResponse) GetError() *protocol.Error
- func (x *WorkspaceFoldersResponse) GetWorkspaceFolders() *WorkspaceFoldersResponse_WorkspaceFolders
- func (m *WorkspaceFoldersResponse) GetWorkspaceFoldersResponse() isWorkspaceFoldersResponse_WorkspaceFoldersResponse
- func (*WorkspaceFoldersResponse) ProtoMessage()
- func (x *WorkspaceFoldersResponse) ProtoReflect() protoreflect.Message
- func (x *WorkspaceFoldersResponse) Reset()
- func (x *WorkspaceFoldersResponse) String() string
- type WorkspaceFoldersResponse_Empty
- type WorkspaceFoldersResponse_Error
- type WorkspaceFoldersResponse_WorkspaceFolders
- func (*WorkspaceFoldersResponse_WorkspaceFolders) Descriptor() ([]byte, []int)deprecated
- func (x *WorkspaceFoldersResponse_WorkspaceFolders) GetWorkspaceFolders() []*WorkspaceFolder
- func (*WorkspaceFoldersResponse_WorkspaceFolders) ProtoMessage()
- func (x *WorkspaceFoldersResponse_WorkspaceFolders) ProtoReflect() protoreflect.Message
- func (x *WorkspaceFoldersResponse_WorkspaceFolders) Reset()
- func (x *WorkspaceFoldersResponse_WorkspaceFolders) String() string
- type WorkspaceFoldersResponse_WorkspaceFolders_
- type WorkspaceFoldersServerCapabilities
- func (*WorkspaceFoldersServerCapabilities) Descriptor() ([]byte, []int)deprecated
- func (m *WorkspaceFoldersServerCapabilities) GetChangeNotifications() isWorkspaceFoldersServerCapabilities_ChangeNotifications
- func (x *WorkspaceFoldersServerCapabilities) GetEnable() bool
- func (x *WorkspaceFoldersServerCapabilities) GetId() string
- func (x *WorkspaceFoldersServerCapabilities) GetSupported() bool
- func (*WorkspaceFoldersServerCapabilities) ProtoMessage()
- func (x *WorkspaceFoldersServerCapabilities) ProtoReflect() protoreflect.Message
- func (x *WorkspaceFoldersServerCapabilities) Reset()
- func (x *WorkspaceFoldersServerCapabilities) String() string
- type WorkspaceFoldersServerCapabilities_Enable
- type WorkspaceFoldersServerCapabilities_Id
- type WorkspaceSymbolClientCapabilities
- func (*WorkspaceSymbolClientCapabilities) Descriptor() ([]byte, []int)deprecated
- func (x *WorkspaceSymbolClientCapabilities) GetDynamicRegistration() bool
- func (x *WorkspaceSymbolClientCapabilities) GetSymbolKind() *WorkspaceSymbolClientCapabilities_SymbolKind
- func (*WorkspaceSymbolClientCapabilities) ProtoMessage()
- func (x *WorkspaceSymbolClientCapabilities) ProtoReflect() protoreflect.Message
- func (x *WorkspaceSymbolClientCapabilities) Reset()
- func (x *WorkspaceSymbolClientCapabilities) String() string
- type WorkspaceSymbolClientCapabilities_SymbolKind
- func (*WorkspaceSymbolClientCapabilities_SymbolKind) Descriptor() ([]byte, []int)deprecated
- func (x *WorkspaceSymbolClientCapabilities_SymbolKind) GetValueSet() []*WorkspaceSymbolClientCapabilities_SymbolKind
- func (*WorkspaceSymbolClientCapabilities_SymbolKind) ProtoMessage()
- func (x *WorkspaceSymbolClientCapabilities_SymbolKind) ProtoReflect() protoreflect.Message
- func (x *WorkspaceSymbolClientCapabilities_SymbolKind) Reset()
- func (x *WorkspaceSymbolClientCapabilities_SymbolKind) String() string
- type WorkspaceSymbolParams
- func (*WorkspaceSymbolParams) Descriptor() ([]byte, []int)deprecated
- func (x *WorkspaceSymbolParams) GetPartialResultParams() *PartialResultParams
- func (x *WorkspaceSymbolParams) GetQuery() string
- func (x *WorkspaceSymbolParams) GetWorkDoneProgressParams() *WorkDoneProgressParams
- func (*WorkspaceSymbolParams) ProtoMessage()
- func (x *WorkspaceSymbolParams) ProtoReflect() protoreflect.Message
- func (x *WorkspaceSymbolParams) Reset()
- func (x *WorkspaceSymbolParams) String() string
- type WorkspaceSymbolsResponse
- func (*WorkspaceSymbolsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WorkspaceSymbolsResponse) GetError() *protocol.Error
- func (x *WorkspaceSymbolsResponse) GetSymbolInformations() *WorkspaceSymbolsResponse_SymbolInformations
- func (m *WorkspaceSymbolsResponse) GetWorkspaceSymbolsResponse() isWorkspaceSymbolsResponse_WorkspaceSymbolsResponse
- func (*WorkspaceSymbolsResponse) ProtoMessage()
- func (x *WorkspaceSymbolsResponse) ProtoReflect() protoreflect.Message
- func (x *WorkspaceSymbolsResponse) Reset()
- func (x *WorkspaceSymbolsResponse) String() string
- type WorkspaceSymbolsResponse_Error
- type WorkspaceSymbolsResponse_SymbolInformations
- func (*WorkspaceSymbolsResponse_SymbolInformations) Descriptor() ([]byte, []int)deprecated
- func (x *WorkspaceSymbolsResponse_SymbolInformations) GetSymbolInformations() []*SymbolInformation
- func (*WorkspaceSymbolsResponse_SymbolInformations) ProtoMessage()
- func (x *WorkspaceSymbolsResponse_SymbolInformations) ProtoReflect() protoreflect.Message
- func (x *WorkspaceSymbolsResponse_SymbolInformations) Reset()
- func (x *WorkspaceSymbolsResponse_SymbolInformations) String() string
- type WorkspaceSymbolsResponse_SymbolInformations_
Constants ¶
This section is empty.
Variables ¶
var ( MessageType_name = map[int32]string{ 0: "MESSAGE_TYPE_UNSPECIFIED", 1: "ERROR", 2: "WARNING", 3: "INFO", 4: "LOG", } MessageType_value = map[string]int32{ "MESSAGE_TYPE_UNSPECIFIED": 0, "ERROR": 1, "WARNING": 2, "INFO": 3, "LOG": 4, } )
Enum value maps for MessageType.
var ( TextDocumentSyncKind_name = map[int32]string{ 0: "NONE", 1: "FULL", 2: "INCREMENTAL", } TextDocumentSyncKind_value = map[string]int32{ "NONE": 0, "FULL": 1, "INCREMENTAL": 2, } )
Enum value maps for TextDocumentSyncKind.
var ( TextDocumentSaveReason_name = map[int32]string{ 0: "TEXT_DOCUMENT_SAVE_REASON_UNSPECIFIED", 1: "MANUAL", 2: "AFTERDELAY", 3: "FOCUSOUT", } TextDocumentSaveReason_value = map[string]int32{ "TEXT_DOCUMENT_SAVE_REASON_UNSPECIFIED": 0, "MANUAL": 1, "AFTERDELAY": 2, "FOCUSOUT": 3, } )
Enum value maps for TextDocumentSaveReason.
var ( CompletionTriggerKind_name = map[int32]string{ 0: "COMPLETION_TRIGGER_KIND_UNSPECIFIED", 1: "INVOKED", 2: "TRIGGER_CHARACTER", 3: "TRIGGER_FOR_INCOMPLETE_COMPLETIONS", } CompletionTriggerKind_value = map[string]int32{ "COMPLETION_TRIGGER_KIND_UNSPECIFIED": 0, "INVOKED": 1, "TRIGGER_CHARACTER": 2, "TRIGGER_FOR_INCOMPLETE_COMPLETIONS": 3, } )
Enum value maps for CompletionTriggerKind.
var ( InsertTextFormat_name = map[int32]string{ 0: "INSERT_TEXT_FORMAT_UNSPECIFIED", 1: "PLAINTEXT", 2: "SNIPPET_FORMAT", } InsertTextFormat_value = map[string]int32{ "INSERT_TEXT_FORMAT_UNSPECIFIED": 0, "PLAINTEXT": 1, "SNIPPET_FORMAT": 2, } )
Enum value maps for InsertTextFormat.
var ( CompletionItemTag_name = map[int32]string{ 0: "COMPLETION_ITEM_TAG_UNSPECIFIED", 1: "DEPRECATED_TAG", } CompletionItemTag_value = map[string]int32{ "COMPLETION_ITEM_TAG_UNSPECIFIED": 0, "DEPRECATED_TAG": 1, } )
Enum value maps for CompletionItemTag.
var ( CompletionItemKind_name = map[int32]string{ 0: "COMPLETION_ITEM_KIND_UNSPECIFIED", 1: "COMPLETION_TEXT", 2: "COMPLETION_METHOD", 3: "COMPLETION_FUNCTION", 4: "COMPLETION_CONSTRUCTOR", 5: "COMPLETION_FIELD", 6: "COMPLETION_VARIABLE", 7: "COMPLETION_CLASS", 8: "COMPLETION_INTERFACE", 9: "COMPLETION_MODULE", 10: "COMPLETION_PROPERTY", 11: "COMPLETION_UNIT", 12: "COMPLETION_VALUE", 13: "COMPLETION_ENUM", 14: "COMPLETION_KEYWORD", 15: "COMPLETION_SNIPPET", 16: "COMPLETION_COLOR", 17: "COMPLETION_FILE", 18: "COMPLETION_REFERENCE", 19: "COMPLETION_FOLDER", 20: "COMPLETION_ENUMMEMBER", 21: "COMPLETION_CONSTANT", 22: "COMPLETION_STRUCT", 23: "COMPLETION_EVENT", 24: "COMPLETION_OPERATOR", 25: "COMPLETION_TYPEPARAMETER", } CompletionItemKind_value = map[string]int32{ "COMPLETION_ITEM_KIND_UNSPECIFIED": 0, "COMPLETION_TEXT": 1, "COMPLETION_METHOD": 2, "COMPLETION_FUNCTION": 3, "COMPLETION_CONSTRUCTOR": 4, "COMPLETION_FIELD": 5, "COMPLETION_VARIABLE": 6, "COMPLETION_CLASS": 7, "COMPLETION_INTERFACE": 8, "COMPLETION_MODULE": 9, "COMPLETION_PROPERTY": 10, "COMPLETION_UNIT": 11, "COMPLETION_VALUE": 12, "COMPLETION_ENUM": 13, "COMPLETION_KEYWORD": 14, "COMPLETION_SNIPPET": 15, "COMPLETION_COLOR": 16, "COMPLETION_FILE": 17, "COMPLETION_REFERENCE": 18, "COMPLETION_FOLDER": 19, "COMPLETION_ENUMMEMBER": 20, "COMPLETION_CONSTANT": 21, "COMPLETION_STRUCT": 22, "COMPLETION_EVENT": 23, "COMPLETION_OPERATOR": 24, "COMPLETION_TYPEPARAMETER": 25, } )
Enum value maps for CompletionItemKind.
var ( SymbolKind_name = map[int32]string{ 0: "SYMBOL_KIND_UNSPECIFIED", 1: "SYMBOL_FILE", 2: "SYMBOL_MODULE", 3: "SYMBOL_NAMESPACE", 4: "SYMBOL_PACKAGE", 5: "SYMBOL_CLASS", 6: "SYMBOL_METHOD", 7: "SYMBOL_PROPERTY", 8: "SYMBOL_FIELD", 9: "SYMBOL_CONSTRUCTOR", 10: "SYMBOL_ENUM", 11: "SYMBOL_INTERFACE", 12: "SYMBOL_FUNCTION", 13: "SYMBOL_VARIABLE", 14: "SYMBOL_CONSTANT", 15: "SYMBOL_STRING", 16: "SYMBOL_NUMBER", 17: "SYMBOL_BOOLEAN", 18: "SYMBOL_ARRAY", 19: "SYMBOL_OBJECT", 20: "SYMBOL_KEY", 21: "SYMBOL_NULL", 22: "SYMBOL_ENUMMEMBER", 23: "SYMBOL_STRUCT", 24: "SYMBOL_EVENT", 25: "SYMBOL_OPERATOR", 26: "SYMBOL_TYPEPARAMETER", } SymbolKind_value = map[string]int32{ "SYMBOL_KIND_UNSPECIFIED": 0, "SYMBOL_FILE": 1, "SYMBOL_MODULE": 2, "SYMBOL_NAMESPACE": 3, "SYMBOL_PACKAGE": 4, "SYMBOL_CLASS": 5, "SYMBOL_METHOD": 6, "SYMBOL_PROPERTY": 7, "SYMBOL_FIELD": 8, "SYMBOL_CONSTRUCTOR": 9, "SYMBOL_ENUM": 10, "SYMBOL_INTERFACE": 11, "SYMBOL_FUNCTION": 12, "SYMBOL_VARIABLE": 13, "SYMBOL_CONSTANT": 14, "SYMBOL_STRING": 15, "SYMBOL_NUMBER": 16, "SYMBOL_BOOLEAN": 17, "SYMBOL_ARRAY": 18, "SYMBOL_OBJECT": 19, "SYMBOL_KEY": 20, "SYMBOL_NULL": 21, "SYMBOL_ENUMMEMBER": 22, "SYMBOL_STRUCT": 23, "SYMBOL_EVENT": 24, "SYMBOL_OPERATOR": 25, "SYMBOL_TYPEPARAMETER": 26, } )
Enum value maps for SymbolKind.
var ( SymbolTag_name = map[int32]string{ 0: "SYMBOL_TAG_UNSPECIFIED", 1: "DEPRECATED_SYMBOL_TAG", } SymbolTag_value = map[string]int32{ "SYMBOL_TAG_UNSPECIFIED": 0, "DEPRECATED_SYMBOL_TAG": 1, } )
Enum value maps for SymbolTag.
var ( CodeActionKind_name = map[int32]string{ 0: "EMPTY", 1: "QUICKFIX", 2: "REFACTOR", 3: "REFACTOR_EXTRACT", 4: "REFACTOR_INLINE", 5: "REFACTOR_REWRITE", 6: "SOURCE", 7: "SOURCE_ORGANIZE_IMPORTS", } CodeActionKind_value = map[string]int32{ "EMPTY": 0, "QUICKFIX": 1, "REFACTOR": 2, "REFACTOR_EXTRACT": 3, "REFACTOR_INLINE": 4, "REFACTOR_REWRITE": 5, "SOURCE": 6, "SOURCE_ORGANIZE_IMPORTS": 7, } )
Enum value maps for CodeActionKind.
var ( FoldingRangeKind_name = map[int32]string{ 0: "FOLDING_RANGE_KIND_UNSPECIFIED", 1: "COMMENT_RANGE", 2: "IMPORTS_RANGE", 3: "REGION_RANGE", } FoldingRangeKind_value = map[string]int32{ "FOLDING_RANGE_KIND_UNSPECIFIED": 0, "COMMENT_RANGE": 1, "IMPORTS_RANGE": 2, "REGION_RANGE": 3, } )
Enum value maps for FoldingRangeKind.
var ( SemanticTokenTypes_name = map[int32]string{ 0: "SEMANTIC_TOKEN_TYPES_UNSPECIFIED", 1: "NAMESPACE", 2: "TYPE", 3: "CLASS", 4: "ENUM", 5: "INTERFACE", 6: "STRUCT", 7: "TYPE_PARAMETER", 8: "PARAMETER", 9: "VARIABLE", 10: "PROPERTY", 11: "ENUMMEMBER", 12: "EVENT", 13: "FUNCTION", 14: "MEMBER", 15: "MACRO", 16: "KEYWORD", 17: "MODIFIER", 18: "COMMENT", 19: "STRING", 20: "NUMBER", 21: "REGEXP", 22: "OPERATOR", } SemanticTokenTypes_value = map[string]int32{ "SEMANTIC_TOKEN_TYPES_UNSPECIFIED": 0, "NAMESPACE": 1, "TYPE": 2, "CLASS": 3, "ENUM": 4, "INTERFACE": 5, "STRUCT": 6, "TYPE_PARAMETER": 7, "PARAMETER": 8, "VARIABLE": 9, "PROPERTY": 10, "ENUMMEMBER": 11, "EVENT": 12, "FUNCTION": 13, "MEMBER": 14, "MACRO": 15, "KEYWORD": 16, "MODIFIER": 17, "COMMENT": 18, "STRING": 19, "NUMBER": 20, "REGEXP": 21, "OPERATOR": 22, } )
Enum value maps for SemanticTokenTypes.
var ( SemanticTokenModifiers_name = map[int32]string{ 0: "SEMANTIC_TOKEN_MODIFIERS_UNSPECIFIED", 1: "DECLARATION", 2: "DEFINITION", 3: "READONLY", 4: "STATIC", 5: "DEPRECATED", 6: "ABSTRACT", 7: "ASYNC", 8: "MODIFICATION", 9: "DOCUMENTATION", 10: "DEFAULT_LIBRARY", } SemanticTokenModifiers_value = map[string]int32{ "SEMANTIC_TOKEN_MODIFIERS_UNSPECIFIED": 0, "DECLARATION": 1, "DEFINITION": 2, "READONLY": 3, "STATIC": 4, "DEPRECATED": 5, "ABSTRACT": 6, "ASYNC": 7, "MODIFICATION": 8, "DOCUMENTATION": 9, "DEFAULT_LIBRARY": 10, } )
Enum value maps for SemanticTokenModifiers.
var ( TokenFormat_name = map[int32]string{ 0: "TOKEN_FORMAT_UNSPECIFIED", 1: "RELATIVE", } TokenFormat_value = map[string]int32{ "TOKEN_FORMAT_UNSPECIFIED": 0, "RELATIVE": 1, } )
Enum value maps for TokenFormat.
var ( FileSystemWatcher_WatchKind_name = map[int32]string{ 0: "WATCH_KIND_UNSPECIFIED", 1: "CREATE", 2: "CHANGE", 4: "DELETE", } FileSystemWatcher_WatchKind_value = map[string]int32{ "WATCH_KIND_UNSPECIFIED": 0, "CREATE": 1, "CHANGE": 2, "DELETE": 4, } )
Enum value maps for FileSystemWatcher_WatchKind.
var ( FileEvent_FileChangeType_name = map[int32]string{ 0: "FILE_CHANGE_TYPE_UNSPECIFIED", 1: "CREATED", 2: "CHANGED", 3: "DELETED", } FileEvent_FileChangeType_value = map[string]int32{ "FILE_CHANGE_TYPE_UNSPECIFIED": 0, "CREATED": 1, "CHANGED": 2, "DELETED": 3, } )
Enum value maps for FileEvent_FileChangeType.
var ( SignatureHelpContext_SignatureHelpTriggerKind_name = map[int32]string{ 0: "SIGNATURE_HELP_TRIGGER_KIND_UNSPECIFIED", 1: "INVOKED", 2: "TRIGGER_CHARACTER", 3: "CONTENT_CHANGE", } SignatureHelpContext_SignatureHelpTriggerKind_value = map[string]int32{ "SIGNATURE_HELP_TRIGGER_KIND_UNSPECIFIED": 0, "INVOKED": 1, "TRIGGER_CHARACTER": 2, "CONTENT_CHANGE": 3, } )
Enum value maps for SignatureHelpContext_SignatureHelpTriggerKind.
var ( DocumentHighlight_DocumentHighlightKind_name = map[int32]string{ 0: "DOCUMENT_HIGHLIGHT_KIND_UNSPECIFIED", 1: "TEXT", 2: "READ", 3: "WRITE", } DocumentHighlight_DocumentHighlightKind_value = map[string]int32{ "DOCUMENT_HIGHLIGHT_KIND_UNSPECIFIED": 0, "TEXT": 1, "READ": 2, "WRITE": 3, } )
Enum value maps for DocumentHighlight_DocumentHighlightKind.
var File_protocol_rpc_rpc_proto protoreflect.FileDescriptor
Functions ¶
func RegisterLanguageServerProtocolHandler ¶
func RegisterLanguageServerProtocolHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterLanguageServerProtocolHandler registers the http handlers for service LanguageServerProtocol to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterLanguageServerProtocolHandlerClient ¶
func RegisterLanguageServerProtocolHandlerClient(ctx context.Context, mux *runtime.ServeMux, client LanguageServerProtocolClient) error
RegisterLanguageServerProtocolHandlerClient registers the http handlers for service LanguageServerProtocol to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "LanguageServerProtocolClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "LanguageServerProtocolClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "LanguageServerProtocolClient" to call the correct interceptors.
func RegisterLanguageServerProtocolHandlerFromEndpoint ¶
func RegisterLanguageServerProtocolHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterLanguageServerProtocolHandlerFromEndpoint is same as RegisterLanguageServerProtocolHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterLanguageServerProtocolHandlerServer ¶
func RegisterLanguageServerProtocolHandlerServer(ctx context.Context, mux *runtime.ServeMux, server LanguageServerProtocolServer) error
RegisterLanguageServerProtocolHandlerServer registers the http handlers for service LanguageServerProtocol to "mux". UnaryRPC :call LanguageServerProtocolServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.
func RegisterLanguageServerProtocolServer ¶
func RegisterLanguageServerProtocolServer(s *grpc.Server, srv LanguageServerProtocolServer)
Types ¶
type ApplyWorkspaceEditRequest ¶
type ApplyWorkspaceEditRequest struct { // An optional label of the workspace edit. This label is // presented in the user interface for example on an undo // stack to undo the workspace edit. Label *wrappers.StringValue `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` // The edits to apply. Edit *protocol.WorkspaceEdit `protobuf:"bytes,2,opt,name=edit,proto3" json:"edit,omitempty"` // contains filtered or unexported fields }
ApplyWorkspaceEditRequest is the parameters of a `workspace/applyEdit` request.
func (*ApplyWorkspaceEditRequest) Descriptor
deprecated
func (*ApplyWorkspaceEditRequest) Descriptor() ([]byte, []int)
Deprecated: Use ApplyWorkspaceEditRequest.ProtoReflect.Descriptor instead.
func (*ApplyWorkspaceEditRequest) GetEdit ¶
func (x *ApplyWorkspaceEditRequest) GetEdit() *protocol.WorkspaceEdit
func (*ApplyWorkspaceEditRequest) GetLabel ¶
func (x *ApplyWorkspaceEditRequest) GetLabel() *wrappers.StringValue
func (*ApplyWorkspaceEditRequest) ProtoMessage ¶
func (*ApplyWorkspaceEditRequest) ProtoMessage()
func (*ApplyWorkspaceEditRequest) ProtoReflect ¶
func (x *ApplyWorkspaceEditRequest) ProtoReflect() protoreflect.Message
func (*ApplyWorkspaceEditRequest) Reset ¶
func (x *ApplyWorkspaceEditRequest) Reset()
func (*ApplyWorkspaceEditRequest) String ¶
func (x *ApplyWorkspaceEditRequest) String() string
type ApplyWorkspaceEditResponse ¶
type ApplyWorkspaceEditResponse struct { // Indicates whether the edit was applied or not. Applied bool `protobuf:"varint,1,opt,name=applied,proto3" json:"applied,omitempty"` // An optional textual description for why the edit was not applied. // This may be used may be used by the server for diagnostic // logging or to provide a suitable error for a request that // triggered the edit. FailureReason *wrappers.StringValue `protobuf:"bytes,2,opt,name=failure_reason,json=failureReason,proto3" json:"failure_reason,omitempty"` // contains filtered or unexported fields }
ApplyWorkspaceEditResponse is the parameters of a ApplyWorkspaceEdit response.
func (*ApplyWorkspaceEditResponse) Descriptor
deprecated
func (*ApplyWorkspaceEditResponse) Descriptor() ([]byte, []int)
Deprecated: Use ApplyWorkspaceEditResponse.ProtoReflect.Descriptor instead.
func (*ApplyWorkspaceEditResponse) GetApplied ¶
func (x *ApplyWorkspaceEditResponse) GetApplied() bool
func (*ApplyWorkspaceEditResponse) GetFailureReason ¶
func (x *ApplyWorkspaceEditResponse) GetFailureReason() *wrappers.StringValue
func (*ApplyWorkspaceEditResponse) ProtoMessage ¶
func (*ApplyWorkspaceEditResponse) ProtoMessage()
func (*ApplyWorkspaceEditResponse) ProtoReflect ¶
func (x *ApplyWorkspaceEditResponse) ProtoReflect() protoreflect.Message
func (*ApplyWorkspaceEditResponse) Reset ¶
func (x *ApplyWorkspaceEditResponse) Reset()
func (*ApplyWorkspaceEditResponse) String ¶
func (x *ApplyWorkspaceEditResponse) String() string
type CallHierarchyClientCapabilities ¶
type CallHierarchyClientCapabilities struct { // Optional. Whether implementation supports dynamic registration. If this is set to `true` // the client supports the new // `([TextDocumentRegistrationOptions][TextDocumentRegistrationOptions] & // [StaticRegistrationOptions][StaticRegistrationOptions])` return value for the corresponding // server capability as well. DynamicRegistration bool `protobuf:"varint,1,opt,name=dynamic_registration,json=dynamicRegistration,proto3" json:"dynamic_registration,omitempty"` // contains filtered or unexported fields }
CallHierarchyClientCapabilities represents a client capabilities of `textDocument/prepareCallHierarchy` request.
@since 3.16.0
func (*CallHierarchyClientCapabilities) Descriptor
deprecated
func (*CallHierarchyClientCapabilities) Descriptor() ([]byte, []int)
Deprecated: Use CallHierarchyClientCapabilities.ProtoReflect.Descriptor instead.
func (*CallHierarchyClientCapabilities) GetDynamicRegistration ¶
func (x *CallHierarchyClientCapabilities) GetDynamicRegistration() bool
func (*CallHierarchyClientCapabilities) ProtoMessage ¶
func (*CallHierarchyClientCapabilities) ProtoMessage()
func (*CallHierarchyClientCapabilities) ProtoReflect ¶
func (x *CallHierarchyClientCapabilities) ProtoReflect() protoreflect.Message
func (*CallHierarchyClientCapabilities) Reset ¶
func (x *CallHierarchyClientCapabilities) Reset()
func (*CallHierarchyClientCapabilities) String ¶
func (x *CallHierarchyClientCapabilities) String() string
type CallHierarchyIncomingCall ¶
type CallHierarchyIncomingCall struct { // The item that makes the call. // (-- api-linter: core::0140::reserved-words=disabled // api-linter: core::0140::prepositions=disabled --) From *CallHierarchyItem `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` // The ranges at which the calls appear. This is relative to the caller // denoted by [`this.from`][CallHierarchyIncomingCall.from]. // (-- api-linter: core::0140::prepositions=disabled --) FromRanges []*protocol.Range `protobuf:"bytes,2,rep,name=from_ranges,json=fromRanges,proto3" json:"from_ranges,omitempty"` // contains filtered or unexported fields }
CallHierarchyIncomingCall represents a item of call hierarchy incoming call.
@since 3.16.0
func (*CallHierarchyIncomingCall) Descriptor
deprecated
func (*CallHierarchyIncomingCall) Descriptor() ([]byte, []int)
Deprecated: Use CallHierarchyIncomingCall.ProtoReflect.Descriptor instead.
func (*CallHierarchyIncomingCall) GetFrom ¶
func (x *CallHierarchyIncomingCall) GetFrom() *CallHierarchyItem
func (*CallHierarchyIncomingCall) GetFromRanges ¶
func (x *CallHierarchyIncomingCall) GetFromRanges() []*protocol.Range
func (*CallHierarchyIncomingCall) ProtoMessage ¶
func (*CallHierarchyIncomingCall) ProtoMessage()
func (*CallHierarchyIncomingCall) ProtoReflect ¶
func (x *CallHierarchyIncomingCall) ProtoReflect() protoreflect.Message
func (*CallHierarchyIncomingCall) Reset ¶
func (x *CallHierarchyIncomingCall) Reset()
func (*CallHierarchyIncomingCall) String ¶
func (x *CallHierarchyIncomingCall) String() string
type CallHierarchyIncomingCallsRequest ¶
type CallHierarchyIncomingCallsRequest struct { // extends WorkDoneProgressParams *WorkDoneProgressParams `` /* 131-byte string literal not displayed */ // extends PartialResultParams *PartialResultParams `protobuf:"bytes,2,opt,name=partial_result_params,json=partialResultParams,proto3" json:"partial_result_params,omitempty"` Item *CallHierarchyItem `protobuf:"bytes,3,opt,name=item,proto3" json:"item,omitempty"` // contains filtered or unexported fields }
CallHierarchyIncomingCallsRequest is the parameters of a `textDocument/incomingCalls` request.
@since 3.16.0
func (*CallHierarchyIncomingCallsRequest) Descriptor
deprecated
func (*CallHierarchyIncomingCallsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CallHierarchyIncomingCallsRequest.ProtoReflect.Descriptor instead.
func (*CallHierarchyIncomingCallsRequest) GetItem ¶
func (x *CallHierarchyIncomingCallsRequest) GetItem() *CallHierarchyItem
func (*CallHierarchyIncomingCallsRequest) GetPartialResultParams ¶
func (x *CallHierarchyIncomingCallsRequest) GetPartialResultParams() *PartialResultParams
func (*CallHierarchyIncomingCallsRequest) GetWorkDoneProgressParams ¶
func (x *CallHierarchyIncomingCallsRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
func (*CallHierarchyIncomingCallsRequest) ProtoMessage ¶
func (*CallHierarchyIncomingCallsRequest) ProtoMessage()
func (*CallHierarchyIncomingCallsRequest) ProtoReflect ¶
func (x *CallHierarchyIncomingCallsRequest) ProtoReflect() protoreflect.Message
func (*CallHierarchyIncomingCallsRequest) Reset ¶
func (x *CallHierarchyIncomingCallsRequest) Reset()
func (*CallHierarchyIncomingCallsRequest) String ¶
func (x *CallHierarchyIncomingCallsRequest) String() string
type CallHierarchyIncomingCallsResponse ¶
type CallHierarchyIncomingCallsResponse struct { // Types that are assignable to CallHierarchyIncomingCallsResponse: // *CallHierarchyIncomingCallsResponse_Result_ // *CallHierarchyIncomingCallsResponse_PartialResult_ // *CallHierarchyIncomingCallsResponse_Error CallHierarchyIncomingCallsResponse isCallHierarchyIncomingCallsResponse_CallHierarchyIncomingCallsResponse `protobuf_oneof:"call_hierarchy_incoming_calls_response"` // contains filtered or unexported fields }
CallHierarchyIncomingCallsResponse represents a CallHierarchyIncomingCalls response.
func (*CallHierarchyIncomingCallsResponse) Descriptor
deprecated
func (*CallHierarchyIncomingCallsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CallHierarchyIncomingCallsResponse.ProtoReflect.Descriptor instead.
func (*CallHierarchyIncomingCallsResponse) GetCallHierarchyIncomingCallsResponse ¶
func (m *CallHierarchyIncomingCallsResponse) GetCallHierarchyIncomingCallsResponse() isCallHierarchyIncomingCallsResponse_CallHierarchyIncomingCallsResponse
func (*CallHierarchyIncomingCallsResponse) GetError ¶
func (x *CallHierarchyIncomingCallsResponse) GetError() *protocol.Error
func (*CallHierarchyIncomingCallsResponse) GetPartialResult ¶
func (x *CallHierarchyIncomingCallsResponse) GetPartialResult() *CallHierarchyIncomingCallsResponse_PartialResult
func (*CallHierarchyIncomingCallsResponse) GetResult ¶
func (x *CallHierarchyIncomingCallsResponse) GetResult() *CallHierarchyIncomingCallsResponse_Result
func (*CallHierarchyIncomingCallsResponse) ProtoMessage ¶
func (*CallHierarchyIncomingCallsResponse) ProtoMessage()
func (*CallHierarchyIncomingCallsResponse) ProtoReflect ¶
func (x *CallHierarchyIncomingCallsResponse) ProtoReflect() protoreflect.Message
func (*CallHierarchyIncomingCallsResponse) Reset ¶
func (x *CallHierarchyIncomingCallsResponse) Reset()
func (*CallHierarchyIncomingCallsResponse) String ¶
func (x *CallHierarchyIncomingCallsResponse) String() string
type CallHierarchyIncomingCallsResponse_PartialResult ¶
type CallHierarchyIncomingCallsResponse_PartialResult struct { CallHierarchyIncomingCalls []*CallHierarchyIncomingCall `` /* 143-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CallHierarchyIncomingCallsResponse_PartialResult) Descriptor
deprecated
func (*CallHierarchyIncomingCallsResponse_PartialResult) Descriptor() ([]byte, []int)
Deprecated: Use CallHierarchyIncomingCallsResponse_PartialResult.ProtoReflect.Descriptor instead.
func (*CallHierarchyIncomingCallsResponse_PartialResult) GetCallHierarchyIncomingCalls ¶
func (x *CallHierarchyIncomingCallsResponse_PartialResult) GetCallHierarchyIncomingCalls() []*CallHierarchyIncomingCall
func (*CallHierarchyIncomingCallsResponse_PartialResult) ProtoMessage ¶
func (*CallHierarchyIncomingCallsResponse_PartialResult) ProtoMessage()
func (*CallHierarchyIncomingCallsResponse_PartialResult) ProtoReflect ¶
func (x *CallHierarchyIncomingCallsResponse_PartialResult) ProtoReflect() protoreflect.Message
func (*CallHierarchyIncomingCallsResponse_PartialResult) Reset ¶
func (x *CallHierarchyIncomingCallsResponse_PartialResult) Reset()
func (*CallHierarchyIncomingCallsResponse_PartialResult) String ¶
func (x *CallHierarchyIncomingCallsResponse_PartialResult) String() string
type CallHierarchyIncomingCallsResponse_PartialResult_ ¶
type CallHierarchyIncomingCallsResponse_PartialResult_ struct {
PartialResult *CallHierarchyIncomingCallsResponse_PartialResult `protobuf:"bytes,2,opt,name=partial_result,json=partialResult,proto3,oneof"`
}
type CallHierarchyIncomingCallsResponse_Result ¶
type CallHierarchyIncomingCallsResponse_Result struct { CallHierarchyIncomingCalls []*CallHierarchyIncomingCall `` /* 143-byte string literal not displayed */ Empty _struct.NullValue `protobuf:"varint,2,opt,name=empty,proto3,enum=google.protobuf.NullValue" json:"empty,omitempty"` // contains filtered or unexported fields }
func (*CallHierarchyIncomingCallsResponse_Result) Descriptor
deprecated
func (*CallHierarchyIncomingCallsResponse_Result) Descriptor() ([]byte, []int)
Deprecated: Use CallHierarchyIncomingCallsResponse_Result.ProtoReflect.Descriptor instead.
func (*CallHierarchyIncomingCallsResponse_Result) GetCallHierarchyIncomingCalls ¶
func (x *CallHierarchyIncomingCallsResponse_Result) GetCallHierarchyIncomingCalls() []*CallHierarchyIncomingCall
func (*CallHierarchyIncomingCallsResponse_Result) GetEmpty ¶
func (x *CallHierarchyIncomingCallsResponse_Result) GetEmpty() _struct.NullValue
func (*CallHierarchyIncomingCallsResponse_Result) ProtoMessage ¶
func (*CallHierarchyIncomingCallsResponse_Result) ProtoMessage()
func (*CallHierarchyIncomingCallsResponse_Result) ProtoReflect ¶
func (x *CallHierarchyIncomingCallsResponse_Result) ProtoReflect() protoreflect.Message
func (*CallHierarchyIncomingCallsResponse_Result) Reset ¶
func (x *CallHierarchyIncomingCallsResponse_Result) Reset()
func (*CallHierarchyIncomingCallsResponse_Result) String ¶
func (x *CallHierarchyIncomingCallsResponse_Result) String() string
type CallHierarchyIncomingCallsResponse_Result_ ¶
type CallHierarchyIncomingCallsResponse_Result_ struct {
Result *CallHierarchyIncomingCallsResponse_Result `protobuf:"bytes,1,opt,name=result,proto3,oneof"`
}
type CallHierarchyItem ¶
type CallHierarchyItem struct { // The name of this item. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The kind of this item. Kind SymbolKind `protobuf:"varint,2,opt,name=kind,proto3,enum=protocol.rpc.SymbolKind" json:"kind,omitempty"` // Tags for this item. Tags []SymbolTag `protobuf:"varint,3,rep,packed,name=tags,proto3,enum=protocol.rpc.SymbolTag" json:"tags,omitempty"` // More detail for this item, e.g. the signature of a function. Detail *wrappers.StringValue `protobuf:"bytes,4,opt,name=detail,proto3" json:"detail,omitempty"` // The resource identifier of this item. Uri *uri.DocumentURI `protobuf:"bytes,5,opt,name=uri,proto3" json:"uri,omitempty"` // The range enclosing this symbol not including leading/trailing whitespace but everything else, // e.g. comments and code. Range *protocol.Range `protobuf:"bytes,6,opt,name=range,proto3" json:"range,omitempty"` // The range that should be selected and revealed when this symbol is being picked, e.g. the name // of a function. Must be contained by the [`range`][CallHierarchyItem.range]. SelectionRange *protocol.Range `protobuf:"bytes,7,opt,name=selection_range,json=selectionRange,proto3" json:"selection_range,omitempty"` // contains filtered or unexported fields }
CallHierarchyItem represents a item of call hierarchy.
@since 3.16.0 (-- api-linter: core::0123::resource-annotation=disabled --)
func (*CallHierarchyItem) Descriptor
deprecated
func (*CallHierarchyItem) Descriptor() ([]byte, []int)
Deprecated: Use CallHierarchyItem.ProtoReflect.Descriptor instead.
func (*CallHierarchyItem) GetDetail ¶
func (x *CallHierarchyItem) GetDetail() *wrappers.StringValue
func (*CallHierarchyItem) GetKind ¶
func (x *CallHierarchyItem) GetKind() SymbolKind
func (*CallHierarchyItem) GetName ¶
func (x *CallHierarchyItem) GetName() string
func (*CallHierarchyItem) GetRange ¶
func (x *CallHierarchyItem) GetRange() *protocol.Range
func (*CallHierarchyItem) GetSelectionRange ¶
func (x *CallHierarchyItem) GetSelectionRange() *protocol.Range
func (*CallHierarchyItem) GetTags ¶
func (x *CallHierarchyItem) GetTags() []SymbolTag
func (*CallHierarchyItem) GetUri ¶
func (x *CallHierarchyItem) GetUri() *uri.DocumentURI
func (*CallHierarchyItem) ProtoMessage ¶
func (*CallHierarchyItem) ProtoMessage()
func (*CallHierarchyItem) ProtoReflect ¶
func (x *CallHierarchyItem) ProtoReflect() protoreflect.Message
func (*CallHierarchyItem) Reset ¶
func (x *CallHierarchyItem) Reset()
func (*CallHierarchyItem) String ¶
func (x *CallHierarchyItem) String() string
type CallHierarchyOptions ¶
type CallHierarchyOptions struct { // extends WorkDoneProgressOptions *protocol.WorkDoneProgressOptions `` /* 134-byte string literal not displayed */ // contains filtered or unexported fields }
CallHierarchyOptions represents a server capabilities option of callHierarchyProvider.
@since 3.16.0
func (*CallHierarchyOptions) Descriptor
deprecated
func (*CallHierarchyOptions) Descriptor() ([]byte, []int)
Deprecated: Use CallHierarchyOptions.ProtoReflect.Descriptor instead.
func (*CallHierarchyOptions) GetWorkDoneProgressOptions ¶
func (x *CallHierarchyOptions) GetWorkDoneProgressOptions() *protocol.WorkDoneProgressOptions
func (*CallHierarchyOptions) ProtoMessage ¶
func (*CallHierarchyOptions) ProtoMessage()
func (*CallHierarchyOptions) ProtoReflect ¶
func (x *CallHierarchyOptions) ProtoReflect() protoreflect.Message
func (*CallHierarchyOptions) Reset ¶
func (x *CallHierarchyOptions) Reset()
func (*CallHierarchyOptions) String ¶
func (x *CallHierarchyOptions) String() string
type CallHierarchyOutgoingCall ¶
type CallHierarchyOutgoingCall struct { // The item that is called. // (-- api-linter: core::0140::prepositions=disabled --) To *CallHierarchyItem `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"` // The range at which this item is called. This is the range relative to the caller, e.g the item // passed to // [`provideCallHierarchyOutgoingCalls`][CallHierarchyItemProvider.provideCallHierarchyOutgoingCalls] // and not [`this.to`][CallHierarchyOutgoingCall.to]. // (-- api-linter: core::0140::prepositions=disabled --) FromRanges []*protocol.Range `protobuf:"bytes,2,rep,name=from_ranges,json=fromRanges,proto3" json:"from_ranges,omitempty"` // contains filtered or unexported fields }
CallHierarchyOutgoingCall represents a item of call hierarchy outgoing call.
@since 3.16.0
func (*CallHierarchyOutgoingCall) Descriptor
deprecated
func (*CallHierarchyOutgoingCall) Descriptor() ([]byte, []int)
Deprecated: Use CallHierarchyOutgoingCall.ProtoReflect.Descriptor instead.
func (*CallHierarchyOutgoingCall) GetFromRanges ¶
func (x *CallHierarchyOutgoingCall) GetFromRanges() []*protocol.Range
func (*CallHierarchyOutgoingCall) GetTo ¶
func (x *CallHierarchyOutgoingCall) GetTo() *CallHierarchyItem
func (*CallHierarchyOutgoingCall) ProtoMessage ¶
func (*CallHierarchyOutgoingCall) ProtoMessage()
func (*CallHierarchyOutgoingCall) ProtoReflect ¶
func (x *CallHierarchyOutgoingCall) ProtoReflect() protoreflect.Message
func (*CallHierarchyOutgoingCall) Reset ¶
func (x *CallHierarchyOutgoingCall) Reset()
func (*CallHierarchyOutgoingCall) String ¶
func (x *CallHierarchyOutgoingCall) String() string
type CallHierarchyOutgoingCallsRequest ¶
type CallHierarchyOutgoingCallsRequest struct { // extends WorkDoneProgressParams *WorkDoneProgressParams `` /* 131-byte string literal not displayed */ // extends PartialResultParams *PartialResultParams `protobuf:"bytes,2,opt,name=partial_result_params,json=partialResultParams,proto3" json:"partial_result_params,omitempty"` Item *CallHierarchyItem `protobuf:"bytes,3,opt,name=item,proto3" json:"item,omitempty"` // contains filtered or unexported fields }
CallHierarchyOutgoingCallsRequest is the parameters of a `callHierarchy/outgoingCalls` request.
@since 3.16.0
func (*CallHierarchyOutgoingCallsRequest) Descriptor
deprecated
func (*CallHierarchyOutgoingCallsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CallHierarchyOutgoingCallsRequest.ProtoReflect.Descriptor instead.
func (*CallHierarchyOutgoingCallsRequest) GetItem ¶
func (x *CallHierarchyOutgoingCallsRequest) GetItem() *CallHierarchyItem
func (*CallHierarchyOutgoingCallsRequest) GetPartialResultParams ¶
func (x *CallHierarchyOutgoingCallsRequest) GetPartialResultParams() *PartialResultParams
func (*CallHierarchyOutgoingCallsRequest) GetWorkDoneProgressParams ¶
func (x *CallHierarchyOutgoingCallsRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
func (*CallHierarchyOutgoingCallsRequest) ProtoMessage ¶
func (*CallHierarchyOutgoingCallsRequest) ProtoMessage()
func (*CallHierarchyOutgoingCallsRequest) ProtoReflect ¶
func (x *CallHierarchyOutgoingCallsRequest) ProtoReflect() protoreflect.Message
func (*CallHierarchyOutgoingCallsRequest) Reset ¶
func (x *CallHierarchyOutgoingCallsRequest) Reset()
func (*CallHierarchyOutgoingCallsRequest) String ¶
func (x *CallHierarchyOutgoingCallsRequest) String() string
type CallHierarchyOutgoingCallsResponse ¶
type CallHierarchyOutgoingCallsResponse struct { // Types that are assignable to CallHierarchyOutgoingCallsResponse: // *CallHierarchyOutgoingCallsResponse_Result_ // *CallHierarchyOutgoingCallsResponse_PartialResult_ // *CallHierarchyOutgoingCallsResponse_Error CallHierarchyOutgoingCallsResponse isCallHierarchyOutgoingCallsResponse_CallHierarchyOutgoingCallsResponse `protobuf_oneof:"call_hierarchy_outgoing_calls_response"` // contains filtered or unexported fields }
CallHierarchyIncomingCallsResponse represents a CallHierarchyOutgoingCalls response.
func (*CallHierarchyOutgoingCallsResponse) Descriptor
deprecated
func (*CallHierarchyOutgoingCallsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CallHierarchyOutgoingCallsResponse.ProtoReflect.Descriptor instead.
func (*CallHierarchyOutgoingCallsResponse) GetCallHierarchyOutgoingCallsResponse ¶
func (m *CallHierarchyOutgoingCallsResponse) GetCallHierarchyOutgoingCallsResponse() isCallHierarchyOutgoingCallsResponse_CallHierarchyOutgoingCallsResponse
func (*CallHierarchyOutgoingCallsResponse) GetError ¶
func (x *CallHierarchyOutgoingCallsResponse) GetError() *protocol.Error
func (*CallHierarchyOutgoingCallsResponse) GetPartialResult ¶
func (x *CallHierarchyOutgoingCallsResponse) GetPartialResult() *CallHierarchyOutgoingCallsResponse_PartialResult
func (*CallHierarchyOutgoingCallsResponse) GetResult ¶
func (x *CallHierarchyOutgoingCallsResponse) GetResult() *CallHierarchyOutgoingCallsResponse_Result
func (*CallHierarchyOutgoingCallsResponse) ProtoMessage ¶
func (*CallHierarchyOutgoingCallsResponse) ProtoMessage()
func (*CallHierarchyOutgoingCallsResponse) ProtoReflect ¶
func (x *CallHierarchyOutgoingCallsResponse) ProtoReflect() protoreflect.Message
func (*CallHierarchyOutgoingCallsResponse) Reset ¶
func (x *CallHierarchyOutgoingCallsResponse) Reset()
func (*CallHierarchyOutgoingCallsResponse) String ¶
func (x *CallHierarchyOutgoingCallsResponse) String() string
type CallHierarchyOutgoingCallsResponse_PartialResult ¶
type CallHierarchyOutgoingCallsResponse_PartialResult struct { CallHierarchyOutgoingCalls []*CallHierarchyOutgoingCall `` /* 143-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CallHierarchyOutgoingCallsResponse_PartialResult) Descriptor
deprecated
func (*CallHierarchyOutgoingCallsResponse_PartialResult) Descriptor() ([]byte, []int)
Deprecated: Use CallHierarchyOutgoingCallsResponse_PartialResult.ProtoReflect.Descriptor instead.
func (*CallHierarchyOutgoingCallsResponse_PartialResult) GetCallHierarchyOutgoingCalls ¶
func (x *CallHierarchyOutgoingCallsResponse_PartialResult) GetCallHierarchyOutgoingCalls() []*CallHierarchyOutgoingCall
func (*CallHierarchyOutgoingCallsResponse_PartialResult) ProtoMessage ¶
func (*CallHierarchyOutgoingCallsResponse_PartialResult) ProtoMessage()
func (*CallHierarchyOutgoingCallsResponse_PartialResult) ProtoReflect ¶
func (x *CallHierarchyOutgoingCallsResponse_PartialResult) ProtoReflect() protoreflect.Message
func (*CallHierarchyOutgoingCallsResponse_PartialResult) Reset ¶
func (x *CallHierarchyOutgoingCallsResponse_PartialResult) Reset()
func (*CallHierarchyOutgoingCallsResponse_PartialResult) String ¶
func (x *CallHierarchyOutgoingCallsResponse_PartialResult) String() string
type CallHierarchyOutgoingCallsResponse_PartialResult_ ¶
type CallHierarchyOutgoingCallsResponse_PartialResult_ struct {
PartialResult *CallHierarchyOutgoingCallsResponse_PartialResult `protobuf:"bytes,2,opt,name=partial_result,json=partialResult,proto3,oneof"`
}
type CallHierarchyOutgoingCallsResponse_Result ¶
type CallHierarchyOutgoingCallsResponse_Result struct { CallHierarchyOutgoingCalls []*CallHierarchyOutgoingCall `` /* 143-byte string literal not displayed */ Empty _struct.NullValue `protobuf:"varint,2,opt,name=empty,proto3,enum=google.protobuf.NullValue" json:"empty,omitempty"` // contains filtered or unexported fields }
func (*CallHierarchyOutgoingCallsResponse_Result) Descriptor
deprecated
func (*CallHierarchyOutgoingCallsResponse_Result) Descriptor() ([]byte, []int)
Deprecated: Use CallHierarchyOutgoingCallsResponse_Result.ProtoReflect.Descriptor instead.
func (*CallHierarchyOutgoingCallsResponse_Result) GetCallHierarchyOutgoingCalls ¶
func (x *CallHierarchyOutgoingCallsResponse_Result) GetCallHierarchyOutgoingCalls() []*CallHierarchyOutgoingCall
func (*CallHierarchyOutgoingCallsResponse_Result) GetEmpty ¶
func (x *CallHierarchyOutgoingCallsResponse_Result) GetEmpty() _struct.NullValue
func (*CallHierarchyOutgoingCallsResponse_Result) ProtoMessage ¶
func (*CallHierarchyOutgoingCallsResponse_Result) ProtoMessage()
func (*CallHierarchyOutgoingCallsResponse_Result) ProtoReflect ¶
func (x *CallHierarchyOutgoingCallsResponse_Result) ProtoReflect() protoreflect.Message
func (*CallHierarchyOutgoingCallsResponse_Result) Reset ¶
func (x *CallHierarchyOutgoingCallsResponse_Result) Reset()
func (*CallHierarchyOutgoingCallsResponse_Result) String ¶
func (x *CallHierarchyOutgoingCallsResponse_Result) String() string
type CallHierarchyOutgoingCallsResponse_Result_ ¶
type CallHierarchyOutgoingCallsResponse_Result_ struct {
Result *CallHierarchyOutgoingCallsResponse_Result `protobuf:"bytes,1,opt,name=result,proto3,oneof"`
}
type CallHierarchyPrepareRequest ¶
type CallHierarchyPrepareRequest struct { // extends TextDocumentPositionParams *protocol.TextDocumentPositionParams `` /* 143-byte string literal not displayed */ // extends WorkDoneProgressParams *WorkDoneProgressParams `` /* 131-byte string literal not displayed */ // contains filtered or unexported fields }
CallHierarchyPrepareRequest is the parameters of a `textDocument/prepareCallHierarchy` request.
@since 3.16.0
func (*CallHierarchyPrepareRequest) Descriptor
deprecated
func (*CallHierarchyPrepareRequest) Descriptor() ([]byte, []int)
Deprecated: Use CallHierarchyPrepareRequest.ProtoReflect.Descriptor instead.
func (*CallHierarchyPrepareRequest) GetTextDocumentPositionParams ¶
func (x *CallHierarchyPrepareRequest) GetTextDocumentPositionParams() *protocol.TextDocumentPositionParams
func (*CallHierarchyPrepareRequest) GetWorkDoneProgressParams ¶
func (x *CallHierarchyPrepareRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
func (*CallHierarchyPrepareRequest) ProtoMessage ¶
func (*CallHierarchyPrepareRequest) ProtoMessage()
func (*CallHierarchyPrepareRequest) ProtoReflect ¶
func (x *CallHierarchyPrepareRequest) ProtoReflect() protoreflect.Message
func (*CallHierarchyPrepareRequest) Reset ¶
func (x *CallHierarchyPrepareRequest) Reset()
func (*CallHierarchyPrepareRequest) String ¶
func (x *CallHierarchyPrepareRequest) String() string
type CallHierarchyPrepareResponse ¶
type CallHierarchyPrepareResponse struct { // Types that are assignable to CallHierarchyPrepareResponse: // *CallHierarchyPrepareResponse_Result_ // *CallHierarchyPrepareResponse_Error CallHierarchyPrepareResponse isCallHierarchyPrepareResponse_CallHierarchyPrepareResponse `protobuf_oneof:"call_hierarchy_prepare_response"` // contains filtered or unexported fields }
CallHierarchyPrepareResponse represents a PrepareCallHierarchy response.
func (*CallHierarchyPrepareResponse) Descriptor
deprecated
func (*CallHierarchyPrepareResponse) Descriptor() ([]byte, []int)
Deprecated: Use CallHierarchyPrepareResponse.ProtoReflect.Descriptor instead.
func (*CallHierarchyPrepareResponse) GetCallHierarchyPrepareResponse ¶
func (m *CallHierarchyPrepareResponse) GetCallHierarchyPrepareResponse() isCallHierarchyPrepareResponse_CallHierarchyPrepareResponse
func (*CallHierarchyPrepareResponse) GetError ¶
func (x *CallHierarchyPrepareResponse) GetError() *protocol.Error
func (*CallHierarchyPrepareResponse) GetResult ¶
func (x *CallHierarchyPrepareResponse) GetResult() *CallHierarchyPrepareResponse_Result
func (*CallHierarchyPrepareResponse) ProtoMessage ¶
func (*CallHierarchyPrepareResponse) ProtoMessage()
func (*CallHierarchyPrepareResponse) ProtoReflect ¶
func (x *CallHierarchyPrepareResponse) ProtoReflect() protoreflect.Message
func (*CallHierarchyPrepareResponse) Reset ¶
func (x *CallHierarchyPrepareResponse) Reset()
func (*CallHierarchyPrepareResponse) String ¶
func (x *CallHierarchyPrepareResponse) String() string
type CallHierarchyPrepareResponse_Result ¶
type CallHierarchyPrepareResponse_Result struct { CallHierarchyItems []*CallHierarchyItem `protobuf:"bytes,1,rep,name=call_hierarchy_items,json=callHierarchyItems,proto3" json:"call_hierarchy_items,omitempty"` Empty _struct.NullValue `protobuf:"varint,2,opt,name=empty,proto3,enum=google.protobuf.NullValue" json:"empty,omitempty"` // contains filtered or unexported fields }
func (*CallHierarchyPrepareResponse_Result) Descriptor
deprecated
func (*CallHierarchyPrepareResponse_Result) Descriptor() ([]byte, []int)
Deprecated: Use CallHierarchyPrepareResponse_Result.ProtoReflect.Descriptor instead.
func (*CallHierarchyPrepareResponse_Result) GetCallHierarchyItems ¶
func (x *CallHierarchyPrepareResponse_Result) GetCallHierarchyItems() []*CallHierarchyItem
func (*CallHierarchyPrepareResponse_Result) GetEmpty ¶
func (x *CallHierarchyPrepareResponse_Result) GetEmpty() _struct.NullValue
func (*CallHierarchyPrepareResponse_Result) ProtoMessage ¶
func (*CallHierarchyPrepareResponse_Result) ProtoMessage()
func (*CallHierarchyPrepareResponse_Result) ProtoReflect ¶
func (x *CallHierarchyPrepareResponse_Result) ProtoReflect() protoreflect.Message
func (*CallHierarchyPrepareResponse_Result) Reset ¶
func (x *CallHierarchyPrepareResponse_Result) Reset()
func (*CallHierarchyPrepareResponse_Result) String ¶
func (x *CallHierarchyPrepareResponse_Result) String() string
type CallHierarchyPrepareResponse_Result_ ¶
type CallHierarchyPrepareResponse_Result_ struct {
Result *CallHierarchyPrepareResponse_Result `protobuf:"bytes,1,opt,name=result,proto3,oneof"`
}
type CallHierarchyRegistrationOptions ¶
type CallHierarchyRegistrationOptions struct { // extends TextDocumentRegistrationOptions *protocol.TextDocumentRegistrationOptions `` /* 158-byte string literal not displayed */ CallHierarchyOptions *CallHierarchyOptions `protobuf:"bytes,2,opt,name=call_hierarchy_options,json=callHierarchyOptions,proto3" json:"call_hierarchy_options,omitempty"` // extends StaticRegistrationOptions *protocol.StaticRegistrationOptions `` /* 138-byte string literal not displayed */ // contains filtered or unexported fields }
CallHierarchyRegistrationOptions represents a registration option of CallHierarchy.
@since 3.16.0
func (*CallHierarchyRegistrationOptions) Descriptor
deprecated
func (*CallHierarchyRegistrationOptions) Descriptor() ([]byte, []int)
Deprecated: Use CallHierarchyRegistrationOptions.ProtoReflect.Descriptor instead.
func (*CallHierarchyRegistrationOptions) GetCallHierarchyOptions ¶
func (x *CallHierarchyRegistrationOptions) GetCallHierarchyOptions() *CallHierarchyOptions
func (*CallHierarchyRegistrationOptions) GetStaticRegistrationOptions ¶
func (x *CallHierarchyRegistrationOptions) GetStaticRegistrationOptions() *protocol.StaticRegistrationOptions
func (*CallHierarchyRegistrationOptions) GetTextDocumentRegistrationOptions ¶
func (x *CallHierarchyRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
func (*CallHierarchyRegistrationOptions) ProtoMessage ¶
func (*CallHierarchyRegistrationOptions) ProtoMessage()
func (*CallHierarchyRegistrationOptions) ProtoReflect ¶
func (x *CallHierarchyRegistrationOptions) ProtoReflect() protoreflect.Message
func (*CallHierarchyRegistrationOptions) Reset ¶
func (x *CallHierarchyRegistrationOptions) Reset()
func (*CallHierarchyRegistrationOptions) String ¶
func (x *CallHierarchyRegistrationOptions) String() string
type CancelRequest ¶
type CancelRequest struct { // Required. The request id to cancel. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
CancelRequest represents a cancel notification params.
func (*CancelRequest) Descriptor
deprecated
func (*CancelRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelRequest.ProtoReflect.Descriptor instead.
func (*CancelRequest) GetId ¶
func (x *CancelRequest) GetId() int32
func (*CancelRequest) ProtoMessage ¶
func (*CancelRequest) ProtoMessage()
func (*CancelRequest) ProtoReflect ¶
func (x *CancelRequest) ProtoReflect() protoreflect.Message
func (*CancelRequest) Reset ¶
func (x *CancelRequest) Reset()
func (*CancelRequest) String ¶
func (x *CancelRequest) String() string
type ClientCapabilities ¶
type ClientCapabilities struct { // Optional. Workspace specific client capabilities. Workspace *ClientCapabilities_Workspace `protobuf:"bytes,1,opt,name=workspace,proto3" json:"workspace,omitempty"` // Optional. Text document specific client capabilities. TextDocument *TextDocumentClientCapabilities `protobuf:"bytes,2,opt,name=text_document,json=textDocument,proto3" json:"text_document,omitempty"` // Optional. Window specific client capabilities. Window *ClientCapabilities_Window `protobuf:"bytes,3,opt,name=window,proto3" json:"window,omitempty"` // Optional. Experimental client capabilities. Experimental *any.Any `protobuf:"bytes,4,opt,name=experimental,proto3" json:"experimental,omitempty"` // contains filtered or unexported fields }
ClientCapabilities define capabilities for dynamic registration, workspace and text document features the client supports.
The experimental can be used to pass experimental capabilities under development. For future compatibility a ClientCapabilities object literal can have more properties set than currently defined. Servers receiving a ClientCapabilities object literal with unknown properties should ignore these properties. A missing property should be interpreted as an absence of the capability. If a missing property normally defines sub properties, all missing sub properties should be interpreted as an absence of the corresponding capability.
Client capabilities got introduced with version 3.0 of the protocol. They therefore only describe capabilities that got introduced in 3.x or later. Capabilities that existed in the 2.x version of the protocol are still mandatory for clients. Clients cannot opt out of providing them. So even if a client omits the ClientCapabilities.textDocument.synchronization it is still required that the client provides text document synchronization (e.g. open, changed and close notifications).
func (*ClientCapabilities) Descriptor
deprecated
func (*ClientCapabilities) Descriptor() ([]byte, []int)
Deprecated: Use ClientCapabilities.ProtoReflect.Descriptor instead.
func (*ClientCapabilities) GetExperimental ¶
func (x *ClientCapabilities) GetExperimental() *any.Any
func (*ClientCapabilities) GetTextDocument ¶
func (x *ClientCapabilities) GetTextDocument() *TextDocumentClientCapabilities
func (*ClientCapabilities) GetWindow ¶
func (x *ClientCapabilities) GetWindow() *ClientCapabilities_Window
func (*ClientCapabilities) GetWorkspace ¶
func (x *ClientCapabilities) GetWorkspace() *ClientCapabilities_Workspace
func (*ClientCapabilities) ProtoMessage ¶
func (*ClientCapabilities) ProtoMessage()
func (*ClientCapabilities) ProtoReflect ¶
func (x *ClientCapabilities) ProtoReflect() protoreflect.Message
func (*ClientCapabilities) Reset ¶
func (x *ClientCapabilities) Reset()
func (*ClientCapabilities) String ¶
func (x *ClientCapabilities) String() string
type ClientCapabilities_Window ¶
type ClientCapabilities_Window struct { // Optional. Whether client supports handling progress notifications. If set servers are allowed // to report in `workDoneProgress` property in the request specific server capabilities. // // @since 3.15.0 WorkDoneProgress bool `protobuf:"varint,1,opt,name=work_done_progress,json=workDoneProgress,proto3" json:"work_done_progress,omitempty"` // contains filtered or unexported fields }
Window specific client capabilities.
func (*ClientCapabilities_Window) Descriptor
deprecated
func (*ClientCapabilities_Window) Descriptor() ([]byte, []int)
Deprecated: Use ClientCapabilities_Window.ProtoReflect.Descriptor instead.
func (*ClientCapabilities_Window) GetWorkDoneProgress ¶
func (x *ClientCapabilities_Window) GetWorkDoneProgress() bool
func (*ClientCapabilities_Window) ProtoMessage ¶
func (*ClientCapabilities_Window) ProtoMessage()
func (*ClientCapabilities_Window) ProtoReflect ¶
func (x *ClientCapabilities_Window) ProtoReflect() protoreflect.Message
func (*ClientCapabilities_Window) Reset ¶
func (x *ClientCapabilities_Window) Reset()
func (*ClientCapabilities_Window) String ¶
func (x *ClientCapabilities_Window) String() string
type ClientCapabilities_Workspace ¶
type ClientCapabilities_Workspace struct { // Optional. The client supports applying batch edits to the workspace by supporting the request // 'workspace/applyEdit'. ApplyEdit bool `protobuf:"varint,1,opt,name=apply_edit,json=applyEdit,proto3" json:"apply_edit,omitempty"` // Optional. Capabilities specific to `WorkspaceEdit`s. WorkspaceEdit *protocol.WorkspaceEditClientCapabilities `protobuf:"bytes,2,opt,name=workspace_edit,json=workspaceEdit,proto3" json:"workspace_edit,omitempty"` // Optional. Capabilities specific to the `workspace/didChangeConfiguration` notification. DidChangeConfiguration *DidChangeConfigurationClientCapabilities `` /* 129-byte string literal not displayed */ // Optional. Capabilities specific to the `workspace/didChangeWatchedFiles` notification. DidChangeWatchedFiles *DidChangeWatchedFilesClientCapabilities `` /* 128-byte string literal not displayed */ // Optional. Capabilities specific to the `workspace/symbol` request. Symbol *WorkspaceSymbolClientCapabilities `protobuf:"bytes,5,opt,name=symbol,proto3" json:"symbol,omitempty"` // Optional. Capabilities specific to the `workspace/executeCommand` request. ExecuteCommand *ExecuteCommandClientCapabilities `protobuf:"bytes,6,opt,name=execute_command,json=executeCommand,proto3" json:"execute_command,omitempty"` // Optional. The client has support for workspace folders. // // @since 3.6.0 WorkspaceFolders bool `protobuf:"varint,7,opt,name=workspace_folders,json=workspaceFolders,proto3" json:"workspace_folders,omitempty"` // Optional. The client supports `workspace/configuration` requests. // // @since 3.6.0 Configuration bool `protobuf:"varint,8,opt,name=configuration,proto3" json:"configuration,omitempty"` // contains filtered or unexported fields }
Workspace specific client capabilities.
func (*ClientCapabilities_Workspace) Descriptor
deprecated
func (*ClientCapabilities_Workspace) Descriptor() ([]byte, []int)
Deprecated: Use ClientCapabilities_Workspace.ProtoReflect.Descriptor instead.
func (*ClientCapabilities_Workspace) GetApplyEdit ¶
func (x *ClientCapabilities_Workspace) GetApplyEdit() bool
func (*ClientCapabilities_Workspace) GetConfiguration ¶
func (x *ClientCapabilities_Workspace) GetConfiguration() bool
func (*ClientCapabilities_Workspace) GetDidChangeConfiguration ¶
func (x *ClientCapabilities_Workspace) GetDidChangeConfiguration() *DidChangeConfigurationClientCapabilities
func (*ClientCapabilities_Workspace) GetDidChangeWatchedFiles ¶
func (x *ClientCapabilities_Workspace) GetDidChangeWatchedFiles() *DidChangeWatchedFilesClientCapabilities
func (*ClientCapabilities_Workspace) GetExecuteCommand ¶
func (x *ClientCapabilities_Workspace) GetExecuteCommand() *ExecuteCommandClientCapabilities
func (*ClientCapabilities_Workspace) GetSymbol ¶
func (x *ClientCapabilities_Workspace) GetSymbol() *WorkspaceSymbolClientCapabilities
func (*ClientCapabilities_Workspace) GetWorkspaceEdit ¶
func (x *ClientCapabilities_Workspace) GetWorkspaceEdit() *protocol.WorkspaceEditClientCapabilities
func (*ClientCapabilities_Workspace) GetWorkspaceFolders ¶
func (x *ClientCapabilities_Workspace) GetWorkspaceFolders() bool
func (*ClientCapabilities_Workspace) ProtoMessage ¶
func (*ClientCapabilities_Workspace) ProtoMessage()
func (*ClientCapabilities_Workspace) ProtoReflect ¶
func (x *ClientCapabilities_Workspace) ProtoReflect() protoreflect.Message
func (*ClientCapabilities_Workspace) Reset ¶
func (x *ClientCapabilities_Workspace) Reset()
func (*ClientCapabilities_Workspace) String ¶
func (x *ClientCapabilities_Workspace) String() string
type CodeAction ¶
type CodeAction struct { // A short, human-readable, title for this code action. Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // The kind of the code action. // // Used to filter code actions. Kind CodeActionKind `protobuf:"varint,2,opt,name=kind,proto3,enum=protocol.rpc.CodeActionKind" json:"kind,omitempty"` // The diagnostics that this code action resolves. Diagnostics []*protocol.Diagnostic `protobuf:"bytes,3,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` // Optional. Marks this as a preferred action. Preferred actions are used by the `auto fix` // command and can be targeted by keybindings. // // A quick fix should be marked preferred if it properly addresses the underlying error. // A refactoring should be marked preferred if it is the most reasonable choice of actions to // take. // // @since 3.15.0 IsPreferred bool `protobuf:"varint,4,opt,name=is_preferred,json=isPreferred,proto3" json:"is_preferred,omitempty"` // Optional. The workspace edit this code action performs. Edit *protocol.WorkspaceEdit `protobuf:"bytes,5,opt,name=edit,proto3" json:"edit,omitempty"` // Optional. A command this code action executes. If a code action // provides an edit and a command, first the edit is // executed and then the command. Command *protocol.Command `protobuf:"bytes,6,opt,name=command,proto3" json:"command,omitempty"` // contains filtered or unexported fields }
CodeAction is a code action represents a change that can be performed in code, e.g. to fix a problem or to refactor code.
A CodeAction must set either `edit` and/or a `command`. If both are supplied, the `edit` is applied first, then the `command` is executed.
func (*CodeAction) Descriptor
deprecated
func (*CodeAction) Descriptor() ([]byte, []int)
Deprecated: Use CodeAction.ProtoReflect.Descriptor instead.
func (*CodeAction) GetCommand ¶
func (x *CodeAction) GetCommand() *protocol.Command
func (*CodeAction) GetDiagnostics ¶
func (x *CodeAction) GetDiagnostics() []*protocol.Diagnostic
func (*CodeAction) GetEdit ¶
func (x *CodeAction) GetEdit() *protocol.WorkspaceEdit
func (*CodeAction) GetIsPreferred ¶
func (x *CodeAction) GetIsPreferred() bool
func (*CodeAction) GetKind ¶
func (x *CodeAction) GetKind() CodeActionKind
func (*CodeAction) GetTitle ¶
func (x *CodeAction) GetTitle() string
func (*CodeAction) ProtoMessage ¶
func (*CodeAction) ProtoMessage()
func (*CodeAction) ProtoReflect ¶
func (x *CodeAction) ProtoReflect() protoreflect.Message
func (*CodeAction) Reset ¶
func (x *CodeAction) Reset()
func (*CodeAction) String ¶
func (x *CodeAction) String() string
type CodeActionClientCapabilities ¶
type CodeActionClientCapabilities struct { // Optional. Whether code action supports dynamic registration. DynamicRegistration bool `protobuf:"varint,1,opt,name=dynamic_registration,json=dynamicRegistration,proto3" json:"dynamic_registration,omitempty"` // The client supports code action literals as a valid // response of the `textDocument/codeAction` request. // // @since 3.8.0 CodeActionLiteralSupport *CodeActionClientCapabilities_CodeActionLiteralSupport `` /* 137-byte string literal not displayed */ // Optional. Whether code action supports the `isPreferred` property. // // @since 3.15.0 IsPreferredSupport bool `protobuf:"varint,3,opt,name=is_preferred_support,json=isPreferredSupport,proto3" json:"is_preferred_support,omitempty"` // contains filtered or unexported fields }
CodeActionClientCapabilities represents a client capabilities of `textDocument/codeAction` request.
func (*CodeActionClientCapabilities) Descriptor
deprecated
func (*CodeActionClientCapabilities) Descriptor() ([]byte, []int)
Deprecated: Use CodeActionClientCapabilities.ProtoReflect.Descriptor instead.
func (*CodeActionClientCapabilities) GetCodeActionLiteralSupport ¶
func (x *CodeActionClientCapabilities) GetCodeActionLiteralSupport() *CodeActionClientCapabilities_CodeActionLiteralSupport
func (*CodeActionClientCapabilities) GetDynamicRegistration ¶
func (x *CodeActionClientCapabilities) GetDynamicRegistration() bool
func (*CodeActionClientCapabilities) GetIsPreferredSupport ¶
func (x *CodeActionClientCapabilities) GetIsPreferredSupport() bool
func (*CodeActionClientCapabilities) ProtoMessage ¶
func (*CodeActionClientCapabilities) ProtoMessage()
func (*CodeActionClientCapabilities) ProtoReflect ¶
func (x *CodeActionClientCapabilities) ProtoReflect() protoreflect.Message
func (*CodeActionClientCapabilities) Reset ¶
func (x *CodeActionClientCapabilities) Reset()
func (*CodeActionClientCapabilities) String ¶
func (x *CodeActionClientCapabilities) String() string
type CodeActionClientCapabilities_CodeActionLiteralSupport ¶
type CodeActionClientCapabilities_CodeActionLiteralSupport struct { // The code action kind is supported with the following value // set. CodeActionKind *CodeActionClientCapabilities_CodeActionLiteralSupport_CodeActionKind `protobuf:"bytes,1,opt,name=code_action_kind,json=codeActionKind,proto3" json:"code_action_kind,omitempty"` // contains filtered or unexported fields }
func (*CodeActionClientCapabilities_CodeActionLiteralSupport) Descriptor
deprecated
func (*CodeActionClientCapabilities_CodeActionLiteralSupport) Descriptor() ([]byte, []int)
Deprecated: Use CodeActionClientCapabilities_CodeActionLiteralSupport.ProtoReflect.Descriptor instead.
func (*CodeActionClientCapabilities_CodeActionLiteralSupport) GetCodeActionKind ¶
func (x *CodeActionClientCapabilities_CodeActionLiteralSupport) GetCodeActionKind() *CodeActionClientCapabilities_CodeActionLiteralSupport_CodeActionKind
func (*CodeActionClientCapabilities_CodeActionLiteralSupport) ProtoMessage ¶
func (*CodeActionClientCapabilities_CodeActionLiteralSupport) ProtoMessage()
func (*CodeActionClientCapabilities_CodeActionLiteralSupport) ProtoReflect ¶
func (x *CodeActionClientCapabilities_CodeActionLiteralSupport) ProtoReflect() protoreflect.Message
func (*CodeActionClientCapabilities_CodeActionLiteralSupport) Reset ¶
func (x *CodeActionClientCapabilities_CodeActionLiteralSupport) Reset()
func (*CodeActionClientCapabilities_CodeActionLiteralSupport) String ¶
func (x *CodeActionClientCapabilities_CodeActionLiteralSupport) String() string
type CodeActionClientCapabilities_CodeActionLiteralSupport_CodeActionKind ¶
type CodeActionClientCapabilities_CodeActionLiteralSupport_CodeActionKind struct { // The code action kind values the client supports. When this // property exists the client also guarantees that it will // handle values outside its set gracefully and falls back // to a default value when unknown. ValueSet []*CodeActionClientCapabilities_CodeActionLiteralSupport_CodeActionKind `protobuf:"bytes,1,rep,name=value_set,json=valueSet,proto3" json:"value_set,omitempty"` // contains filtered or unexported fields }
func (*CodeActionClientCapabilities_CodeActionLiteralSupport_CodeActionKind) Descriptor
deprecated
func (*CodeActionClientCapabilities_CodeActionLiteralSupport_CodeActionKind) Descriptor() ([]byte, []int)
Deprecated: Use CodeActionClientCapabilities_CodeActionLiteralSupport_CodeActionKind.ProtoReflect.Descriptor instead.
func (*CodeActionClientCapabilities_CodeActionLiteralSupport_CodeActionKind) GetValueSet ¶
func (*CodeActionClientCapabilities_CodeActionLiteralSupport_CodeActionKind) ProtoMessage ¶
func (*CodeActionClientCapabilities_CodeActionLiteralSupport_CodeActionKind) ProtoMessage()
func (*CodeActionClientCapabilities_CodeActionLiteralSupport_CodeActionKind) ProtoReflect ¶
func (x *CodeActionClientCapabilities_CodeActionLiteralSupport_CodeActionKind) ProtoReflect() protoreflect.Message
func (*CodeActionClientCapabilities_CodeActionLiteralSupport_CodeActionKind) Reset ¶
func (x *CodeActionClientCapabilities_CodeActionLiteralSupport_CodeActionKind) Reset()
func (*CodeActionClientCapabilities_CodeActionLiteralSupport_CodeActionKind) String ¶
func (x *CodeActionClientCapabilities_CodeActionLiteralSupport_CodeActionKind) String() string
type CodeActionContext ¶
type CodeActionContext struct { // An array of diagnostics known on the client side overlapping the range provided to the // `textDocument/codeAction` request. They are provided so that the server knows which // errors are currently presented to the user for the given range. There is no guarantee // that these accurately reflect the error state of the resource. The primary parameter // to compute code actions is the provided range. Diagnostics []*protocol.Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` // Requested kind of actions to return. // // Actions not of this kind are filtered out by the client before being shown. So servers // can omit computing them. Only []CodeActionKind `protobuf:"varint,2,rep,packed,name=only,proto3,enum=protocol.rpc.CodeActionKind" json:"only,omitempty"` // contains filtered or unexported fields }
CodeActionContext contains additional diagnostic information about the context in which a code action is run.
func (*CodeActionContext) Descriptor
deprecated
func (*CodeActionContext) Descriptor() ([]byte, []int)
Deprecated: Use CodeActionContext.ProtoReflect.Descriptor instead.
func (*CodeActionContext) GetDiagnostics ¶
func (x *CodeActionContext) GetDiagnostics() []*protocol.Diagnostic
func (*CodeActionContext) GetOnly ¶
func (x *CodeActionContext) GetOnly() []CodeActionKind
func (*CodeActionContext) ProtoMessage ¶
func (*CodeActionContext) ProtoMessage()
func (*CodeActionContext) ProtoReflect ¶
func (x *CodeActionContext) ProtoReflect() protoreflect.Message
func (*CodeActionContext) Reset ¶
func (x *CodeActionContext) Reset()
func (*CodeActionContext) String ¶
func (x *CodeActionContext) String() string
type CodeActionKind ¶
type CodeActionKind int32
CodeActionKind is the kind of a code action.
Kinds are a hierarchical list of identifiers separated by `.`, e.g. `"refactor.extract.function"`.
The set of kinds is open and client needs to announce the kinds it supports to the server during initialization.
A set of predefined code action kinds. (-- api-linter: core::0126::unspecified=disabled --)
const ( // Empty kind. CodeActionKind_EMPTY CodeActionKind = 0 // Base kind for quickfix actions: 'quickfix'. CodeActionKind_QUICKFIX CodeActionKind = 1 // Base kind for refactoring actions: 'refactor'. CodeActionKind_REFACTOR CodeActionKind = 2 // Base kind for refactoring extraction actions: 'refactor.extract'. // // Example extract actions: // // - Extract method // - Extract function // - Extract variable // - Extract interface from class // - ... CodeActionKind_REFACTOR_EXTRACT CodeActionKind = 3 // Base kind for refactoring inline actions: 'refactor.inline'. // // Example inline actions: // // - Inline function // - Inline variable // - Inline constant // - ... CodeActionKind_REFACTOR_INLINE CodeActionKind = 4 // Base kind for refactoring rewrite actions: 'refactor.rewrite'. // // Example rewrite actions: // // - Convert JavaScript function to class // - Add or remove parameter // - Encapsulate field // - Make method static // - Move method to base class // - ... CodeActionKind_REFACTOR_REWRITE CodeActionKind = 5 // Base kind for source actions: `source`. // // Source code actions apply to the entire file. CodeActionKind_SOURCE CodeActionKind = 6 // Base kind for an organize imports source action: `source.organizeImports`. CodeActionKind_SOURCE_ORGANIZE_IMPORTS CodeActionKind = 7 )
func (CodeActionKind) Descriptor ¶
func (CodeActionKind) Descriptor() protoreflect.EnumDescriptor
func (CodeActionKind) Enum ¶
func (x CodeActionKind) Enum() *CodeActionKind
func (CodeActionKind) EnumDescriptor
deprecated
func (CodeActionKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use CodeActionKind.Descriptor instead.
func (CodeActionKind) Number ¶
func (x CodeActionKind) Number() protoreflect.EnumNumber
func (CodeActionKind) String ¶
func (x CodeActionKind) String() string
func (CodeActionKind) Type ¶
func (CodeActionKind) Type() protoreflect.EnumType
type CodeActionOptions ¶
type CodeActionOptions struct { // extends WorkDoneProgressOptions *protocol.WorkDoneProgressOptions `` /* 134-byte string literal not displayed */ // CodeActionKinds that this server may return. // // The list of kinds may be generic, such as `CodeActionKind.Refactor`, or the server // may list out every specific kind they provide. CodeActionKinds []CodeActionKind `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
CodeActionOptions represents a server capabilities option of codeActionProvider.
func (*CodeActionOptions) Descriptor
deprecated
func (*CodeActionOptions) Descriptor() ([]byte, []int)
Deprecated: Use CodeActionOptions.ProtoReflect.Descriptor instead.
func (*CodeActionOptions) GetCodeActionKinds ¶
func (x *CodeActionOptions) GetCodeActionKinds() []CodeActionKind
func (*CodeActionOptions) GetWorkDoneProgressOptions ¶
func (x *CodeActionOptions) GetWorkDoneProgressOptions() *protocol.WorkDoneProgressOptions
func (*CodeActionOptions) ProtoMessage ¶
func (*CodeActionOptions) ProtoMessage()
func (*CodeActionOptions) ProtoReflect ¶
func (x *CodeActionOptions) ProtoReflect() protoreflect.Message
func (*CodeActionOptions) Reset ¶
func (x *CodeActionOptions) Reset()
func (*CodeActionOptions) String ¶
func (x *CodeActionOptions) String() string
type CodeActionRegistrationOptions ¶
type CodeActionRegistrationOptions struct { // extends TextDocumentRegistrationOptions *protocol.TextDocumentRegistrationOptions `` /* 158-byte string literal not displayed */ // extends CodeActionOptions *CodeActionOptions `protobuf:"bytes,2,opt,name=code_action_options,json=codeActionOptions,proto3" json:"code_action_options,omitempty"` // contains filtered or unexported fields }
CodeActionRegistrationOptions represents a registration option of CodeAction.
func (*CodeActionRegistrationOptions) Descriptor
deprecated
func (*CodeActionRegistrationOptions) Descriptor() ([]byte, []int)
Deprecated: Use CodeActionRegistrationOptions.ProtoReflect.Descriptor instead.
func (*CodeActionRegistrationOptions) GetCodeActionOptions ¶
func (x *CodeActionRegistrationOptions) GetCodeActionOptions() *CodeActionOptions
func (*CodeActionRegistrationOptions) GetTextDocumentRegistrationOptions ¶
func (x *CodeActionRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
func (*CodeActionRegistrationOptions) ProtoMessage ¶
func (*CodeActionRegistrationOptions) ProtoMessage()
func (*CodeActionRegistrationOptions) ProtoReflect ¶
func (x *CodeActionRegistrationOptions) ProtoReflect() protoreflect.Message
func (*CodeActionRegistrationOptions) Reset ¶
func (x *CodeActionRegistrationOptions) Reset()
func (*CodeActionRegistrationOptions) String ¶
func (x *CodeActionRegistrationOptions) String() string
type CodeActionRequest ¶
type CodeActionRequest struct { // extends WorkDoneProgressParams *WorkDoneProgressParams `` /* 131-byte string literal not displayed */ // extends PartialResultParams *PartialResultParams `protobuf:"bytes,2,opt,name=partial_result_params,json=partialResultParams,proto3" json:"partial_result_params,omitempty"` // The document in which the command was invoked. TextDocument *protocol.TextDocumentIdentifier `protobuf:"bytes,3,opt,name=text_document,json=textDocument,proto3" json:"text_document,omitempty"` // The range for which the command was invoked. Range *protocol.Range `protobuf:"bytes,4,opt,name=range,proto3" json:"range,omitempty"` // Context carrying additional information. Context *CodeActionContext `protobuf:"bytes,5,opt,name=context,proto3" json:"context,omitempty"` // contains filtered or unexported fields }
CodeActionRequest params for the CodeActionRequest.
func (*CodeActionRequest) Descriptor
deprecated
func (*CodeActionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CodeActionRequest.ProtoReflect.Descriptor instead.
func (*CodeActionRequest) GetContext ¶
func (x *CodeActionRequest) GetContext() *CodeActionContext
func (*CodeActionRequest) GetPartialResultParams ¶
func (x *CodeActionRequest) GetPartialResultParams() *PartialResultParams
func (*CodeActionRequest) GetRange ¶
func (x *CodeActionRequest) GetRange() *protocol.Range
func (*CodeActionRequest) GetTextDocument ¶
func (x *CodeActionRequest) GetTextDocument() *protocol.TextDocumentIdentifier
func (*CodeActionRequest) GetWorkDoneProgressParams ¶
func (x *CodeActionRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
func (*CodeActionRequest) ProtoMessage ¶
func (*CodeActionRequest) ProtoMessage()
func (*CodeActionRequest) ProtoReflect ¶
func (x *CodeActionRequest) ProtoReflect() protoreflect.Message
func (*CodeActionRequest) Reset ¶
func (x *CodeActionRequest) Reset()
func (*CodeActionRequest) String ¶
func (x *CodeActionRequest) String() string
type CodeActionResponse ¶
type CodeActionResponse struct { // Types that are assignable to CodeActionResponse: // *CodeActionResponse_Result_ // *CodeActionResponse_PartialResult_ // *CodeActionResponse_Error CodeActionResponse isCodeActionResponse_CodeActionResponse `protobuf_oneof:"code_action_response"` // contains filtered or unexported fields }
CodeActionResponse represents a CodeAction response.
func (*CodeActionResponse) Descriptor
deprecated
func (*CodeActionResponse) Descriptor() ([]byte, []int)
Deprecated: Use CodeActionResponse.ProtoReflect.Descriptor instead.
func (*CodeActionResponse) GetCodeActionResponse ¶
func (m *CodeActionResponse) GetCodeActionResponse() isCodeActionResponse_CodeActionResponse
func (*CodeActionResponse) GetError ¶
func (x *CodeActionResponse) GetError() *protocol.Error
func (*CodeActionResponse) GetPartialResult ¶
func (x *CodeActionResponse) GetPartialResult() *CodeActionResponse_PartialResult
func (*CodeActionResponse) GetResult ¶
func (x *CodeActionResponse) GetResult() *CodeActionResponse_Result
func (*CodeActionResponse) ProtoMessage ¶
func (*CodeActionResponse) ProtoMessage()
func (*CodeActionResponse) ProtoReflect ¶
func (x *CodeActionResponse) ProtoReflect() protoreflect.Message
func (*CodeActionResponse) Reset ¶
func (x *CodeActionResponse) Reset()
func (*CodeActionResponse) String ¶
func (x *CodeActionResponse) String() string
type CodeActionResponse_PartialResult ¶
type CodeActionResponse_PartialResult struct { Commands []*protocol.Command `protobuf:"bytes,1,rep,name=commands,proto3" json:"commands,omitempty"` CodeActions []*CodeAction `protobuf:"bytes,2,rep,name=code_actions,json=codeActions,proto3" json:"code_actions,omitempty"` // contains filtered or unexported fields }
func (*CodeActionResponse_PartialResult) Descriptor
deprecated
func (*CodeActionResponse_PartialResult) Descriptor() ([]byte, []int)
Deprecated: Use CodeActionResponse_PartialResult.ProtoReflect.Descriptor instead.
func (*CodeActionResponse_PartialResult) GetCodeActions ¶
func (x *CodeActionResponse_PartialResult) GetCodeActions() []*CodeAction
func (*CodeActionResponse_PartialResult) GetCommands ¶
func (x *CodeActionResponse_PartialResult) GetCommands() []*protocol.Command
func (*CodeActionResponse_PartialResult) ProtoMessage ¶
func (*CodeActionResponse_PartialResult) ProtoMessage()
func (*CodeActionResponse_PartialResult) ProtoReflect ¶
func (x *CodeActionResponse_PartialResult) ProtoReflect() protoreflect.Message
func (*CodeActionResponse_PartialResult) Reset ¶
func (x *CodeActionResponse_PartialResult) Reset()
func (*CodeActionResponse_PartialResult) String ¶
func (x *CodeActionResponse_PartialResult) String() string
type CodeActionResponse_PartialResult_ ¶
type CodeActionResponse_PartialResult_ struct {
PartialResult *CodeActionResponse_PartialResult `protobuf:"bytes,2,opt,name=partial_result,json=partialResult,proto3,oneof"`
}
type CodeActionResponse_Result ¶
type CodeActionResponse_Result struct { Commands []*protocol.Command `protobuf:"bytes,1,rep,name=commands,proto3" json:"commands,omitempty"` CodeActions []*CodeAction `protobuf:"bytes,2,rep,name=code_actions,json=codeActions,proto3" json:"code_actions,omitempty"` Empty _struct.NullValue `protobuf:"varint,3,opt,name=empty,proto3,enum=google.protobuf.NullValue" json:"empty,omitempty"` // contains filtered or unexported fields }
func (*CodeActionResponse_Result) Descriptor
deprecated
func (*CodeActionResponse_Result) Descriptor() ([]byte, []int)
Deprecated: Use CodeActionResponse_Result.ProtoReflect.Descriptor instead.
func (*CodeActionResponse_Result) GetCodeActions ¶
func (x *CodeActionResponse_Result) GetCodeActions() []*CodeAction
func (*CodeActionResponse_Result) GetCommands ¶
func (x *CodeActionResponse_Result) GetCommands() []*protocol.Command
func (*CodeActionResponse_Result) GetEmpty ¶
func (x *CodeActionResponse_Result) GetEmpty() _struct.NullValue
func (*CodeActionResponse_Result) ProtoMessage ¶
func (*CodeActionResponse_Result) ProtoMessage()
func (*CodeActionResponse_Result) ProtoReflect ¶
func (x *CodeActionResponse_Result) ProtoReflect() protoreflect.Message
func (*CodeActionResponse_Result) Reset ¶
func (x *CodeActionResponse_Result) Reset()
func (*CodeActionResponse_Result) String ¶
func (x *CodeActionResponse_Result) String() string
type CodeActionResponse_Result_ ¶
type CodeActionResponse_Result_ struct {
Result *CodeActionResponse_Result `protobuf:"bytes,1,opt,name=result,proto3,oneof"`
}
type CodeLens ¶
type CodeLens struct { // The range in which this code lens is valid. Should only span a single line. Range *protocol.Range `protobuf:"bytes,1,opt,name=range,proto3" json:"range,omitempty"` // The command this code lens represents. Command *protocol.Command `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"` // A data entry field that is preserved on a code lens item between // a code lens and a code lens resolve request. Data *any.Any `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
CodeLens is a code lens represents a command that should be shown along with source text, like the number of references, a way to run tests, etc.
A code lens is _unresolved_ when no command is associated to it. For performance reasons the creation of a code lens and resolving should be done in two stages.
func (*CodeLens) Descriptor
deprecated
func (*CodeLens) GetCommand ¶
func (*CodeLens) ProtoMessage ¶
func (*CodeLens) ProtoMessage()
func (*CodeLens) ProtoReflect ¶
func (x *CodeLens) ProtoReflect() protoreflect.Message
type CodeLensClientCapabilities ¶
type CodeLensClientCapabilities struct { // Optional. Whether code lens supports dynamic registration. DynamicRegistration bool `protobuf:"varint,1,opt,name=dynamic_registration,json=dynamicRegistration,proto3" json:"dynamic_registration,omitempty"` // contains filtered or unexported fields }
CodeLensClientCapabilities represents a client capabilities of `textDocument/codeLens` request.
func (*CodeLensClientCapabilities) Descriptor
deprecated
func (*CodeLensClientCapabilities) Descriptor() ([]byte, []int)
Deprecated: Use CodeLensClientCapabilities.ProtoReflect.Descriptor instead.
func (*CodeLensClientCapabilities) GetDynamicRegistration ¶
func (x *CodeLensClientCapabilities) GetDynamicRegistration() bool
func (*CodeLensClientCapabilities) ProtoMessage ¶
func (*CodeLensClientCapabilities) ProtoMessage()
func (*CodeLensClientCapabilities) ProtoReflect ¶
func (x *CodeLensClientCapabilities) ProtoReflect() protoreflect.Message
func (*CodeLensClientCapabilities) Reset ¶
func (x *CodeLensClientCapabilities) Reset()
func (*CodeLensClientCapabilities) String ¶
func (x *CodeLensClientCapabilities) String() string
type CodeLensOptions ¶
type CodeLensOptions struct { // extends WorkDoneProgressOptions *protocol.WorkDoneProgressOptions `` /* 134-byte string literal not displayed */ // Optional. Code lens has a resolve provider as well. ResolveProvider bool `protobuf:"varint,2,opt,name=resolve_provider,json=resolveProvider,proto3" json:"resolve_provider,omitempty"` // contains filtered or unexported fields }
CodeLensOptions represents a server capabilities option of codeLensProvider.
func (*CodeLensOptions) Descriptor
deprecated
func (*CodeLensOptions) Descriptor() ([]byte, []int)
Deprecated: Use CodeLensOptions.ProtoReflect.Descriptor instead.
func (*CodeLensOptions) GetResolveProvider ¶
func (x *CodeLensOptions) GetResolveProvider() bool
func (*CodeLensOptions) GetWorkDoneProgressOptions ¶
func (x *CodeLensOptions) GetWorkDoneProgressOptions() *protocol.WorkDoneProgressOptions
func (*CodeLensOptions) ProtoMessage ¶
func (*CodeLensOptions) ProtoMessage()
func (*CodeLensOptions) ProtoReflect ¶
func (x *CodeLensOptions) ProtoReflect() protoreflect.Message
func (*CodeLensOptions) Reset ¶
func (x *CodeLensOptions) Reset()
func (*CodeLensOptions) String ¶
func (x *CodeLensOptions) String() string
type CodeLensRegistrationOptions ¶
type CodeLensRegistrationOptions struct { // extends TextDocumentRegistrationOptions *protocol.TextDocumentRegistrationOptions `` /* 158-byte string literal not displayed */ // extends CodeLensOptions *CodeLensOptions `protobuf:"bytes,2,opt,name=code_lens_options,json=codeLensOptions,proto3" json:"code_lens_options,omitempty"` // contains filtered or unexported fields }
CodeLensRegistrationOptions represents a registration option of CodeLens.
func (*CodeLensRegistrationOptions) Descriptor
deprecated
func (*CodeLensRegistrationOptions) Descriptor() ([]byte, []int)
Deprecated: Use CodeLensRegistrationOptions.ProtoReflect.Descriptor instead.
func (*CodeLensRegistrationOptions) GetCodeLensOptions ¶
func (x *CodeLensRegistrationOptions) GetCodeLensOptions() *CodeLensOptions
func (*CodeLensRegistrationOptions) GetTextDocumentRegistrationOptions ¶
func (x *CodeLensRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
func (*CodeLensRegistrationOptions) ProtoMessage ¶
func (*CodeLensRegistrationOptions) ProtoMessage()
func (*CodeLensRegistrationOptions) ProtoReflect ¶
func (x *CodeLensRegistrationOptions) ProtoReflect() protoreflect.Message
func (*CodeLensRegistrationOptions) Reset ¶
func (x *CodeLensRegistrationOptions) Reset()
func (*CodeLensRegistrationOptions) String ¶
func (x *CodeLensRegistrationOptions) String() string
type CodeLensRequest ¶
type CodeLensRequest struct { // extends WorkDoneProgressParams *WorkDoneProgressParams `` /* 131-byte string literal not displayed */ // extends PartialResultParams *PartialResultParams `protobuf:"bytes,2,opt,name=partial_result_params,json=partialResultParams,proto3" json:"partial_result_params,omitempty"` // The document to request code lens for. TextDocument *protocol.TextDocumentIdentifier `protobuf:"bytes,3,opt,name=text_document,json=textDocument,proto3" json:"text_document,omitempty"` // contains filtered or unexported fields }
CodeLensRequest is the parameters of a `textDocument/codeLens` request.
func (*CodeLensRequest) Descriptor
deprecated
func (*CodeLensRequest) Descriptor() ([]byte, []int)
Deprecated: Use CodeLensRequest.ProtoReflect.Descriptor instead.
func (*CodeLensRequest) GetPartialResultParams ¶
func (x *CodeLensRequest) GetPartialResultParams() *PartialResultParams
func (*CodeLensRequest) GetTextDocument ¶
func (x *CodeLensRequest) GetTextDocument() *protocol.TextDocumentIdentifier
func (*CodeLensRequest) GetWorkDoneProgressParams ¶
func (x *CodeLensRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
func (*CodeLensRequest) ProtoMessage ¶
func (*CodeLensRequest) ProtoMessage()
func (*CodeLensRequest) ProtoReflect ¶
func (x *CodeLensRequest) ProtoReflect() protoreflect.Message
func (*CodeLensRequest) Reset ¶
func (x *CodeLensRequest) Reset()
func (*CodeLensRequest) String ¶
func (x *CodeLensRequest) String() string
type CodeLensResolveRequest ¶
type CodeLensResolveRequest struct { CodeLens *CodeLens `protobuf:"bytes,1,opt,name=code_lens,json=codeLens,proto3" json:"code_lens,omitempty"` // contains filtered or unexported fields }
CodeLensResolveRequest represents a CodeLensResolveRequest request.
func (*CodeLensResolveRequest) Descriptor
deprecated
func (*CodeLensResolveRequest) Descriptor() ([]byte, []int)
Deprecated: Use CodeLensResolveRequest.ProtoReflect.Descriptor instead.
func (*CodeLensResolveRequest) GetCodeLens ¶
func (x *CodeLensResolveRequest) GetCodeLens() *CodeLens
func (*CodeLensResolveRequest) ProtoMessage ¶
func (*CodeLensResolveRequest) ProtoMessage()
func (*CodeLensResolveRequest) ProtoReflect ¶
func (x *CodeLensResolveRequest) ProtoReflect() protoreflect.Message
func (*CodeLensResolveRequest) Reset ¶
func (x *CodeLensResolveRequest) Reset()
func (*CodeLensResolveRequest) String ¶
func (x *CodeLensResolveRequest) String() string
type CodeLensResolveResponse ¶
type CodeLensResolveResponse struct { // Types that are assignable to CodeLensResolveResponse: // *CodeLensResolveResponse_CodeLens // *CodeLensResolveResponse_Error CodeLensResolveResponse isCodeLensResolveResponse_CodeLensResolveResponse `protobuf_oneof:"code_lens_resolve_response"` // contains filtered or unexported fields }
CodeLensResolveResponse represents a CodeLensResolve response.
func (*CodeLensResolveResponse) Descriptor
deprecated
func (*CodeLensResolveResponse) Descriptor() ([]byte, []int)
Deprecated: Use CodeLensResolveResponse.ProtoReflect.Descriptor instead.
func (*CodeLensResolveResponse) GetCodeLens ¶
func (x *CodeLensResolveResponse) GetCodeLens() *CodeLens
func (*CodeLensResolveResponse) GetCodeLensResolveResponse ¶
func (m *CodeLensResolveResponse) GetCodeLensResolveResponse() isCodeLensResolveResponse_CodeLensResolveResponse
func (*CodeLensResolveResponse) GetError ¶
func (x *CodeLensResolveResponse) GetError() *protocol.Error
func (*CodeLensResolveResponse) ProtoMessage ¶
func (*CodeLensResolveResponse) ProtoMessage()
func (*CodeLensResolveResponse) ProtoReflect ¶
func (x *CodeLensResolveResponse) ProtoReflect() protoreflect.Message
func (*CodeLensResolveResponse) Reset ¶
func (x *CodeLensResolveResponse) Reset()
func (*CodeLensResolveResponse) String ¶
func (x *CodeLensResolveResponse) String() string
type CodeLensResolveResponse_CodeLens ¶
type CodeLensResolveResponse_CodeLens struct {
CodeLens *CodeLens `protobuf:"bytes,1,opt,name=code_lens,json=codeLens,proto3,oneof"`
}
type CodeLensResponse ¶
type CodeLensResponse struct { // Types that are assignable to CodeLensResponse: // *CodeLensResponse_Result_ // *CodeLensResponse_PartialResult_ // *CodeLensResponse_Error CodeLensResponse isCodeLensResponse_CodeLensResponse `protobuf_oneof:"code_lens_response"` // contains filtered or unexported fields }
CodeLensResponse represents a CodeLens response.
func (*CodeLensResponse) Descriptor
deprecated
func (*CodeLensResponse) Descriptor() ([]byte, []int)
Deprecated: Use CodeLensResponse.ProtoReflect.Descriptor instead.
func (*CodeLensResponse) GetCodeLensResponse ¶
func (m *CodeLensResponse) GetCodeLensResponse() isCodeLensResponse_CodeLensResponse
func (*CodeLensResponse) GetError ¶
func (x *CodeLensResponse) GetError() *protocol.Error
func (*CodeLensResponse) GetPartialResult ¶
func (x *CodeLensResponse) GetPartialResult() *CodeLensResponse_PartialResult
func (*CodeLensResponse) GetResult ¶
func (x *CodeLensResponse) GetResult() *CodeLensResponse_Result
func (*CodeLensResponse) ProtoMessage ¶
func (*CodeLensResponse) ProtoMessage()
func (*CodeLensResponse) ProtoReflect ¶
func (x *CodeLensResponse) ProtoReflect() protoreflect.Message
func (*CodeLensResponse) Reset ¶
func (x *CodeLensResponse) Reset()
func (*CodeLensResponse) String ¶
func (x *CodeLensResponse) String() string
type CodeLensResponse_Error ¶
type CodeLensResponse_PartialResult ¶
type CodeLensResponse_PartialResult struct { CodeLens []*CodeLens `protobuf:"bytes,1,rep,name=code_lens,json=codeLens,proto3" json:"code_lens,omitempty"` // contains filtered or unexported fields }
func (*CodeLensResponse_PartialResult) Descriptor
deprecated
func (*CodeLensResponse_PartialResult) Descriptor() ([]byte, []int)
Deprecated: Use CodeLensResponse_PartialResult.ProtoReflect.Descriptor instead.
func (*CodeLensResponse_PartialResult) GetCodeLens ¶
func (x *CodeLensResponse_PartialResult) GetCodeLens() []*CodeLens
func (*CodeLensResponse_PartialResult) ProtoMessage ¶
func (*CodeLensResponse_PartialResult) ProtoMessage()
func (*CodeLensResponse_PartialResult) ProtoReflect ¶
func (x *CodeLensResponse_PartialResult) ProtoReflect() protoreflect.Message
func (*CodeLensResponse_PartialResult) Reset ¶
func (x *CodeLensResponse_PartialResult) Reset()
func (*CodeLensResponse_PartialResult) String ¶
func (x *CodeLensResponse_PartialResult) String() string
type CodeLensResponse_PartialResult_ ¶
type CodeLensResponse_PartialResult_ struct {
PartialResult *CodeLensResponse_PartialResult `protobuf:"bytes,2,opt,name=partial_result,json=partialResult,proto3,oneof"`
}
type CodeLensResponse_Result ¶
type CodeLensResponse_Result struct { CodeLens []*CodeLens `protobuf:"bytes,1,rep,name=code_lens,json=codeLens,proto3" json:"code_lens,omitempty"` Empty _struct.NullValue `protobuf:"varint,2,opt,name=empty,proto3,enum=google.protobuf.NullValue" json:"empty,omitempty"` // contains filtered or unexported fields }
func (*CodeLensResponse_Result) Descriptor
deprecated
func (*CodeLensResponse_Result) Descriptor() ([]byte, []int)
Deprecated: Use CodeLensResponse_Result.ProtoReflect.Descriptor instead.
func (*CodeLensResponse_Result) GetCodeLens ¶
func (x *CodeLensResponse_Result) GetCodeLens() []*CodeLens
func (*CodeLensResponse_Result) GetEmpty ¶
func (x *CodeLensResponse_Result) GetEmpty() _struct.NullValue
func (*CodeLensResponse_Result) ProtoMessage ¶
func (*CodeLensResponse_Result) ProtoMessage()
func (*CodeLensResponse_Result) ProtoReflect ¶
func (x *CodeLensResponse_Result) ProtoReflect() protoreflect.Message
func (*CodeLensResponse_Result) Reset ¶
func (x *CodeLensResponse_Result) Reset()
func (*CodeLensResponse_Result) String ¶
func (x *CodeLensResponse_Result) String() string
type CodeLensResponse_Result_ ¶
type CodeLensResponse_Result_ struct {
Result *CodeLensResponse_Result `protobuf:"bytes,1,opt,name=result,proto3,oneof"`
}
type Color ¶
type Color struct { // The red component of this color in the range [0-1]. // // readonly Red int32 `protobuf:"varint,1,opt,name=red,proto3" json:"red,omitempty"` // The green component of this color in the range [0-1]. // // readonly Green int32 `protobuf:"varint,2,opt,name=green,proto3" json:"green,omitempty"` // The blue component of this color in the range [0-1]. // // readonly Blue int32 `protobuf:"varint,3,opt,name=blue,proto3" json:"blue,omitempty"` // The alpha component of this color in the range [0-1]. // // readonly Alpha int32 `protobuf:"varint,4,opt,name=alpha,proto3" json:"alpha,omitempty"` // contains filtered or unexported fields }
Color represents a color in RGBA space.
func (*Color) Descriptor
deprecated
func (*Color) ProtoMessage ¶
func (*Color) ProtoMessage()
func (*Color) ProtoReflect ¶
func (x *Color) ProtoReflect() protoreflect.Message
type ColorInformation ¶
type ColorInformation struct { // The range in the document where this color appears. Range *protocol.Range `protobuf:"bytes,1,opt,name=range,proto3" json:"range,omitempty"` // The actual color value for this color range. Color *Color `protobuf:"bytes,2,opt,name=color,proto3" json:"color,omitempty"` // contains filtered or unexported fields }
ColorInformation represents a color information.
func (*ColorInformation) Descriptor
deprecated
func (*ColorInformation) Descriptor() ([]byte, []int)
Deprecated: Use ColorInformation.ProtoReflect.Descriptor instead.
func (*ColorInformation) GetColor ¶
func (x *ColorInformation) GetColor() *Color
func (*ColorInformation) GetRange ¶
func (x *ColorInformation) GetRange() *protocol.Range
func (*ColorInformation) ProtoMessage ¶
func (*ColorInformation) ProtoMessage()
func (*ColorInformation) ProtoReflect ¶
func (x *ColorInformation) ProtoReflect() protoreflect.Message
func (*ColorInformation) Reset ¶
func (x *ColorInformation) Reset()
func (*ColorInformation) String ¶
func (x *ColorInformation) String() string
type ColorPresentation ¶
type ColorPresentation struct { // The label of this color presentation. It will be shown on the color // picker header. By default this is also the text that is inserted when selecting // this color presentation. Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` // An [edit][TextEdit] which is applied to a document when selecting // this presentation for the color. When `falsy` the [label][ColorPresentation.label] // is used. TextEdit *protocol.TextEdit `protobuf:"bytes,2,opt,name=text_edit,json=textEdit,proto3" json:"text_edit,omitempty"` // An optional array of additional [text edits](#TextEdit) that are applied when // selecting this color presentation. Edits must not overlap with the main // [edit][ColorPresentation.textEdit] nor with themselves. AdditionalTextEdits []*protocol.TextEdit `protobuf:"bytes,3,rep,name=additional_text_edits,json=additionalTextEdits,proto3" json:"additional_text_edits,omitempty"` // contains filtered or unexported fields }
ColorPresentation represents a respeonse of `textDocument/colorPresentation`.
func (*ColorPresentation) Descriptor
deprecated
func (*ColorPresentation) Descriptor() ([]byte, []int)
Deprecated: Use ColorPresentation.ProtoReflect.Descriptor instead.
func (*ColorPresentation) GetAdditionalTextEdits ¶
func (x *ColorPresentation) GetAdditionalTextEdits() []*protocol.TextEdit
func (*ColorPresentation) GetLabel ¶
func (x *ColorPresentation) GetLabel() string
func (*ColorPresentation) GetTextEdit ¶
func (x *ColorPresentation) GetTextEdit() *protocol.TextEdit
func (*ColorPresentation) ProtoMessage ¶
func (*ColorPresentation) ProtoMessage()
func (*ColorPresentation) ProtoReflect ¶
func (x *ColorPresentation) ProtoReflect() protoreflect.Message
func (*ColorPresentation) Reset ¶
func (x *ColorPresentation) Reset()
func (*ColorPresentation) String ¶
func (x *ColorPresentation) String() string
type ColorPresentationRequest ¶
type ColorPresentationRequest struct { // extends WorkDoneProgressParams *WorkDoneProgressParams `` /* 131-byte string literal not displayed */ // extends PartialResultParams *PartialResultParams `protobuf:"bytes,2,opt,name=partial_result_params,json=partialResultParams,proto3" json:"partial_result_params,omitempty"` // The text document. TextDocument *protocol.TextDocumentIdentifier `protobuf:"bytes,3,opt,name=text_document,json=textDocument,proto3" json:"text_document,omitempty"` // The color information to request presentations for. Color *Color `protobuf:"bytes,4,opt,name=color,proto3" json:"color,omitempty"` // The range where the color would be inserted. Serves as a context. Range *protocol.Range `protobuf:"bytes,5,opt,name=range,proto3" json:"range,omitempty"` // contains filtered or unexported fields }
ColorPresentationRequest is the parameters of a `textDocument/colorPresentation` request.
func (*ColorPresentationRequest) Descriptor
deprecated
func (*ColorPresentationRequest) Descriptor() ([]byte, []int)
Deprecated: Use ColorPresentationRequest.ProtoReflect.Descriptor instead.
func (*ColorPresentationRequest) GetColor ¶
func (x *ColorPresentationRequest) GetColor() *Color
func (*ColorPresentationRequest) GetPartialResultParams ¶
func (x *ColorPresentationRequest) GetPartialResultParams() *PartialResultParams
func (*ColorPresentationRequest) GetRange ¶
func (x *ColorPresentationRequest) GetRange() *protocol.Range
func (*ColorPresentationRequest) GetTextDocument ¶
func (x *ColorPresentationRequest) GetTextDocument() *protocol.TextDocumentIdentifier
func (*ColorPresentationRequest) GetWorkDoneProgressParams ¶
func (x *ColorPresentationRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
func (*ColorPresentationRequest) ProtoMessage ¶
func (*ColorPresentationRequest) ProtoMessage()
func (*ColorPresentationRequest) ProtoReflect ¶
func (x *ColorPresentationRequest) ProtoReflect() protoreflect.Message
func (*ColorPresentationRequest) Reset ¶
func (x *ColorPresentationRequest) Reset()
func (*ColorPresentationRequest) String ¶
func (x *ColorPresentationRequest) String() string
type ColorPresentationResponse ¶
type ColorPresentationResponse struct { // Types that are assignable to ColorPresentationResponse: // *ColorPresentationResponse_Result_ // *ColorPresentationResponse_PartialResult_ // *ColorPresentationResponse_Error ColorPresentationResponse isColorPresentationResponse_ColorPresentationResponse `protobuf_oneof:"color_presentation_response"` // contains filtered or unexported fields }
ColorPresentationResponse represents a ColorPresentation response.
func (*ColorPresentationResponse) Descriptor
deprecated
func (*ColorPresentationResponse) Descriptor() ([]byte, []int)
Deprecated: Use ColorPresentationResponse.ProtoReflect.Descriptor instead.
func (*ColorPresentationResponse) GetColorPresentationResponse ¶
func (m *ColorPresentationResponse) GetColorPresentationResponse() isColorPresentationResponse_ColorPresentationResponse
func (*ColorPresentationResponse) GetError ¶
func (x *ColorPresentationResponse) GetError() *protocol.Error
func (*ColorPresentationResponse) GetPartialResult ¶
func (x *ColorPresentationResponse) GetPartialResult() *ColorPresentationResponse_PartialResult
func (*ColorPresentationResponse) GetResult ¶
func (x *ColorPresentationResponse) GetResult() *ColorPresentationResponse_Result
func (*ColorPresentationResponse) ProtoMessage ¶
func (*ColorPresentationResponse) ProtoMessage()
func (*ColorPresentationResponse) ProtoReflect ¶
func (x *ColorPresentationResponse) ProtoReflect() protoreflect.Message
func (*ColorPresentationResponse) Reset ¶
func (x *ColorPresentationResponse) Reset()
func (*ColorPresentationResponse) String ¶
func (x *ColorPresentationResponse) String() string
type ColorPresentationResponse_PartialResult ¶
type ColorPresentationResponse_PartialResult struct { ColorPresentations []*ColorPresentation `protobuf:"bytes,1,rep,name=color_presentations,json=colorPresentations,proto3" json:"color_presentations,omitempty"` // contains filtered or unexported fields }
func (*ColorPresentationResponse_PartialResult) Descriptor
deprecated
func (*ColorPresentationResponse_PartialResult) Descriptor() ([]byte, []int)
Deprecated: Use ColorPresentationResponse_PartialResult.ProtoReflect.Descriptor instead.
func (*ColorPresentationResponse_PartialResult) GetColorPresentations ¶
func (x *ColorPresentationResponse_PartialResult) GetColorPresentations() []*ColorPresentation
func (*ColorPresentationResponse_PartialResult) ProtoMessage ¶
func (*ColorPresentationResponse_PartialResult) ProtoMessage()
func (*ColorPresentationResponse_PartialResult) ProtoReflect ¶
func (x *ColorPresentationResponse_PartialResult) ProtoReflect() protoreflect.Message
func (*ColorPresentationResponse_PartialResult) Reset ¶
func (x *ColorPresentationResponse_PartialResult) Reset()
func (*ColorPresentationResponse_PartialResult) String ¶
func (x *ColorPresentationResponse_PartialResult) String() string
type ColorPresentationResponse_PartialResult_ ¶
type ColorPresentationResponse_PartialResult_ struct {
PartialResult *ColorPresentationResponse_PartialResult `protobuf:"bytes,2,opt,name=partial_result,json=partialResult,proto3,oneof"`
}
type ColorPresentationResponse_Result ¶
type ColorPresentationResponse_Result struct { ColorPresentations []*ColorPresentation `protobuf:"bytes,1,rep,name=color_presentations,json=colorPresentations,proto3" json:"color_presentations,omitempty"` // contains filtered or unexported fields }
func (*ColorPresentationResponse_Result) Descriptor
deprecated
func (*ColorPresentationResponse_Result) Descriptor() ([]byte, []int)
Deprecated: Use ColorPresentationResponse_Result.ProtoReflect.Descriptor instead.
func (*ColorPresentationResponse_Result) GetColorPresentations ¶
func (x *ColorPresentationResponse_Result) GetColorPresentations() []*ColorPresentation
func (*ColorPresentationResponse_Result) ProtoMessage ¶
func (*ColorPresentationResponse_Result) ProtoMessage()
func (*ColorPresentationResponse_Result) ProtoReflect ¶
func (x *ColorPresentationResponse_Result) ProtoReflect() protoreflect.Message
func (*ColorPresentationResponse_Result) Reset ¶
func (x *ColorPresentationResponse_Result) Reset()
func (*ColorPresentationResponse_Result) String ¶
func (x *ColorPresentationResponse_Result) String() string
type ColorPresentationResponse_Result_ ¶
type ColorPresentationResponse_Result_ struct {
Result *ColorPresentationResponse_Result `protobuf:"bytes,1,opt,name=result,proto3,oneof"`
}
type CompletionClientCapabilities ¶
type CompletionClientCapabilities struct { // Whether completion supports dynamic registration. DynamicRegistration bool `protobuf:"varint,1,opt,name=dynamic_registration,json=dynamicRegistration,proto3" json:"dynamic_registration,omitempty"` // The client supports the following `CompletionItem` specific // capabilities. CompletionItem *CompletionClientCapabilities_CompletionItem `protobuf:"bytes,2,opt,name=completion_item,json=completionItem,proto3" json:"completion_item,omitempty"` CompletionItemKind *CompletionClientCapabilities_CompletionItemKind `protobuf:"bytes,3,opt,name=completion_item_kind,json=completionItemKind,proto3" json:"completion_item_kind,omitempty"` // Optional. The client supports to send additional context information for a // `textDocument/completion` request. ContextSupport bool `protobuf:"varint,4,opt,name=context_support,json=contextSupport,proto3" json:"context_support,omitempty"` // contains filtered or unexported fields }
CompletionClientCapabilities represents a client capabilities of `textDocument/completion` request.
func (*CompletionClientCapabilities) Descriptor
deprecated
func (*CompletionClientCapabilities) Descriptor() ([]byte, []int)
Deprecated: Use CompletionClientCapabilities.ProtoReflect.Descriptor instead.
func (*CompletionClientCapabilities) GetCompletionItem ¶
func (x *CompletionClientCapabilities) GetCompletionItem() *CompletionClientCapabilities_CompletionItem
func (*CompletionClientCapabilities) GetCompletionItemKind ¶
func (x *CompletionClientCapabilities) GetCompletionItemKind() *CompletionClientCapabilities_CompletionItemKind
func (*CompletionClientCapabilities) GetContextSupport ¶
func (x *CompletionClientCapabilities) GetContextSupport() bool
func (*CompletionClientCapabilities) GetDynamicRegistration ¶
func (x *CompletionClientCapabilities) GetDynamicRegistration() bool
func (*CompletionClientCapabilities) ProtoMessage ¶
func (*CompletionClientCapabilities) ProtoMessage()
func (*CompletionClientCapabilities) ProtoReflect ¶
func (x *CompletionClientCapabilities) ProtoReflect() protoreflect.Message
func (*CompletionClientCapabilities) Reset ¶
func (x *CompletionClientCapabilities) Reset()
func (*CompletionClientCapabilities) String ¶
func (x *CompletionClientCapabilities) String() string
type CompletionClientCapabilities_CompletionItem ¶
type CompletionClientCapabilities_CompletionItem struct { // Optional. Client supports snippets as insert text. // // A snippet can define tab stops and placeholders with `$1`, `$2` // and `${3:foo}`. `$0` defines the final tab stop, it defaults to // the end of the snippet. Placeholders with equal identifiers are linked, // that is typing in one will update others too. SnippetSupport bool `protobuf:"varint,1,opt,name=snippet_support,json=snippetSupport,proto3" json:"snippet_support,omitempty"` // Optional. Client supports commit characters on a completion item. CommitCharactersSupport bool `` /* 133-byte string literal not displayed */ // Client supports the follow content formats for the documentation // property. The order describes the preferred format of the client. DocumentationFormat []protocol.MarkupKind `` /* 151-byte string literal not displayed */ // Optional. Client supports the deprecated property on a completion item. DeprecatedSupport bool `protobuf:"varint,4,opt,name=deprecated_support,json=deprecatedSupport,proto3" json:"deprecated_support,omitempty"` // Optional. Client supports the preselect property on a completion item. PreselectSupport bool `protobuf:"varint,5,opt,name=preselect_support,json=preselectSupport,proto3" json:"preselect_support,omitempty"` // Client supports the tag property on a completion item. Clients supporting // tags have to handle unknown tags gracefully. Clients especially need to // preserve unknown tags when sending a completion item back to the server in // a resolve call. // // @since 3.15.0 TagSupport *CompletionClientCapabilities_CompletionItem_TagSupport `protobuf:"bytes,6,opt,name=tag_support,json=tagSupport,proto3" json:"tag_support,omitempty"` // Optional. Client support insert replace edit to control different behavior if a // completion item is inserted in the text or should replace text. // // @since 3.16.0 - Proposed state InsertReplaceSupport bool `protobuf:"varint,7,opt,name=insert_replace_support,json=insertReplaceSupport,proto3" json:"insert_replace_support,omitempty"` // Optional. Client supports to resolve `additionalTextEdits` in the `completionItem/resolve` // request. So servers can postpone computing them. // // @since 3.16.0 - Proposed state ResolveAdditionalTextEditsSupport bool `` /* 167-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CompletionClientCapabilities_CompletionItem) Descriptor
deprecated
func (*CompletionClientCapabilities_CompletionItem) Descriptor() ([]byte, []int)
Deprecated: Use CompletionClientCapabilities_CompletionItem.ProtoReflect.Descriptor instead.
func (*CompletionClientCapabilities_CompletionItem) GetCommitCharactersSupport ¶
func (x *CompletionClientCapabilities_CompletionItem) GetCommitCharactersSupport() bool
func (*CompletionClientCapabilities_CompletionItem) GetDeprecatedSupport ¶
func (x *CompletionClientCapabilities_CompletionItem) GetDeprecatedSupport() bool
func (*CompletionClientCapabilities_CompletionItem) GetDocumentationFormat ¶
func (x *CompletionClientCapabilities_CompletionItem) GetDocumentationFormat() []protocol.MarkupKind
func (*CompletionClientCapabilities_CompletionItem) GetInsertReplaceSupport ¶
func (x *CompletionClientCapabilities_CompletionItem) GetInsertReplaceSupport() bool
func (*CompletionClientCapabilities_CompletionItem) GetPreselectSupport ¶
func (x *CompletionClientCapabilities_CompletionItem) GetPreselectSupport() bool
func (*CompletionClientCapabilities_CompletionItem) GetResolveAdditionalTextEditsSupport ¶
func (x *CompletionClientCapabilities_CompletionItem) GetResolveAdditionalTextEditsSupport() bool
func (*CompletionClientCapabilities_CompletionItem) GetSnippetSupport ¶
func (x *CompletionClientCapabilities_CompletionItem) GetSnippetSupport() bool
func (*CompletionClientCapabilities_CompletionItem) GetTagSupport ¶
func (x *CompletionClientCapabilities_CompletionItem) GetTagSupport() *CompletionClientCapabilities_CompletionItem_TagSupport
func (*CompletionClientCapabilities_CompletionItem) ProtoMessage ¶
func (*CompletionClientCapabilities_CompletionItem) ProtoMessage()
func (*CompletionClientCapabilities_CompletionItem) ProtoReflect ¶
func (x *CompletionClientCapabilities_CompletionItem) ProtoReflect() protoreflect.Message
func (*CompletionClientCapabilities_CompletionItem) Reset ¶
func (x *CompletionClientCapabilities_CompletionItem) Reset()
func (*CompletionClientCapabilities_CompletionItem) String ¶
func (x *CompletionClientCapabilities_CompletionItem) String() string
type CompletionClientCapabilities_CompletionItemKind ¶
type CompletionClientCapabilities_CompletionItemKind struct { // The completion item kind values the client supports. When this // property exists the client also guarantees that it will // handle values outside its set gracefully and falls back // to a default value when unknown. // // If this property is not present the client only supports // the completion items kinds from `Text` to `Reference` as defined in // the initial version of the protocol. ValueSet []*CompletionClientCapabilities_CompletionItemKind `protobuf:"bytes,1,rep,name=value_set,json=valueSet,proto3" json:"value_set,omitempty"` // contains filtered or unexported fields }
func (*CompletionClientCapabilities_CompletionItemKind) Descriptor
deprecated
func (*CompletionClientCapabilities_CompletionItemKind) Descriptor() ([]byte, []int)
Deprecated: Use CompletionClientCapabilities_CompletionItemKind.ProtoReflect.Descriptor instead.
func (*CompletionClientCapabilities_CompletionItemKind) GetValueSet ¶
func (x *CompletionClientCapabilities_CompletionItemKind) GetValueSet() []*CompletionClientCapabilities_CompletionItemKind
func (*CompletionClientCapabilities_CompletionItemKind) ProtoMessage ¶
func (*CompletionClientCapabilities_CompletionItemKind) ProtoMessage()
func (*CompletionClientCapabilities_CompletionItemKind) ProtoReflect ¶
func (x *CompletionClientCapabilities_CompletionItemKind) ProtoReflect() protoreflect.Message
func (*CompletionClientCapabilities_CompletionItemKind) Reset ¶
func (x *CompletionClientCapabilities_CompletionItemKind) Reset()
func (*CompletionClientCapabilities_CompletionItemKind) String ¶
func (x *CompletionClientCapabilities_CompletionItemKind) String() string
type CompletionClientCapabilities_CompletionItem_TagSupport ¶
type CompletionClientCapabilities_CompletionItem_TagSupport struct { // The tags supported by the client. ValueSet []CompletionItemTag `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CompletionClientCapabilities_CompletionItem_TagSupport) Descriptor
deprecated
func (*CompletionClientCapabilities_CompletionItem_TagSupport) Descriptor() ([]byte, []int)
Deprecated: Use CompletionClientCapabilities_CompletionItem_TagSupport.ProtoReflect.Descriptor instead.
func (*CompletionClientCapabilities_CompletionItem_TagSupport) GetValueSet ¶
func (x *CompletionClientCapabilities_CompletionItem_TagSupport) GetValueSet() []CompletionItemTag
func (*CompletionClientCapabilities_CompletionItem_TagSupport) ProtoMessage ¶
func (*CompletionClientCapabilities_CompletionItem_TagSupport) ProtoMessage()
func (*CompletionClientCapabilities_CompletionItem_TagSupport) ProtoReflect ¶
func (x *CompletionClientCapabilities_CompletionItem_TagSupport) ProtoReflect() protoreflect.Message
func (*CompletionClientCapabilities_CompletionItem_TagSupport) Reset ¶
func (x *CompletionClientCapabilities_CompletionItem_TagSupport) Reset()
func (*CompletionClientCapabilities_CompletionItem_TagSupport) String ¶
func (x *CompletionClientCapabilities_CompletionItem_TagSupport) String() string
type CompletionContext ¶
type CompletionContext struct { // How the completion was triggered. TriggerKind CompletionTriggerKind `` /* 135-byte string literal not displayed */ // The trigger character (a single character) that has trigger code complete. // Is undefined if `triggerKind !== CompletionTriggerKind.TriggerCharacter` TriggerCharacter *wrappers.StringValue `protobuf:"bytes,2,opt,name=trigger_character,json=triggerCharacter,proto3" json:"trigger_character,omitempty"` // contains filtered or unexported fields }
CompletionContext contains additional information about the context in which a completion request is triggered.
func (*CompletionContext) Descriptor
deprecated
func (*CompletionContext) Descriptor() ([]byte, []int)
Deprecated: Use CompletionContext.ProtoReflect.Descriptor instead.
func (*CompletionContext) GetTriggerCharacter ¶
func (x *CompletionContext) GetTriggerCharacter() *wrappers.StringValue
func (*CompletionContext) GetTriggerKind ¶
func (x *CompletionContext) GetTriggerKind() CompletionTriggerKind
func (*CompletionContext) ProtoMessage ¶
func (*CompletionContext) ProtoMessage()
func (*CompletionContext) ProtoReflect ¶
func (x *CompletionContext) ProtoReflect() protoreflect.Message
func (*CompletionContext) Reset ¶
func (x *CompletionContext) Reset()
func (*CompletionContext) String ¶
func (x *CompletionContext) String() string
type CompletionItem ¶
type CompletionItem struct { // The label of this completion item. By default // also the text that is inserted when selecting // this completion. Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` // The kind of this completion item. Based of the kind // an icon is chosen by the editor. The standardized set // of available values is defined in `CompletionItemKind`. Kind CompletionItemKind `protobuf:"varint,2,opt,name=kind,proto3,enum=protocol.rpc.CompletionItemKind" json:"kind,omitempty"` // Tags for this completion item. // // @since 3.15.0 Tags []CompletionItemTag `protobuf:"varint,3,rep,packed,name=tags,proto3,enum=protocol.rpc.CompletionItemTag" json:"tags,omitempty"` // A human-readable string with additional information // about this item, like type or symbol information. Detail *wrappers.StringValue `protobuf:"bytes,4,opt,name=detail,proto3" json:"detail,omitempty"` // A human-readable string that represents a doc-comment. // // Types that are assignable to Documentation: // *CompletionItem_MarkupContent // *CompletionItem_Content Documentation isCompletionItem_Documentation `protobuf_oneof:"documentation"` // Indicates if this item is deprecated. // // Use tags instead if supported. // // Deprecated: Do not use. Deprecated bool `protobuf:"varint,7,opt,name=deprecated,proto3" json:"deprecated,omitempty"` // optional // Optional. Select this item when showing. // // *Note* that only one completion item can be selected and that the // tool / client decides which item that is. The rule is that the *first* // item of those that match best is selected. Preselect bool `protobuf:"varint,8,opt,name=preselect,proto3" json:"preselect,omitempty"` // A string that should be used when comparing this item // with other items. When `falsy` the label is used. SortText *wrappers.StringValue `protobuf:"bytes,9,opt,name=sort_text,json=sortText,proto3" json:"sort_text,omitempty"` // A string that should be used when filtering a set of // completion items. When `falsy` the label is used. FilterText *wrappers.StringValue `protobuf:"bytes,10,opt,name=filter_text,json=filterText,proto3" json:"filter_text,omitempty"` // A string that should be inserted into a document when selecting // this completion. When `falsy` the label is used. // // The `insertText` is subject to interpretation by the client side. // Some tools might not take the string literally. For example // VS Code when code complete is requested in this example `con<cursor position>` // and a completion item with an `insertText` of `console` is provided it // will only insert `sole`. Therefore it is recommended to use `textEdit` instead // since it avoids additional client side interpretation. InsertText *wrappers.StringValue `protobuf:"bytes,11,opt,name=insert_text,json=insertText,proto3" json:"insert_text,omitempty"` // The format of the insert text. The format applies to both the `insertText` property // and the `newText` property of a provided `textEdit`. If omitted defaults to // `InsertTextFormat.PlainText`. InsertTextFormat InsertTextFormat `` /* 148-byte string literal not displayed */ // An edit which is applied to a document when selecting this completion. When an edit is provided // the value of `insertText` is ignored. // // NOTE: The range of the edit must be a single line range and it must contain the position at // which completion has been requested. TextEdit *protocol.TextEdit `protobuf:"bytes,13,opt,name=text_edit,json=textEdit,proto3" json:"text_edit,omitempty"` // An optional array of additional text edits that are applied when // selecting this completion. Edits must not overlap (including the same insert position) // with the main edit nor with themselves. // // Additional text edits should be used to change text unrelated to the current cursor position // (for example adding an import statement at the top of the file if the completion item will // insert an unqualified type). AdditionalTextEdits []*protocol.TextEdit `protobuf:"bytes,14,rep,name=additional_text_edits,json=additionalTextEdits,proto3" json:"additional_text_edits,omitempty"` // An optional set of characters that when pressed while this completion is active will accept it // first and then type that character. *Note* that all commit characters should have `length=1` // and that superfluous characters will be ignored. CommitCharacters []string `protobuf:"bytes,15,rep,name=commit_characters,json=commitCharacters,proto3" json:"commit_characters,omitempty"` // Optional. An optional command that is executed *after* inserting this completion. *Note* that // additional modifications to the current document should be described with the // additionalTextEdits-property. Command *protocol.Command `protobuf:"bytes,16,opt,name=command,proto3" json:"command,omitempty"` // A data entry field that is preserved on a completion item between // a completion and a completion resolve request. Data *any.Any `protobuf:"bytes,17,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
CompletionItem is the completion items.
func (*CompletionItem) Descriptor
deprecated
func (*CompletionItem) Descriptor() ([]byte, []int)
Deprecated: Use CompletionItem.ProtoReflect.Descriptor instead.
func (*CompletionItem) GetAdditionalTextEdits ¶
func (x *CompletionItem) GetAdditionalTextEdits() []*protocol.TextEdit
func (*CompletionItem) GetCommand ¶
func (x *CompletionItem) GetCommand() *protocol.Command
func (*CompletionItem) GetCommitCharacters ¶
func (x *CompletionItem) GetCommitCharacters() []string
func (*CompletionItem) GetContent ¶
func (x *CompletionItem) GetContent() string
func (*CompletionItem) GetData ¶
func (x *CompletionItem) GetData() *any.Any
func (*CompletionItem) GetDeprecated
deprecated
func (x *CompletionItem) GetDeprecated() bool
Deprecated: Do not use.
func (*CompletionItem) GetDetail ¶
func (x *CompletionItem) GetDetail() *wrappers.StringValue
func (*CompletionItem) GetDocumentation ¶
func (m *CompletionItem) GetDocumentation() isCompletionItem_Documentation
func (*CompletionItem) GetFilterText ¶
func (x *CompletionItem) GetFilterText() *wrappers.StringValue
func (*CompletionItem) GetInsertText ¶
func (x *CompletionItem) GetInsertText() *wrappers.StringValue
func (*CompletionItem) GetInsertTextFormat ¶
func (x *CompletionItem) GetInsertTextFormat() InsertTextFormat
func (*CompletionItem) GetKind ¶
func (x *CompletionItem) GetKind() CompletionItemKind
func (*CompletionItem) GetLabel ¶
func (x *CompletionItem) GetLabel() string
func (*CompletionItem) GetMarkupContent ¶
func (x *CompletionItem) GetMarkupContent() *protocol.MarkupContent
func (*CompletionItem) GetPreselect ¶
func (x *CompletionItem) GetPreselect() bool
func (*CompletionItem) GetSortText ¶
func (x *CompletionItem) GetSortText() *wrappers.StringValue
func (*CompletionItem) GetTags ¶
func (x *CompletionItem) GetTags() []CompletionItemTag
func (*CompletionItem) GetTextEdit ¶
func (x *CompletionItem) GetTextEdit() *protocol.TextEdit
func (*CompletionItem) ProtoMessage ¶
func (*CompletionItem) ProtoMessage()
func (*CompletionItem) ProtoReflect ¶
func (x *CompletionItem) ProtoReflect() protoreflect.Message
func (*CompletionItem) Reset ¶
func (x *CompletionItem) Reset()
func (*CompletionItem) String ¶
func (x *CompletionItem) String() string
type CompletionItemKind ¶
type CompletionItemKind int32
CompletionItemKind is the kind of a completion entry.
const ( // Conventional default for enums. Do not use this. CompletionItemKind_COMPLETION_ITEM_KIND_UNSPECIFIED CompletionItemKind = 0 CompletionItemKind_COMPLETION_TEXT CompletionItemKind = 1 CompletionItemKind_COMPLETION_METHOD CompletionItemKind = 2 CompletionItemKind_COMPLETION_FUNCTION CompletionItemKind = 3 CompletionItemKind_COMPLETION_CONSTRUCTOR CompletionItemKind = 4 CompletionItemKind_COMPLETION_FIELD CompletionItemKind = 5 CompletionItemKind_COMPLETION_VARIABLE CompletionItemKind = 6 CompletionItemKind_COMPLETION_CLASS CompletionItemKind = 7 CompletionItemKind_COMPLETION_INTERFACE CompletionItemKind = 8 CompletionItemKind_COMPLETION_MODULE CompletionItemKind = 9 CompletionItemKind_COMPLETION_PROPERTY CompletionItemKind = 10 CompletionItemKind_COMPLETION_UNIT CompletionItemKind = 11 CompletionItemKind_COMPLETION_VALUE CompletionItemKind = 12 CompletionItemKind_COMPLETION_ENUM CompletionItemKind = 13 CompletionItemKind_COMPLETION_KEYWORD CompletionItemKind = 14 CompletionItemKind_COMPLETION_SNIPPET CompletionItemKind = 15 CompletionItemKind_COMPLETION_COLOR CompletionItemKind = 16 CompletionItemKind_COMPLETION_FILE CompletionItemKind = 17 CompletionItemKind_COMPLETION_REFERENCE CompletionItemKind = 18 CompletionItemKind_COMPLETION_FOLDER CompletionItemKind = 19 CompletionItemKind_COMPLETION_ENUMMEMBER CompletionItemKind = 20 CompletionItemKind_COMPLETION_CONSTANT CompletionItemKind = 21 CompletionItemKind_COMPLETION_STRUCT CompletionItemKind = 22 CompletionItemKind_COMPLETION_EVENT CompletionItemKind = 23 CompletionItemKind_COMPLETION_OPERATOR CompletionItemKind = 24 CompletionItemKind_COMPLETION_TYPEPARAMETER CompletionItemKind = 25 )
func (CompletionItemKind) Descriptor ¶
func (CompletionItemKind) Descriptor() protoreflect.EnumDescriptor
func (CompletionItemKind) Enum ¶
func (x CompletionItemKind) Enum() *CompletionItemKind
func (CompletionItemKind) EnumDescriptor
deprecated
func (CompletionItemKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use CompletionItemKind.Descriptor instead.
func (CompletionItemKind) Number ¶
func (x CompletionItemKind) Number() protoreflect.EnumNumber
func (CompletionItemKind) String ¶
func (x CompletionItemKind) String() string
func (CompletionItemKind) Type ¶
func (CompletionItemKind) Type() protoreflect.EnumType
type CompletionItemResolveRequest ¶
type CompletionItemResolveRequest struct { CompletionItems *CompletionItems `protobuf:"bytes,1,opt,name=completion_items,json=completionItems,proto3" json:"completion_items,omitempty"` // contains filtered or unexported fields }
CompletionItemResolveRequest represents a CompletionItemResolve request.
func (*CompletionItemResolveRequest) Descriptor
deprecated
func (*CompletionItemResolveRequest) Descriptor() ([]byte, []int)
Deprecated: Use CompletionItemResolveRequest.ProtoReflect.Descriptor instead.
func (*CompletionItemResolveRequest) GetCompletionItems ¶
func (x *CompletionItemResolveRequest) GetCompletionItems() *CompletionItems
func (*CompletionItemResolveRequest) ProtoMessage ¶
func (*CompletionItemResolveRequest) ProtoMessage()
func (*CompletionItemResolveRequest) ProtoReflect ¶
func (x *CompletionItemResolveRequest) ProtoReflect() protoreflect.Message
func (*CompletionItemResolveRequest) Reset ¶
func (x *CompletionItemResolveRequest) Reset()
func (*CompletionItemResolveRequest) String ¶
func (x *CompletionItemResolveRequest) String() string
type CompletionItemResolveResponse ¶
type CompletionItemResolveResponse struct { // Types that are assignable to CompletionItemResolveResponse: // *CompletionItemResolveResponse_CompletionItems // *CompletionItemResolveResponse_Error CompletionItemResolveResponse isCompletionItemResolveResponse_CompletionItemResolveResponse `protobuf_oneof:"completion_item_resolve_response"` // contains filtered or unexported fields }
CompletionItemResolveRequest represents a CompletionItemResolve response.
func (*CompletionItemResolveResponse) Descriptor
deprecated
func (*CompletionItemResolveResponse) Descriptor() ([]byte, []int)
Deprecated: Use CompletionItemResolveResponse.ProtoReflect.Descriptor instead.
func (*CompletionItemResolveResponse) GetCompletionItemResolveResponse ¶
func (m *CompletionItemResolveResponse) GetCompletionItemResolveResponse() isCompletionItemResolveResponse_CompletionItemResolveResponse
func (*CompletionItemResolveResponse) GetCompletionItems ¶
func (x *CompletionItemResolveResponse) GetCompletionItems() *CompletionItems
func (*CompletionItemResolveResponse) GetError ¶
func (x *CompletionItemResolveResponse) GetError() *protocol.Error
func (*CompletionItemResolveResponse) ProtoMessage ¶
func (*CompletionItemResolveResponse) ProtoMessage()
func (*CompletionItemResolveResponse) ProtoReflect ¶
func (x *CompletionItemResolveResponse) ProtoReflect() protoreflect.Message
func (*CompletionItemResolveResponse) Reset ¶
func (x *CompletionItemResolveResponse) Reset()
func (*CompletionItemResolveResponse) String ¶
func (x *CompletionItemResolveResponse) String() string
type CompletionItemResolveResponse_CompletionItems ¶
type CompletionItemResolveResponse_CompletionItems struct {
CompletionItems *CompletionItems `protobuf:"bytes,1,opt,name=completion_items,json=completionItems,proto3,oneof"`
}
type CompletionItemTag ¶
type CompletionItemTag int32
CompletionItemTag completion item tags are extra annotations that tweak the rendering of a completion item.
@since 3.15.0
const ( // Conventional default for enums. Do not use this. CompletionItemTag_COMPLETION_ITEM_TAG_UNSPECIFIED CompletionItemTag = 0 // Render a completion as obsolete, usually using a strike-out. CompletionItemTag_DEPRECATED_TAG CompletionItemTag = 1 )
func (CompletionItemTag) Descriptor ¶
func (CompletionItemTag) Descriptor() protoreflect.EnumDescriptor
func (CompletionItemTag) Enum ¶
func (x CompletionItemTag) Enum() *CompletionItemTag
func (CompletionItemTag) EnumDescriptor
deprecated
func (CompletionItemTag) EnumDescriptor() ([]byte, []int)
Deprecated: Use CompletionItemTag.Descriptor instead.
func (CompletionItemTag) Number ¶
func (x CompletionItemTag) Number() protoreflect.EnumNumber
func (CompletionItemTag) String ¶
func (x CompletionItemTag) String() string
func (CompletionItemTag) Type ¶
func (CompletionItemTag) Type() protoreflect.EnumType
type CompletionItem_Content ¶
type CompletionItem_Content struct {
Content string `protobuf:"bytes,6,opt,name=content,proto3,oneof"`
}
type CompletionItem_MarkupContent ¶
type CompletionItem_MarkupContent struct {
MarkupContent *protocol.MarkupContent `protobuf:"bytes,5,opt,name=markup_content,json=markupContent,proto3,oneof"`
}
type CompletionItems ¶
type CompletionItems struct { CompletionItems []*CompletionItems `protobuf:"bytes,1,rep,name=completion_items,json=completionItems,proto3" json:"completion_items,omitempty"` // contains filtered or unexported fields }
CompletionItems represents a list of CompletionItem.
func (*CompletionItems) Descriptor
deprecated
func (*CompletionItems) Descriptor() ([]byte, []int)
Deprecated: Use CompletionItems.ProtoReflect.Descriptor instead.
func (*CompletionItems) GetCompletionItems ¶
func (x *CompletionItems) GetCompletionItems() []*CompletionItems
func (*CompletionItems) ProtoMessage ¶
func (*CompletionItems) ProtoMessage()
func (*CompletionItems) ProtoReflect ¶
func (x *CompletionItems) ProtoReflect() protoreflect.Message
func (*CompletionItems) Reset ¶
func (x *CompletionItems) Reset()
func (*CompletionItems) String ¶
func (x *CompletionItems) String() string
type CompletionList ¶
type CompletionList struct { // Optional. This list it not complete. Further typing should result in recomputing // this list. IsIncomplete bool `protobuf:"varint,1,opt,name=is_incomplete,json=isIncomplete,proto3" json:"is_incomplete,omitempty"` // The completion items. Items []*CompletionItem `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
CompletionList represents a collection of [completion items](#CompletionItem) to be presented in the editor.
func (*CompletionList) Descriptor
deprecated
func (*CompletionList) Descriptor() ([]byte, []int)
Deprecated: Use CompletionList.ProtoReflect.Descriptor instead.
func (*CompletionList) GetIsIncomplete ¶
func (x *CompletionList) GetIsIncomplete() bool
func (*CompletionList) GetItems ¶
func (x *CompletionList) GetItems() []*CompletionItem
func (*CompletionList) ProtoMessage ¶
func (*CompletionList) ProtoMessage()
func (*CompletionList) ProtoReflect ¶
func (x *CompletionList) ProtoReflect() protoreflect.Message
func (*CompletionList) Reset ¶
func (x *CompletionList) Reset()
func (*CompletionList) String ¶
func (x *CompletionList) String() string
type CompletionOptions ¶
type CompletionOptions struct { // extends WorkDoneProgressOptions *protocol.WorkDoneProgressOptions `` /* 134-byte string literal not displayed */ // Most tools trigger completion request automatically without explicitly requesting // it using a keyboard shortcut (e.g. Ctrl+Space). Typically they do so when the user // starts to type an identifier. For example if the user types `c` in a JavaScript file // code complete will automatically pop up present `console` besides others as a // completion item. Characters that make up identifiers don't need to be listed here. // // If code complete should automatically be trigger on characters not being valid inside // an identifier (for example `.` in JavaScript) list them in `triggerCharacters`. TriggerCharacters []string `protobuf:"bytes,2,rep,name=trigger_characters,json=triggerCharacters,proto3" json:"trigger_characters,omitempty"` // The list of all possible characters that commit a completion. This field can be used // if clients don't support individual commit characters per completion item. See // `ClientCapabilities.textDocument.completion.completionItem.commitCharactersSupport`. // // If a server provides both `allCommitCharacters` and commit characters on an individual // completion item the ones on the completion item win. // // @since 3.2.0 AllCommitCharacters []string `protobuf:"bytes,3,rep,name=all_commit_characters,json=allCommitCharacters,proto3" json:"all_commit_characters,omitempty"` // Optional. The server provides support to resolve additional // information for a completion item. ResolveProvider bool `protobuf:"varint,4,opt,name=resolve_provider,json=resolveProvider,proto3" json:"resolve_provider,omitempty"` // contains filtered or unexported fields }
CompletionOptions represents a server capabilities option of completionProvider.
func (*CompletionOptions) Descriptor
deprecated
func (*CompletionOptions) Descriptor() ([]byte, []int)
Deprecated: Use CompletionOptions.ProtoReflect.Descriptor instead.
func (*CompletionOptions) GetAllCommitCharacters ¶
func (x *CompletionOptions) GetAllCommitCharacters() []string
func (*CompletionOptions) GetResolveProvider ¶
func (x *CompletionOptions) GetResolveProvider() bool
func (*CompletionOptions) GetTriggerCharacters ¶
func (x *CompletionOptions) GetTriggerCharacters() []string
func (*CompletionOptions) GetWorkDoneProgressOptions ¶
func (x *CompletionOptions) GetWorkDoneProgressOptions() *protocol.WorkDoneProgressOptions
func (*CompletionOptions) ProtoMessage ¶
func (*CompletionOptions) ProtoMessage()
func (*CompletionOptions) ProtoReflect ¶
func (x *CompletionOptions) ProtoReflect() protoreflect.Message
func (*CompletionOptions) Reset ¶
func (x *CompletionOptions) Reset()
func (*CompletionOptions) String ¶
func (x *CompletionOptions) String() string
type CompletionRegistrationOptions ¶
type CompletionRegistrationOptions struct { // extends TextDocumentRegistrationOptions *protocol.TextDocumentRegistrationOptions `` /* 158-byte string literal not displayed */ // extends CompletionOptions *CompletionOptions `protobuf:"bytes,2,opt,name=completion_options,json=completionOptions,proto3" json:"completion_options,omitempty"` // contains filtered or unexported fields }
CompletionRegistrationOptions represents a registration option of Completion.
func (*CompletionRegistrationOptions) Descriptor
deprecated
func (*CompletionRegistrationOptions) Descriptor() ([]byte, []int)
Deprecated: Use CompletionRegistrationOptions.ProtoReflect.Descriptor instead.
func (*CompletionRegistrationOptions) GetCompletionOptions ¶
func (x *CompletionRegistrationOptions) GetCompletionOptions() *CompletionOptions
func (*CompletionRegistrationOptions) GetTextDocumentRegistrationOptions ¶
func (x *CompletionRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
func (*CompletionRegistrationOptions) ProtoMessage ¶
func (*CompletionRegistrationOptions) ProtoMessage()
func (*CompletionRegistrationOptions) ProtoReflect ¶
func (x *CompletionRegistrationOptions) ProtoReflect() protoreflect.Message
func (*CompletionRegistrationOptions) Reset ¶
func (x *CompletionRegistrationOptions) Reset()
func (*CompletionRegistrationOptions) String ¶
func (x *CompletionRegistrationOptions) String() string
type CompletionRequest ¶
type CompletionRequest struct { // extends TextDocumentPositionParams *protocol.TextDocumentPositionParams `` /* 143-byte string literal not displayed */ // extends WorkDoneProgressParams *WorkDoneProgressParams `` /* 131-byte string literal not displayed */ // extends PartialResultParams *PartialResultParams `protobuf:"bytes,3,opt,name=partial_result_params,json=partialResultParams,proto3" json:"partial_result_params,omitempty"` // The completion context. This is only available if the client specifies // to send this using `ClientCapabilities.textDocument.completion.contextSupport === true` Context *CompletionContext `protobuf:"bytes,4,opt,name=context,proto3" json:"context,omitempty"` // contains filtered or unexported fields }
CompletionRequest is the parameters of a `textDocument/completion` request.
func (*CompletionRequest) Descriptor
deprecated
func (*CompletionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CompletionRequest.ProtoReflect.Descriptor instead.
func (*CompletionRequest) GetContext ¶
func (x *CompletionRequest) GetContext() *CompletionContext
func (*CompletionRequest) GetPartialResultParams ¶
func (x *CompletionRequest) GetPartialResultParams() *PartialResultParams
func (*CompletionRequest) GetTextDocumentPositionParams ¶
func (x *CompletionRequest) GetTextDocumentPositionParams() *protocol.TextDocumentPositionParams
func (*CompletionRequest) GetWorkDoneProgressParams ¶
func (x *CompletionRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
func (*CompletionRequest) ProtoMessage ¶
func (*CompletionRequest) ProtoMessage()
func (*CompletionRequest) ProtoReflect ¶
func (x *CompletionRequest) ProtoReflect() protoreflect.Message
func (*CompletionRequest) Reset ¶
func (x *CompletionRequest) Reset()
func (*CompletionRequest) String ¶
func (x *CompletionRequest) String() string
type CompletionResponse ¶
type CompletionResponse struct { // Types that are assignable to CompletionResponse: // *CompletionResponse_CompletionItems // *CompletionResponse_CompletionList // *CompletionResponse_Empty // *CompletionResponse_Error CompletionResponse isCompletionResponse_CompletionResponse `protobuf_oneof:"completion_response"` // contains filtered or unexported fields }
CompletionResponse represents a Completion response.
func (*CompletionResponse) Descriptor
deprecated
func (*CompletionResponse) Descriptor() ([]byte, []int)
Deprecated: Use CompletionResponse.ProtoReflect.Descriptor instead.
func (*CompletionResponse) GetCompletionItems ¶
func (x *CompletionResponse) GetCompletionItems() *CompletionItems
func (*CompletionResponse) GetCompletionList ¶
func (x *CompletionResponse) GetCompletionList() *CompletionList
func (*CompletionResponse) GetCompletionResponse ¶
func (m *CompletionResponse) GetCompletionResponse() isCompletionResponse_CompletionResponse
func (*CompletionResponse) GetEmpty ¶
func (x *CompletionResponse) GetEmpty() _struct.NullValue
func (*CompletionResponse) GetError ¶
func (x *CompletionResponse) GetError() *protocol.Error
func (*CompletionResponse) ProtoMessage ¶
func (*CompletionResponse) ProtoMessage()
func (*CompletionResponse) ProtoReflect ¶
func (x *CompletionResponse) ProtoReflect() protoreflect.Message
func (*CompletionResponse) Reset ¶
func (x *CompletionResponse) Reset()
func (*CompletionResponse) String ¶
func (x *CompletionResponse) String() string
type CompletionResponse_CompletionItems ¶
type CompletionResponse_CompletionItems struct {
CompletionItems *CompletionItems `protobuf:"bytes,1,opt,name=completion_items,json=completionItems,proto3,oneof"`
}
type CompletionResponse_CompletionList ¶
type CompletionResponse_CompletionList struct {
CompletionList *CompletionList `protobuf:"bytes,2,opt,name=completion_list,json=completionList,proto3,oneof"`
}
type CompletionTriggerKind ¶
type CompletionTriggerKind int32
CompletionTriggerKind how a completion was triggered.
const ( // Conventional default for enums. Do not use this. CompletionTriggerKind_COMPLETION_TRIGGER_KIND_UNSPECIFIED CompletionTriggerKind = 0 // Completion was triggered by typing an identifier (24x7 code // complete), manual invocation (e.g Ctrl+Space) or via API. CompletionTriggerKind_INVOKED CompletionTriggerKind = 1 // Completion was triggered by a trigger character specified by // the `triggerCharacters` properties of the `CompletionRegistrationOptions`. CompletionTriggerKind_TRIGGER_CHARACTER CompletionTriggerKind = 2 // Completion was re-triggered as the current completion list is incomplete. CompletionTriggerKind_TRIGGER_FOR_INCOMPLETE_COMPLETIONS CompletionTriggerKind = 3 )
func (CompletionTriggerKind) Descriptor ¶
func (CompletionTriggerKind) Descriptor() protoreflect.EnumDescriptor
func (CompletionTriggerKind) Enum ¶
func (x CompletionTriggerKind) Enum() *CompletionTriggerKind
func (CompletionTriggerKind) EnumDescriptor
deprecated
func (CompletionTriggerKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use CompletionTriggerKind.Descriptor instead.
func (CompletionTriggerKind) Number ¶
func (x CompletionTriggerKind) Number() protoreflect.EnumNumber
func (CompletionTriggerKind) String ¶
func (x CompletionTriggerKind) String() string
func (CompletionTriggerKind) Type ¶
func (CompletionTriggerKind) Type() protoreflect.EnumType
type ConfigurationItem ¶
type ConfigurationItem struct { // The scope to get the configuration section for. ScopeUri *uri.DocumentURI `protobuf:"bytes,1,opt,name=scope_uri,json=scopeUri,proto3" json:"scope_uri,omitempty"` // The configuration section asked for. Section *wrappers.StringValue `protobuf:"bytes,2,opt,name=section,proto3" json:"section,omitempty"` // contains filtered or unexported fields }
ConfigurationItem represents a configuration section to ask for and an additional scope URI.
func (*ConfigurationItem) Descriptor
deprecated
func (*ConfigurationItem) Descriptor() ([]byte, []int)
Deprecated: Use ConfigurationItem.ProtoReflect.Descriptor instead.
func (*ConfigurationItem) GetScopeUri ¶
func (x *ConfigurationItem) GetScopeUri() *uri.DocumentURI
func (*ConfigurationItem) GetSection ¶
func (x *ConfigurationItem) GetSection() *wrappers.StringValue
func (*ConfigurationItem) ProtoMessage ¶
func (*ConfigurationItem) ProtoMessage()
func (*ConfigurationItem) ProtoReflect ¶
func (x *ConfigurationItem) ProtoReflect() protoreflect.Message
func (*ConfigurationItem) Reset ¶
func (x *ConfigurationItem) Reset()
func (*ConfigurationItem) String ¶
func (x *ConfigurationItem) String() string
type ConfigurationRequest ¶
type ConfigurationRequest struct { Items []*ConfigurationItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
ConfigurationRequest represents a Configuration request params.
@since 3.6.0
func (*ConfigurationRequest) Descriptor
deprecated
func (*ConfigurationRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConfigurationRequest.ProtoReflect.Descriptor instead.
func (*ConfigurationRequest) GetItems ¶
func (x *ConfigurationRequest) GetItems() []*ConfigurationItem
func (*ConfigurationRequest) ProtoMessage ¶
func (*ConfigurationRequest) ProtoMessage()
func (*ConfigurationRequest) ProtoReflect ¶
func (x *ConfigurationRequest) ProtoReflect() protoreflect.Message
func (*ConfigurationRequest) Reset ¶
func (x *ConfigurationRequest) Reset()
func (*ConfigurationRequest) String ¶
func (x *ConfigurationRequest) String() string
type ConfigurationResponse ¶
type ConfigurationResponse struct { // Types that are assignable to ConfigurationResponse: // *ConfigurationResponse_Anys_ // *ConfigurationResponse_Error ConfigurationResponse isConfigurationResponse_ConfigurationResponse `protobuf_oneof:"configuration_response"` // contains filtered or unexported fields }
ConfigurationResponse represents a Configuration response.
func (*ConfigurationResponse) Descriptor
deprecated
func (*ConfigurationResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConfigurationResponse.ProtoReflect.Descriptor instead.
func (*ConfigurationResponse) GetAnys ¶
func (x *ConfigurationResponse) GetAnys() *ConfigurationResponse_Anys
func (*ConfigurationResponse) GetConfigurationResponse ¶
func (m *ConfigurationResponse) GetConfigurationResponse() isConfigurationResponse_ConfigurationResponse
func (*ConfigurationResponse) GetError ¶
func (x *ConfigurationResponse) GetError() *protocol.Error
func (*ConfigurationResponse) ProtoMessage ¶
func (*ConfigurationResponse) ProtoMessage()
func (*ConfigurationResponse) ProtoReflect ¶
func (x *ConfigurationResponse) ProtoReflect() protoreflect.Message
func (*ConfigurationResponse) Reset ¶
func (x *ConfigurationResponse) Reset()
func (*ConfigurationResponse) String ¶
func (x *ConfigurationResponse) String() string
type ConfigurationResponse_Anys ¶
type ConfigurationResponse_Anys struct { Anys []*any.Any `protobuf:"bytes,1,rep,name=anys,proto3" json:"anys,omitempty"` // contains filtered or unexported fields }
func (*ConfigurationResponse_Anys) Descriptor
deprecated
func (*ConfigurationResponse_Anys) Descriptor() ([]byte, []int)
Deprecated: Use ConfigurationResponse_Anys.ProtoReflect.Descriptor instead.
func (*ConfigurationResponse_Anys) GetAnys ¶
func (x *ConfigurationResponse_Anys) GetAnys() []*any.Any
func (*ConfigurationResponse_Anys) ProtoMessage ¶
func (*ConfigurationResponse_Anys) ProtoMessage()
func (*ConfigurationResponse_Anys) ProtoReflect ¶
func (x *ConfigurationResponse_Anys) ProtoReflect() protoreflect.Message
func (*ConfigurationResponse_Anys) Reset ¶
func (x *ConfigurationResponse_Anys) Reset()
func (*ConfigurationResponse_Anys) String ¶
func (x *ConfigurationResponse_Anys) String() string
type ConfigurationResponse_Anys_ ¶
type ConfigurationResponse_Anys_ struct {
Anys *ConfigurationResponse_Anys `protobuf:"bytes,1,opt,name=anys,proto3,oneof"`
}
type DeclarationClientCapabilities ¶
type DeclarationClientCapabilities struct { // Optional. Whether declaration supports dynamic registration. If this is set to `true` // the client supports the new `DeclarationRegistrationOptions` return value // for the corresponding server capability as well. DynamicRegistration bool `protobuf:"varint,1,opt,name=dynamic_registration,json=dynamicRegistration,proto3" json:"dynamic_registration,omitempty"` // Optional. The client supports additional metadata in the form of declaration links. LinkSupport bool `protobuf:"varint,2,opt,name=link_support,json=linkSupport,proto3" json:"link_support,omitempty"` // contains filtered or unexported fields }
DeclarationClientCapabilities represents a client capabilities of `textDocument/declaration` request.
func (*DeclarationClientCapabilities) Descriptor
deprecated
func (*DeclarationClientCapabilities) Descriptor() ([]byte, []int)
Deprecated: Use DeclarationClientCapabilities.ProtoReflect.Descriptor instead.
func (*DeclarationClientCapabilities) GetDynamicRegistration ¶
func (x *DeclarationClientCapabilities) GetDynamicRegistration() bool
func (*DeclarationClientCapabilities) GetLinkSupport ¶
func (x *DeclarationClientCapabilities) GetLinkSupport() bool
func (*DeclarationClientCapabilities) ProtoMessage ¶
func (*DeclarationClientCapabilities) ProtoMessage()
func (*DeclarationClientCapabilities) ProtoReflect ¶
func (x *DeclarationClientCapabilities) ProtoReflect() protoreflect.Message
func (*DeclarationClientCapabilities) Reset ¶
func (x *DeclarationClientCapabilities) Reset()
func (*DeclarationClientCapabilities) String ¶
func (x *DeclarationClientCapabilities) String() string
type DeclarationOptions ¶
type DeclarationOptions struct { // extends WorkDoneProgressOptions *protocol.WorkDoneProgressOptions `` /* 134-byte string literal not displayed */ // contains filtered or unexported fields }
DeclarationOptions represents a server capabilities option of declarationProvider.
func (*DeclarationOptions) Descriptor
deprecated
func (*DeclarationOptions) Descriptor() ([]byte, []int)
Deprecated: Use DeclarationOptions.ProtoReflect.Descriptor instead.
func (*DeclarationOptions) GetWorkDoneProgressOptions ¶
func (x *DeclarationOptions) GetWorkDoneProgressOptions() *protocol.WorkDoneProgressOptions
func (*DeclarationOptions) ProtoMessage ¶
func (*DeclarationOptions) ProtoMessage()
func (*DeclarationOptions) ProtoReflect ¶
func (x *DeclarationOptions) ProtoReflect() protoreflect.Message
func (*DeclarationOptions) Reset ¶
func (x *DeclarationOptions) Reset()
func (*DeclarationOptions) String ¶
func (x *DeclarationOptions) String() string
type DeclarationRegistrationOptions ¶
type DeclarationRegistrationOptions struct { // extends DeclarationOptions *DeclarationOptions `protobuf:"bytes,1,opt,name=declaration_options,json=declarationOptions,proto3" json:"declaration_options,omitempty"` // extends TextDocumentRegistrationOptions *protocol.TextDocumentRegistrationOptions `` /* 158-byte string literal not displayed */ // extends StaticRegistrationOptions *protocol.StaticRegistrationOptions `` /* 138-byte string literal not displayed */ // contains filtered or unexported fields }
SignatureHelpRegistrationOptions represents a registration option of Declaration.
func (*DeclarationRegistrationOptions) Descriptor
deprecated
func (*DeclarationRegistrationOptions) Descriptor() ([]byte, []int)
Deprecated: Use DeclarationRegistrationOptions.ProtoReflect.Descriptor instead.
func (*DeclarationRegistrationOptions) GetDeclarationOptions ¶
func (x *DeclarationRegistrationOptions) GetDeclarationOptions() *DeclarationOptions
func (*DeclarationRegistrationOptions) GetStaticRegistrationOptions ¶
func (x *DeclarationRegistrationOptions) GetStaticRegistrationOptions() *protocol.StaticRegistrationOptions
func (*DeclarationRegistrationOptions) GetTextDocumentRegistrationOptions ¶
func (x *DeclarationRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
func (*DeclarationRegistrationOptions) ProtoMessage ¶
func (*DeclarationRegistrationOptions) ProtoMessage()
func (*DeclarationRegistrationOptions) ProtoReflect ¶
func (x *DeclarationRegistrationOptions) ProtoReflect() protoreflect.Message
func (*DeclarationRegistrationOptions) Reset ¶
func (x *DeclarationRegistrationOptions) Reset()
func (*DeclarationRegistrationOptions) String ¶
func (x *DeclarationRegistrationOptions) String() string
type DeclarationRequest ¶
type DeclarationRequest struct { // extends TextDocumentPositionParams *protocol.TextDocumentPositionParams `` /* 143-byte string literal not displayed */ // extends WorkDoneProgressParams *WorkDoneProgressParams `` /* 131-byte string literal not displayed */ // extends PartialResultParams *PartialResultParams `protobuf:"bytes,3,opt,name=partial_result_params,json=partialResultParams,proto3" json:"partial_result_params,omitempty"` // contains filtered or unexported fields }
DeclarationRequest is the parameters of a `textDocument/declaration` request.
func (*DeclarationRequest) Descriptor
deprecated
func (*DeclarationRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeclarationRequest.ProtoReflect.Descriptor instead.
func (*DeclarationRequest) GetPartialResultParams ¶
func (x *DeclarationRequest) GetPartialResultParams() *PartialResultParams
func (*DeclarationRequest) GetTextDocumentPositionParams ¶
func (x *DeclarationRequest) GetTextDocumentPositionParams() *protocol.TextDocumentPositionParams
func (*DeclarationRequest) GetWorkDoneProgressParams ¶
func (x *DeclarationRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
func (*DeclarationRequest) ProtoMessage ¶
func (*DeclarationRequest) ProtoMessage()
func (*DeclarationRequest) ProtoReflect ¶
func (x *DeclarationRequest) ProtoReflect() protoreflect.Message
func (*DeclarationRequest) Reset ¶
func (x *DeclarationRequest) Reset()
func (*DeclarationRequest) String ¶
func (x *DeclarationRequest) String() string
type DeclarationResponse ¶
type DeclarationResponse struct { // Types that are assignable to DeclarationResponse: // *DeclarationResponse_Result_ // *DeclarationResponse_PartialResult_ // *DeclarationResponse_Error DeclarationResponse isDeclarationResponse_DeclarationResponse `protobuf_oneof:"declaration_response"` // contains filtered or unexported fields }
DeclarationResponse represents a Declaration response.
func (*DeclarationResponse) Descriptor
deprecated
func (*DeclarationResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeclarationResponse.ProtoReflect.Descriptor instead.
func (*DeclarationResponse) GetDeclarationResponse ¶
func (m *DeclarationResponse) GetDeclarationResponse() isDeclarationResponse_DeclarationResponse
func (*DeclarationResponse) GetError ¶
func (x *DeclarationResponse) GetError() *protocol.Error
func (*DeclarationResponse) GetPartialResult ¶
func (x *DeclarationResponse) GetPartialResult() *DeclarationResponse_PartialResult
func (*DeclarationResponse) GetResult ¶
func (x *DeclarationResponse) GetResult() *DeclarationResponse_Result
func (*DeclarationResponse) ProtoMessage ¶
func (*DeclarationResponse) ProtoMessage()
func (*DeclarationResponse) ProtoReflect ¶
func (x *DeclarationResponse) ProtoReflect() protoreflect.Message
func (*DeclarationResponse) Reset ¶
func (x *DeclarationResponse) Reset()
func (*DeclarationResponse) String ¶
func (x *DeclarationResponse) String() string
type DeclarationResponse_PartialResult ¶
type DeclarationResponse_PartialResult struct { Locations *Locations `protobuf:"bytes,1,opt,name=locations,proto3" json:"locations,omitempty"` LocationLinks *LocationLinks `protobuf:"bytes,2,opt,name=location_links,json=locationLinks,proto3" json:"location_links,omitempty"` // contains filtered or unexported fields }
func (*DeclarationResponse_PartialResult) Descriptor
deprecated
func (*DeclarationResponse_PartialResult) Descriptor() ([]byte, []int)
Deprecated: Use DeclarationResponse_PartialResult.ProtoReflect.Descriptor instead.
func (*DeclarationResponse_PartialResult) GetLocationLinks ¶
func (x *DeclarationResponse_PartialResult) GetLocationLinks() *LocationLinks
func (*DeclarationResponse_PartialResult) GetLocations ¶
func (x *DeclarationResponse_PartialResult) GetLocations() *Locations
func (*DeclarationResponse_PartialResult) ProtoMessage ¶
func (*DeclarationResponse_PartialResult) ProtoMessage()
func (*DeclarationResponse_PartialResult) ProtoReflect ¶
func (x *DeclarationResponse_PartialResult) ProtoReflect() protoreflect.Message
func (*DeclarationResponse_PartialResult) Reset ¶
func (x *DeclarationResponse_PartialResult) Reset()
func (*DeclarationResponse_PartialResult) String ¶
func (x *DeclarationResponse_PartialResult) String() string
type DeclarationResponse_PartialResult_ ¶
type DeclarationResponse_PartialResult_ struct {
PartialResult *DeclarationResponse_PartialResult `protobuf:"bytes,2,opt,name=partial_result,json=partialResult,proto3,oneof"`
}
type DeclarationResponse_Result ¶
type DeclarationResponse_Result struct { Location *protocol.Location `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"` Locations *Locations `protobuf:"bytes,2,opt,name=locations,proto3" json:"locations,omitempty"` LocationLinks *LocationLinks `protobuf:"bytes,3,opt,name=location_links,json=locationLinks,proto3" json:"location_links,omitempty"` Empty _struct.NullValue `protobuf:"varint,4,opt,name=empty,proto3,enum=google.protobuf.NullValue" json:"empty,omitempty"` // contains filtered or unexported fields }
func (*DeclarationResponse_Result) Descriptor
deprecated
func (*DeclarationResponse_Result) Descriptor() ([]byte, []int)
Deprecated: Use DeclarationResponse_Result.ProtoReflect.Descriptor instead.
func (*DeclarationResponse_Result) GetEmpty ¶
func (x *DeclarationResponse_Result) GetEmpty() _struct.NullValue
func (*DeclarationResponse_Result) GetLocation ¶
func (x *DeclarationResponse_Result) GetLocation() *protocol.Location
func (*DeclarationResponse_Result) GetLocationLinks ¶
func (x *DeclarationResponse_Result) GetLocationLinks() *LocationLinks
func (*DeclarationResponse_Result) GetLocations ¶
func (x *DeclarationResponse_Result) GetLocations() *Locations
func (*DeclarationResponse_Result) ProtoMessage ¶
func (*DeclarationResponse_Result) ProtoMessage()
func (*DeclarationResponse_Result) ProtoReflect ¶
func (x *DeclarationResponse_Result) ProtoReflect() protoreflect.Message
func (*DeclarationResponse_Result) Reset ¶
func (x *DeclarationResponse_Result) Reset()
func (*DeclarationResponse_Result) String ¶
func (x *DeclarationResponse_Result) String() string
type DeclarationResponse_Result_ ¶
type DeclarationResponse_Result_ struct {
Result *DeclarationResponse_Result `protobuf:"bytes,1,opt,name=result,proto3,oneof"`
}
type DefinitionClientCapabilities ¶
type DefinitionClientCapabilities struct { // Optional. Whether definition supports dynamic registration. DynamicRegistration bool `protobuf:"varint,1,opt,name=dynamic_registration,json=dynamicRegistration,proto3" json:"dynamic_registration,omitempty"` // Optional. The client supports additional metadata in the form of definition links. // // @since 3.14.0 LinkSupport bool `protobuf:"varint,2,opt,name=link_support,json=linkSupport,proto3" json:"link_support,omitempty"` // contains filtered or unexported fields }
DefinitionClientCapabilities represents a client capabilities of `textDocument/definition` request.
func (*DefinitionClientCapabilities) Descriptor
deprecated
func (*DefinitionClientCapabilities) Descriptor() ([]byte, []int)
Deprecated: Use DefinitionClientCapabilities.ProtoReflect.Descriptor instead.
func (*DefinitionClientCapabilities) GetDynamicRegistration ¶
func (x *DefinitionClientCapabilities) GetDynamicRegistration() bool
func (*DefinitionClientCapabilities) GetLinkSupport ¶
func (x *DefinitionClientCapabilities) GetLinkSupport() bool
func (*DefinitionClientCapabilities) ProtoMessage ¶
func (*DefinitionClientCapabilities) ProtoMessage()
func (*DefinitionClientCapabilities) ProtoReflect ¶
func (x *DefinitionClientCapabilities) ProtoReflect() protoreflect.Message
func (*DefinitionClientCapabilities) Reset ¶
func (x *DefinitionClientCapabilities) Reset()
func (*DefinitionClientCapabilities) String ¶
func (x *DefinitionClientCapabilities) String() string
type DefinitionOptions ¶
type DefinitionOptions struct { // extends WorkDoneProgressOptions *protocol.WorkDoneProgressOptions `` /* 134-byte string literal not displayed */ // contains filtered or unexported fields }
DefinitionOptions represents a server capabilities option of definitionProvider.
func (*DefinitionOptions) Descriptor
deprecated
func (*DefinitionOptions) Descriptor() ([]byte, []int)
Deprecated: Use DefinitionOptions.ProtoReflect.Descriptor instead.
func (*DefinitionOptions) GetWorkDoneProgressOptions ¶
func (x *DefinitionOptions) GetWorkDoneProgressOptions() *protocol.WorkDoneProgressOptions
func (*DefinitionOptions) ProtoMessage ¶
func (*DefinitionOptions) ProtoMessage()
func (*DefinitionOptions) ProtoReflect ¶
func (x *DefinitionOptions) ProtoReflect() protoreflect.Message
func (*DefinitionOptions) Reset ¶
func (x *DefinitionOptions) Reset()
func (*DefinitionOptions) String ¶
func (x *DefinitionOptions) String() string
type DefinitionRegistrationOptions ¶
type DefinitionRegistrationOptions struct { // extends TextDocumentRegistrationOptions *protocol.TextDocumentRegistrationOptions `` /* 158-byte string literal not displayed */ // extends DefinitionOptions *DefinitionOptions `protobuf:"bytes,2,opt,name=definition_options,json=definitionOptions,proto3" json:"definition_options,omitempty"` // contains filtered or unexported fields }
DefinitionRegistrationOptions represents a registration option of Definition.
func (*DefinitionRegistrationOptions) Descriptor
deprecated
func (*DefinitionRegistrationOptions) Descriptor() ([]byte, []int)
Deprecated: Use DefinitionRegistrationOptions.ProtoReflect.Descriptor instead.
func (*DefinitionRegistrationOptions) GetDefinitionOptions ¶
func (x *DefinitionRegistrationOptions) GetDefinitionOptions() *DefinitionOptions
func (*DefinitionRegistrationOptions) GetTextDocumentRegistrationOptions ¶
func (x *DefinitionRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
func (*DefinitionRegistrationOptions) ProtoMessage ¶
func (*DefinitionRegistrationOptions) ProtoMessage()
func (*DefinitionRegistrationOptions) ProtoReflect ¶
func (x *DefinitionRegistrationOptions) ProtoReflect() protoreflect.Message
func (*DefinitionRegistrationOptions) Reset ¶
func (x *DefinitionRegistrationOptions) Reset()
func (*DefinitionRegistrationOptions) String ¶
func (x *DefinitionRegistrationOptions) String() string
type DefinitionRequest ¶
type DefinitionRequest struct { // extends TextDocumentPositionParams *protocol.TextDocumentPositionParams `` /* 143-byte string literal not displayed */ // extends WorkDoneProgressParams *WorkDoneProgressParams `` /* 131-byte string literal not displayed */ // extends PartialResultParams *PartialResultParams `protobuf:"bytes,3,opt,name=partial_result_params,json=partialResultParams,proto3" json:"partial_result_params,omitempty"` // contains filtered or unexported fields }
DefinitionRequest is the parameters of a `textDocument/definition` request.
func (*DefinitionRequest) Descriptor
deprecated
func (*DefinitionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DefinitionRequest.ProtoReflect.Descriptor instead.
func (*DefinitionRequest) GetPartialResultParams ¶
func (x *DefinitionRequest) GetPartialResultParams() *PartialResultParams
func (*DefinitionRequest) GetTextDocumentPositionParams ¶
func (x *DefinitionRequest) GetTextDocumentPositionParams() *protocol.TextDocumentPositionParams
func (*DefinitionRequest) GetWorkDoneProgressParams ¶
func (x *DefinitionRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
func (*DefinitionRequest) ProtoMessage ¶
func (*DefinitionRequest) ProtoMessage()
func (*DefinitionRequest) ProtoReflect ¶
func (x *DefinitionRequest) ProtoReflect() protoreflect.Message
func (*DefinitionRequest) Reset ¶
func (x *DefinitionRequest) Reset()
func (*DefinitionRequest) String ¶
func (x *DefinitionRequest) String() string
type DefinitionResponse ¶
type DefinitionResponse struct { // Types that are assignable to DefinitionResponse: // *DefinitionResponse_Result_ // *DefinitionResponse_PartialResult_ // *DefinitionResponse_Error DefinitionResponse isDefinitionResponse_DefinitionResponse `protobuf_oneof:"definition_response"` // contains filtered or unexported fields }
DefinitionResponse represents a Definition response.
func (*DefinitionResponse) Descriptor
deprecated
func (*DefinitionResponse) Descriptor() ([]byte, []int)
Deprecated: Use DefinitionResponse.ProtoReflect.Descriptor instead.
func (*DefinitionResponse) GetDefinitionResponse ¶
func (m *DefinitionResponse) GetDefinitionResponse() isDefinitionResponse_DefinitionResponse
func (*DefinitionResponse) GetError ¶
func (x *DefinitionResponse) GetError() *protocol.Error
func (*DefinitionResponse) GetPartialResult ¶
func (x *DefinitionResponse) GetPartialResult() *DefinitionResponse_PartialResult
func (*DefinitionResponse) GetResult ¶
func (x *DefinitionResponse) GetResult() *DefinitionResponse_Result
func (*DefinitionResponse) ProtoMessage ¶
func (*DefinitionResponse) ProtoMessage()
func (*DefinitionResponse) ProtoReflect ¶
func (x *DefinitionResponse) ProtoReflect() protoreflect.Message
func (*DefinitionResponse) Reset ¶
func (x *DefinitionResponse) Reset()
func (*DefinitionResponse) String ¶
func (x *DefinitionResponse) String() string
type DefinitionResponse_PartialResult ¶
type DefinitionResponse_PartialResult struct { Locations *Locations `protobuf:"bytes,1,opt,name=locations,proto3" json:"locations,omitempty"` LocationLinks *LocationLinks `protobuf:"bytes,2,opt,name=location_links,json=locationLinks,proto3" json:"location_links,omitempty"` // contains filtered or unexported fields }
func (*DefinitionResponse_PartialResult) Descriptor
deprecated
func (*DefinitionResponse_PartialResult) Descriptor() ([]byte, []int)
Deprecated: Use DefinitionResponse_PartialResult.ProtoReflect.Descriptor instead.
func (*DefinitionResponse_PartialResult) GetLocationLinks ¶
func (x *DefinitionResponse_PartialResult) GetLocationLinks() *LocationLinks
func (*DefinitionResponse_PartialResult) GetLocations ¶
func (x *DefinitionResponse_PartialResult) GetLocations() *Locations
func (*DefinitionResponse_PartialResult) ProtoMessage ¶
func (*DefinitionResponse_PartialResult) ProtoMessage()
func (*DefinitionResponse_PartialResult) ProtoReflect ¶
func (x *DefinitionResponse_PartialResult) ProtoReflect() protoreflect.Message
func (*DefinitionResponse_PartialResult) Reset ¶
func (x *DefinitionResponse_PartialResult) Reset()
func (*DefinitionResponse_PartialResult) String ¶
func (x *DefinitionResponse_PartialResult) String() string
type DefinitionResponse_PartialResult_ ¶
type DefinitionResponse_PartialResult_ struct {
PartialResult *DefinitionResponse_PartialResult `protobuf:"bytes,2,opt,name=partial_result,json=partialResult,proto3,oneof"`
}
type DefinitionResponse_Result ¶
type DefinitionResponse_Result struct { Location *protocol.Location `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"` Locations *Locations `protobuf:"bytes,2,opt,name=locations,proto3" json:"locations,omitempty"` LocationLinks *LocationLinks `protobuf:"bytes,3,opt,name=location_links,json=locationLinks,proto3" json:"location_links,omitempty"` Empty _struct.NullValue `protobuf:"varint,4,opt,name=empty,proto3,enum=google.protobuf.NullValue" json:"empty,omitempty"` // contains filtered or unexported fields }
func (*DefinitionResponse_Result) Descriptor
deprecated
func (*DefinitionResponse_Result) Descriptor() ([]byte, []int)
Deprecated: Use DefinitionResponse_Result.ProtoReflect.Descriptor instead.
func (*DefinitionResponse_Result) GetEmpty ¶
func (x *DefinitionResponse_Result) GetEmpty() _struct.NullValue
func (*DefinitionResponse_Result) GetLocation ¶
func (x *DefinitionResponse_Result) GetLocation() *protocol.Location
func (*DefinitionResponse_Result) GetLocationLinks ¶
func (x *DefinitionResponse_Result) GetLocationLinks() *LocationLinks
func (*DefinitionResponse_Result) GetLocations ¶
func (x *DefinitionResponse_Result) GetLocations() *Locations
func (*DefinitionResponse_Result) ProtoMessage ¶
func (*DefinitionResponse_Result) ProtoMessage()
func (*DefinitionResponse_Result) ProtoReflect ¶
func (x *DefinitionResponse_Result) ProtoReflect() protoreflect.Message
func (*DefinitionResponse_Result) Reset ¶
func (x *DefinitionResponse_Result) Reset()
func (*DefinitionResponse_Result) String ¶
func (x *DefinitionResponse_Result) String() string
type DefinitionResponse_Result_ ¶
type DefinitionResponse_Result_ struct {
Result *DefinitionResponse_Result `protobuf:"bytes,1,opt,name=result,proto3,oneof"`
}
type DidChangeConfigurationClientCapabilities ¶
type DidChangeConfigurationClientCapabilities struct { // Optional. Did change configuration notification supports dynamic registration. DynamicRegistration bool `protobuf:"varint,1,opt,name=dynamic_registration,json=dynamicRegistration,proto3" json:"dynamic_registration,omitempty"` // contains filtered or unexported fields }
DidChangeConfigurationClientCapabilities represents a client capabilities of `workspace/didChangeConfiguration` notification.
func (*DidChangeConfigurationClientCapabilities) Descriptor
deprecated
func (*DidChangeConfigurationClientCapabilities) Descriptor() ([]byte, []int)
Deprecated: Use DidChangeConfigurationClientCapabilities.ProtoReflect.Descriptor instead.
func (*DidChangeConfigurationClientCapabilities) GetDynamicRegistration ¶
func (x *DidChangeConfigurationClientCapabilities) GetDynamicRegistration() bool
func (*DidChangeConfigurationClientCapabilities) ProtoMessage ¶
func (*DidChangeConfigurationClientCapabilities) ProtoMessage()
func (*DidChangeConfigurationClientCapabilities) ProtoReflect ¶
func (x *DidChangeConfigurationClientCapabilities) ProtoReflect() protoreflect.Message
func (*DidChangeConfigurationClientCapabilities) Reset ¶
func (x *DidChangeConfigurationClientCapabilities) Reset()
func (*DidChangeConfigurationClientCapabilities) String ¶
func (x *DidChangeConfigurationClientCapabilities) String() string
type DidChangeConfigurationRequest ¶
type DidChangeConfigurationRequest struct { // The actual changed settings Settings *any.Any `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"` // contains filtered or unexported fields }
DidChangeConfigurationRequest represents a `workspace/didChangeConfiguration` notification params.
func (*DidChangeConfigurationRequest) Descriptor
deprecated
func (*DidChangeConfigurationRequest) Descriptor() ([]byte, []int)
Deprecated: Use DidChangeConfigurationRequest.ProtoReflect.Descriptor instead.
func (*DidChangeConfigurationRequest) GetSettings ¶
func (x *DidChangeConfigurationRequest) GetSettings() *any.Any
func (*DidChangeConfigurationRequest) ProtoMessage ¶
func (*DidChangeConfigurationRequest) ProtoMessage()
func (*DidChangeConfigurationRequest) ProtoReflect ¶
func (x *DidChangeConfigurationRequest) ProtoReflect() protoreflect.Message
func (*DidChangeConfigurationRequest) Reset ¶
func (x *DidChangeConfigurationRequest) Reset()
func (*DidChangeConfigurationRequest) String ¶
func (x *DidChangeConfigurationRequest) String() string
type DidChangeTextDocumentRequest ¶
type DidChangeTextDocumentRequest struct { // The document that did change. The version number points // to the version after all provided content changes have // been applied. TextDocument *protocol.VersionedTextDocumentIdentifier `protobuf:"bytes,1,opt,name=text_document,json=textDocument,proto3" json:"text_document,omitempty"` // The actual content changes. The content changes describe single state changes // to the document. So if there are two content changes c1 (at array index 0) and // c2 (at array index 1) for a document in state S then c1 moves the document from // S to S' and c2 from S' to S”. So c1 is computed on the state S and c2 is computed // on the state S'. // // To mirror the content of a document using change events use the following approach: // - start with the same initial content // - apply the 'textDocument/didChange' notifications in the order you receive them. // - apply the `TextDocumentContentChangeEvent`s in a single notification in the order // you receive them. ContentChanges []*TextDocumentContentChangeEvent `protobuf:"bytes,2,rep,name=content_changes,json=contentChanges,proto3" json:"content_changes,omitempty"` // contains filtered or unexported fields }
DidChangeTextDocumentRequest is the parameters of a `textDocument/didChange` notification.
func (*DidChangeTextDocumentRequest) Descriptor
deprecated
func (*DidChangeTextDocumentRequest) Descriptor() ([]byte, []int)
Deprecated: Use DidChangeTextDocumentRequest.ProtoReflect.Descriptor instead.
func (*DidChangeTextDocumentRequest) GetContentChanges ¶
func (x *DidChangeTextDocumentRequest) GetContentChanges() []*TextDocumentContentChangeEvent
func (*DidChangeTextDocumentRequest) GetTextDocument ¶
func (x *DidChangeTextDocumentRequest) GetTextDocument() *protocol.VersionedTextDocumentIdentifier
func (*DidChangeTextDocumentRequest) ProtoMessage ¶
func (*DidChangeTextDocumentRequest) ProtoMessage()
func (*DidChangeTextDocumentRequest) ProtoReflect ¶
func (x *DidChangeTextDocumentRequest) ProtoReflect() protoreflect.Message
func (*DidChangeTextDocumentRequest) Reset ¶
func (x *DidChangeTextDocumentRequest) Reset()
func (*DidChangeTextDocumentRequest) String ¶
func (x *DidChangeTextDocumentRequest) String() string
type DidChangeWatchedFilesClientCapabilities ¶
type DidChangeWatchedFilesClientCapabilities struct { // Optional. Did change watched files notification supports dynamic registration. Please note // that the current protocol doesn't support static configuration for file changes // from the server side. DynamicRegistration bool `protobuf:"varint,1,opt,name=dynamic_registration,json=dynamicRegistration,proto3" json:"dynamic_registration,omitempty"` // contains filtered or unexported fields }
DidChangeWatchedFilesClientCapabilities represents a client capabilities of `workspace/didChangeWatchedFiles` notification.
func (*DidChangeWatchedFilesClientCapabilities) Descriptor
deprecated
func (*DidChangeWatchedFilesClientCapabilities) Descriptor() ([]byte, []int)
Deprecated: Use DidChangeWatchedFilesClientCapabilities.ProtoReflect.Descriptor instead.
func (*DidChangeWatchedFilesClientCapabilities) GetDynamicRegistration ¶
func (x *DidChangeWatchedFilesClientCapabilities) GetDynamicRegistration() bool
func (*DidChangeWatchedFilesClientCapabilities) ProtoMessage ¶
func (*DidChangeWatchedFilesClientCapabilities) ProtoMessage()
func (*DidChangeWatchedFilesClientCapabilities) ProtoReflect ¶
func (x *DidChangeWatchedFilesClientCapabilities) ProtoReflect() protoreflect.Message
func (*DidChangeWatchedFilesClientCapabilities) Reset ¶
func (x *DidChangeWatchedFilesClientCapabilities) Reset()
func (*DidChangeWatchedFilesClientCapabilities) String ¶
func (x *DidChangeWatchedFilesClientCapabilities) String() string
type DidChangeWatchedFilesRegistrationOptions ¶
type DidChangeWatchedFilesRegistrationOptions struct { // The watchers to register. Watchers []*FileSystemWatcher `protobuf:"bytes,1,rep,name=watchers,proto3" json:"watchers,omitempty"` // contains filtered or unexported fields }
DidChangeWatchedFilesRegistrationOptions describe options to be used when registering for file system change events.
func (*DidChangeWatchedFilesRegistrationOptions) Descriptor
deprecated
func (*DidChangeWatchedFilesRegistrationOptions) Descriptor() ([]byte, []int)
Deprecated: Use DidChangeWatchedFilesRegistrationOptions.ProtoReflect.Descriptor instead.
func (*DidChangeWatchedFilesRegistrationOptions) GetWatchers ¶
func (x *DidChangeWatchedFilesRegistrationOptions) GetWatchers() []*FileSystemWatcher
func (*DidChangeWatchedFilesRegistrationOptions) ProtoMessage ¶
func (*DidChangeWatchedFilesRegistrationOptions) ProtoMessage()
func (*DidChangeWatchedFilesRegistrationOptions) ProtoReflect ¶
func (x *DidChangeWatchedFilesRegistrationOptions) ProtoReflect() protoreflect.Message
func (*DidChangeWatchedFilesRegistrationOptions) Reset ¶
func (x *DidChangeWatchedFilesRegistrationOptions) Reset()
func (*DidChangeWatchedFilesRegistrationOptions) String ¶
func (x *DidChangeWatchedFilesRegistrationOptions) String() string
type DidChangeWatchedFilesRequest ¶
type DidChangeWatchedFilesRequest struct { // The actual file events. Changes []*FileEvent `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` // contains filtered or unexported fields }
DidChangeWatchedFilesRequest is the parameters of a `workspace/didChangeWatchedFiles` notification.
func (*DidChangeWatchedFilesRequest) Descriptor
deprecated
func (*DidChangeWatchedFilesRequest) Descriptor() ([]byte, []int)
Deprecated: Use DidChangeWatchedFilesRequest.ProtoReflect.Descriptor instead.
func (*DidChangeWatchedFilesRequest) GetChanges ¶
func (x *DidChangeWatchedFilesRequest) GetChanges() []*FileEvent
func (*DidChangeWatchedFilesRequest) ProtoMessage ¶
func (*DidChangeWatchedFilesRequest) ProtoMessage()
func (*DidChangeWatchedFilesRequest) ProtoReflect ¶
func (x *DidChangeWatchedFilesRequest) ProtoReflect() protoreflect.Message
func (*DidChangeWatchedFilesRequest) Reset ¶
func (x *DidChangeWatchedFilesRequest) Reset()
func (*DidChangeWatchedFilesRequest) String ¶
func (x *DidChangeWatchedFilesRequest) String() string
type DidChangeWorkspaceFoldersRequest ¶
type DidChangeWorkspaceFoldersRequest struct { // The actual workspace folder change event. Event *WorkspaceFoldersChangeEvent `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` // contains filtered or unexported fields }
DidChangeWorkspaceFoldersRequest represents a `workspace/didChangeWorkspaceFolders` notification params.
func (*DidChangeWorkspaceFoldersRequest) Descriptor
deprecated
func (*DidChangeWorkspaceFoldersRequest) Descriptor() ([]byte, []int)
Deprecated: Use DidChangeWorkspaceFoldersRequest.ProtoReflect.Descriptor instead.
func (*DidChangeWorkspaceFoldersRequest) GetEvent ¶
func (x *DidChangeWorkspaceFoldersRequest) GetEvent() *WorkspaceFoldersChangeEvent
func (*DidChangeWorkspaceFoldersRequest) ProtoMessage ¶
func (*DidChangeWorkspaceFoldersRequest) ProtoMessage()
func (*DidChangeWorkspaceFoldersRequest) ProtoReflect ¶
func (x *DidChangeWorkspaceFoldersRequest) ProtoReflect() protoreflect.Message
func (*DidChangeWorkspaceFoldersRequest) Reset ¶
func (x *DidChangeWorkspaceFoldersRequest) Reset()
func (*DidChangeWorkspaceFoldersRequest) String ¶
func (x *DidChangeWorkspaceFoldersRequest) String() string
type DidCloseTextDocumentRequest ¶
type DidCloseTextDocumentRequest struct { // The document that was closed. TextDocument *protocol.TextDocumentIdentifier `protobuf:"bytes,1,opt,name=text_document,json=textDocument,proto3" json:"text_document,omitempty"` // contains filtered or unexported fields }
DidCloseTextDocumentRequest is the parameters of a `textDocument/didClose` notification.
func (*DidCloseTextDocumentRequest) Descriptor
deprecated
func (*DidCloseTextDocumentRequest) Descriptor() ([]byte, []int)
Deprecated: Use DidCloseTextDocumentRequest.ProtoReflect.Descriptor instead.
func (*DidCloseTextDocumentRequest) GetTextDocument ¶
func (x *DidCloseTextDocumentRequest) GetTextDocument() *protocol.TextDocumentIdentifier
func (*DidCloseTextDocumentRequest) ProtoMessage ¶
func (*DidCloseTextDocumentRequest) ProtoMessage()
func (*DidCloseTextDocumentRequest) ProtoReflect ¶
func (x *DidCloseTextDocumentRequest) ProtoReflect() protoreflect.Message
func (*DidCloseTextDocumentRequest) Reset ¶
func (x *DidCloseTextDocumentRequest) Reset()
func (*DidCloseTextDocumentRequest) String ¶
func (x *DidCloseTextDocumentRequest) String() string
type DidOpenTextDocumentRequest ¶
type DidOpenTextDocumentRequest struct { // The document that was opened. TextDocument *protocol.TextDocumentItem `protobuf:"bytes,1,opt,name=text_document,json=textDocument,proto3" json:"text_document,omitempty"` // contains filtered or unexported fields }
DidOpenTextDocumentRequest is the parameters of a `textDocument/didOpen` notification.
func (*DidOpenTextDocumentRequest) Descriptor
deprecated
func (*DidOpenTextDocumentRequest) Descriptor() ([]byte, []int)
Deprecated: Use DidOpenTextDocumentRequest.ProtoReflect.Descriptor instead.
func (*DidOpenTextDocumentRequest) GetTextDocument ¶
func (x *DidOpenTextDocumentRequest) GetTextDocument() *protocol.TextDocumentItem
func (*DidOpenTextDocumentRequest) ProtoMessage ¶
func (*DidOpenTextDocumentRequest) ProtoMessage()
func (*DidOpenTextDocumentRequest) ProtoReflect ¶
func (x *DidOpenTextDocumentRequest) ProtoReflect() protoreflect.Message
func (*DidOpenTextDocumentRequest) Reset ¶
func (x *DidOpenTextDocumentRequest) Reset()
func (*DidOpenTextDocumentRequest) String ¶
func (x *DidOpenTextDocumentRequest) String() string
type DidSaveTextDocumentRequest ¶
type DidSaveTextDocumentRequest struct { // The document that was saved. TextDocument *protocol.TextDocumentIdentifier `protobuf:"bytes,1,opt,name=text_document,json=textDocument,proto3" json:"text_document,omitempty"` // Optional the content when saved. Depends on the includeText value // when the save notification was requested. Text *wrappers.StringValue `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
DidSaveTextDocumentRequest is the parameters of a `textDocument/didSave` notification.
func (*DidSaveTextDocumentRequest) Descriptor
deprecated
func (*DidSaveTextDocumentRequest) Descriptor() ([]byte, []int)
Deprecated: Use DidSaveTextDocumentRequest.ProtoReflect.Descriptor instead.
func (*DidSaveTextDocumentRequest) GetText ¶
func (x *DidSaveTextDocumentRequest) GetText() *wrappers.StringValue
func (*DidSaveTextDocumentRequest) GetTextDocument ¶
func (x *DidSaveTextDocumentRequest) GetTextDocument() *protocol.TextDocumentIdentifier
func (*DidSaveTextDocumentRequest) ProtoMessage ¶
func (*DidSaveTextDocumentRequest) ProtoMessage()
func (*DidSaveTextDocumentRequest) ProtoReflect ¶
func (x *DidSaveTextDocumentRequest) ProtoReflect() protoreflect.Message
func (*DidSaveTextDocumentRequest) Reset ¶
func (x *DidSaveTextDocumentRequest) Reset()
func (*DidSaveTextDocumentRequest) String ¶
func (x *DidSaveTextDocumentRequest) String() string
type DocumentColorClientCapabilities ¶
type DocumentColorClientCapabilities struct { // Optional. Whether document color supports dynamic registration. DynamicRegistration bool `protobuf:"varint,1,opt,name=dynamic_registration,json=dynamicRegistration,proto3" json:"dynamic_registration,omitempty"` // contains filtered or unexported fields }
DocumentColorClientCapabilities represents a client capabilities of `textDocument/documentColor` request.
func (*DocumentColorClientCapabilities) Descriptor
deprecated
func (*DocumentColorClientCapabilities) Descriptor() ([]byte, []int)
Deprecated: Use DocumentColorClientCapabilities.ProtoReflect.Descriptor instead.
func (*DocumentColorClientCapabilities) GetDynamicRegistration ¶
func (x *DocumentColorClientCapabilities) GetDynamicRegistration() bool
func (*DocumentColorClientCapabilities) ProtoMessage ¶
func (*DocumentColorClientCapabilities) ProtoMessage()
func (*DocumentColorClientCapabilities) ProtoReflect ¶
func (x *DocumentColorClientCapabilities) ProtoReflect() protoreflect.Message
func (*DocumentColorClientCapabilities) Reset ¶
func (x *DocumentColorClientCapabilities) Reset()
func (*DocumentColorClientCapabilities) String ¶
func (x *DocumentColorClientCapabilities) String() string
type DocumentColorOptions ¶
type DocumentColorOptions struct { // extends WorkDoneProgressOptions *protocol.WorkDoneProgressOptions `` /* 134-byte string literal not displayed */ // contains filtered or unexported fields }
DocumentColorOptions represents a server capabilities option of documentColorProvider.
func (*DocumentColorOptions) Descriptor
deprecated
func (*DocumentColorOptions) Descriptor() ([]byte, []int)
Deprecated: Use DocumentColorOptions.ProtoReflect.Descriptor instead.
func (*DocumentColorOptions) GetWorkDoneProgressOptions ¶
func (x *DocumentColorOptions) GetWorkDoneProgressOptions() *protocol.WorkDoneProgressOptions
func (*DocumentColorOptions) ProtoMessage ¶
func (*DocumentColorOptions) ProtoMessage()
func (*DocumentColorOptions) ProtoReflect ¶
func (x *DocumentColorOptions) ProtoReflect() protoreflect.Message
func (*DocumentColorOptions) Reset ¶
func (x *DocumentColorOptions) Reset()
func (*DocumentColorOptions) String ¶
func (x *DocumentColorOptions) String() string
type DocumentColorRegistrationOptions ¶
type DocumentColorRegistrationOptions struct { // extends TextDocumentRegistrationOptions *protocol.TextDocumentRegistrationOptions `` /* 158-byte string literal not displayed */ // extends StaticRegistrationOptions *protocol.StaticRegistrationOptions `` /* 138-byte string literal not displayed */ // extends DocumentColorOptions *DocumentColorOptions `protobuf:"bytes,3,opt,name=document_color_options,json=documentColorOptions,proto3" json:"document_color_options,omitempty"` // contains filtered or unexported fields }
DocumentColorRegistrationOptions represents a registration option of DocumentColor.
func (*DocumentColorRegistrationOptions) Descriptor
deprecated
func (*DocumentColorRegistrationOptions) Descriptor() ([]byte, []int)
Deprecated: Use DocumentColorRegistrationOptions.ProtoReflect.Descriptor instead.
func (*DocumentColorRegistrationOptions) GetDocumentColorOptions ¶
func (x *DocumentColorRegistrationOptions) GetDocumentColorOptions() *DocumentColorOptions
func (*DocumentColorRegistrationOptions) GetStaticRegistrationOptions ¶
func (x *DocumentColorRegistrationOptions) GetStaticRegistrationOptions() *protocol.StaticRegistrationOptions
func (*DocumentColorRegistrationOptions) GetTextDocumentRegistrationOptions ¶
func (x *DocumentColorRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
func (*DocumentColorRegistrationOptions) ProtoMessage ¶
func (*DocumentColorRegistrationOptions) ProtoMessage()
func (*DocumentColorRegistrationOptions) ProtoReflect ¶
func (x *DocumentColorRegistrationOptions) ProtoReflect() protoreflect.Message
func (*DocumentColorRegistrationOptions) Reset ¶
func (x *DocumentColorRegistrationOptions) Reset()
func (*DocumentColorRegistrationOptions) String ¶
func (x *DocumentColorRegistrationOptions) String() string
type DocumentColorRequest ¶
type DocumentColorRequest struct { // extends WorkDoneProgressParams *WorkDoneProgressParams `` /* 131-byte string literal not displayed */ // extends PartialResultParams *PartialResultParams `protobuf:"bytes,2,opt,name=partial_result_params,json=partialResultParams,proto3" json:"partial_result_params,omitempty"` // The text document. TextDocument *protocol.TextDocumentIdentifier `protobuf:"bytes,3,opt,name=text_document,json=textDocument,proto3" json:"text_document,omitempty"` // contains filtered or unexported fields }
DocumentColorRequest is the parameters of a `textDocument/documentColor` request.
func (*DocumentColorRequest) Descriptor
deprecated
func (*DocumentColorRequest) Descriptor() ([]byte, []int)
Deprecated: Use DocumentColorRequest.ProtoReflect.Descriptor instead.
func (*DocumentColorRequest) GetPartialResultParams ¶
func (x *DocumentColorRequest) GetPartialResultParams() *PartialResultParams
func (*DocumentColorRequest) GetTextDocument ¶
func (x *DocumentColorRequest) GetTextDocument() *protocol.TextDocumentIdentifier
func (*DocumentColorRequest) GetWorkDoneProgressParams ¶
func (x *DocumentColorRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
func (*DocumentColorRequest) ProtoMessage ¶
func (*DocumentColorRequest) ProtoMessage()
func (*DocumentColorRequest) ProtoReflect ¶
func (x *DocumentColorRequest) ProtoReflect() protoreflect.Message
func (*DocumentColorRequest) Reset ¶
func (x *DocumentColorRequest) Reset()
func (*DocumentColorRequest) String ¶
func (x *DocumentColorRequest) String() string
type DocumentColorResponse ¶
type DocumentColorResponse struct { // Types that are assignable to DocumentColorResponse: // *DocumentColorResponse_Result_ // *DocumentColorResponse_PartialResult_ // *DocumentColorResponse_Error DocumentColorResponse isDocumentColorResponse_DocumentColorResponse `protobuf_oneof:"document_color_response"` // contains filtered or unexported fields }
DocumentColorResponse represents a DocumentColor response.
func (*DocumentColorResponse) Descriptor
deprecated
func (*DocumentColorResponse) Descriptor() ([]byte, []int)
Deprecated: Use DocumentColorResponse.ProtoReflect.Descriptor instead.
func (*DocumentColorResponse) GetDocumentColorResponse ¶
func (m *DocumentColorResponse) GetDocumentColorResponse() isDocumentColorResponse_DocumentColorResponse
func (*DocumentColorResponse) GetError ¶
func (x *DocumentColorResponse) GetError() *protocol.Error
func (*DocumentColorResponse) GetPartialResult ¶
func (x *DocumentColorResponse) GetPartialResult() *DocumentColorResponse_PartialResult
func (*DocumentColorResponse) GetResult ¶
func (x *DocumentColorResponse) GetResult() *DocumentColorResponse_Result
func (*DocumentColorResponse) ProtoMessage ¶
func (*DocumentColorResponse) ProtoMessage()
func (*DocumentColorResponse) ProtoReflect ¶
func (x *DocumentColorResponse) ProtoReflect() protoreflect.Message
func (*DocumentColorResponse) Reset ¶
func (x *DocumentColorResponse) Reset()
func (*DocumentColorResponse) String ¶
func (x *DocumentColorResponse) String() string
type DocumentColorResponse_PartialResult ¶
type DocumentColorResponse_PartialResult struct { ColorInformations []*ColorInformation `protobuf:"bytes,1,rep,name=color_informations,json=colorInformations,proto3" json:"color_informations,omitempty"` // contains filtered or unexported fields }
func (*DocumentColorResponse_PartialResult) Descriptor
deprecated
func (*DocumentColorResponse_PartialResult) Descriptor() ([]byte, []int)
Deprecated: Use DocumentColorResponse_PartialResult.ProtoReflect.Descriptor instead.
func (*DocumentColorResponse_PartialResult) GetColorInformations ¶
func (x *DocumentColorResponse_PartialResult) GetColorInformations() []*ColorInformation
func (*DocumentColorResponse_PartialResult) ProtoMessage ¶
func (*DocumentColorResponse_PartialResult) ProtoMessage()
func (*DocumentColorResponse_PartialResult) ProtoReflect ¶
func (x *DocumentColorResponse_PartialResult) ProtoReflect() protoreflect.Message
func (*DocumentColorResponse_PartialResult) Reset ¶
func (x *DocumentColorResponse_PartialResult) Reset()
func (*DocumentColorResponse_PartialResult) String ¶
func (x *DocumentColorResponse_PartialResult) String() string
type DocumentColorResponse_PartialResult_ ¶
type DocumentColorResponse_PartialResult_ struct {
PartialResult *DocumentColorResponse_PartialResult `protobuf:"bytes,2,opt,name=partial_result,json=partialResult,proto3,oneof"`
}
type DocumentColorResponse_Result ¶
type DocumentColorResponse_Result struct { ColorInformations []*ColorInformation `protobuf:"bytes,1,rep,name=color_informations,json=colorInformations,proto3" json:"color_informations,omitempty"` // contains filtered or unexported fields }
func (*DocumentColorResponse_Result) Descriptor
deprecated
func (*DocumentColorResponse_Result) Descriptor() ([]byte, []int)
Deprecated: Use DocumentColorResponse_Result.ProtoReflect.Descriptor instead.
func (*DocumentColorResponse_Result) GetColorInformations ¶
func (x *DocumentColorResponse_Result) GetColorInformations() []*ColorInformation
func (*DocumentColorResponse_Result) ProtoMessage ¶
func (*DocumentColorResponse_Result) ProtoMessage()
func (*DocumentColorResponse_Result) ProtoReflect ¶
func (x *DocumentColorResponse_Result) ProtoReflect() protoreflect.Message
func (*DocumentColorResponse_Result) Reset ¶
func (x *DocumentColorResponse_Result) Reset()
func (*DocumentColorResponse_Result) String ¶
func (x *DocumentColorResponse_Result) String() string
type DocumentColorResponse_Result_ ¶
type DocumentColorResponse_Result_ struct {
Result *DocumentColorResponse_Result `protobuf:"bytes,1,opt,name=result,proto3,oneof"`
}
type DocumentFormattingClientCapabilities ¶
type DocumentFormattingClientCapabilities struct { // Optional. Whether formatting supports dynamic registration. DynamicRegistration bool `protobuf:"varint,1,opt,name=dynamic_registration,json=dynamicRegistration,proto3" json:"dynamic_registration,omitempty"` // contains filtered or unexported fields }
DocumentFormattingClientCapabilities represents a client capabilities of `textDocument/formatting` request.
func (*DocumentFormattingClientCapabilities) Descriptor
deprecated
func (*DocumentFormattingClientCapabilities) Descriptor() ([]byte, []int)
Deprecated: Use DocumentFormattingClientCapabilities.ProtoReflect.Descriptor instead.
func (*DocumentFormattingClientCapabilities) GetDynamicRegistration ¶
func (x *DocumentFormattingClientCapabilities) GetDynamicRegistration() bool
func (*DocumentFormattingClientCapabilities) ProtoMessage ¶
func (*DocumentFormattingClientCapabilities) ProtoMessage()
func (*DocumentFormattingClientCapabilities) ProtoReflect ¶
func (x *DocumentFormattingClientCapabilities) ProtoReflect() protoreflect.Message
func (*DocumentFormattingClientCapabilities) Reset ¶
func (x *DocumentFormattingClientCapabilities) Reset()
func (*DocumentFormattingClientCapabilities) String ¶
func (x *DocumentFormattingClientCapabilities) String() string
type DocumentFormattingOptions ¶
type DocumentFormattingOptions struct { // extends WorkDoneProgressOptions *protocol.WorkDoneProgressOptions `` /* 134-byte string literal not displayed */ // contains filtered or unexported fields }
DocumentFormattingOptions represents a server capabilities option of documentFormattingProvider.
func (*DocumentFormattingOptions) Descriptor
deprecated
func (*DocumentFormattingOptions) Descriptor() ([]byte, []int)
Deprecated: Use DocumentFormattingOptions.ProtoReflect.Descriptor instead.
func (*DocumentFormattingOptions) GetWorkDoneProgressOptions ¶
func (x *DocumentFormattingOptions) GetWorkDoneProgressOptions() *protocol.WorkDoneProgressOptions
func (*DocumentFormattingOptions) ProtoMessage ¶
func (*DocumentFormattingOptions) ProtoMessage()
func (*DocumentFormattingOptions) ProtoReflect ¶
func (x *DocumentFormattingOptions) ProtoReflect() protoreflect.Message
func (*DocumentFormattingOptions) Reset ¶
func (x *DocumentFormattingOptions) Reset()
func (*DocumentFormattingOptions) String ¶
func (x *DocumentFormattingOptions) String() string
type DocumentFormattingRegistrationOptions ¶
type DocumentFormattingRegistrationOptions struct { // extends TextDocumentRegistrationOptions *protocol.TextDocumentRegistrationOptions `` /* 158-byte string literal not displayed */ // extends DocumentFormattingOptions *DocumentFormattingOptions `` /* 138-byte string literal not displayed */ // contains filtered or unexported fields }
DocumentFormattingRegistrationOptions represents a registration option of DocumentFormatting.
func (*DocumentFormattingRegistrationOptions) Descriptor
deprecated
func (*DocumentFormattingRegistrationOptions) Descriptor() ([]byte, []int)
Deprecated: Use DocumentFormattingRegistrationOptions.ProtoReflect.Descriptor instead.
func (*DocumentFormattingRegistrationOptions) GetDocumentFormattingOptions ¶
func (x *DocumentFormattingRegistrationOptions) GetDocumentFormattingOptions() *DocumentFormattingOptions
func (*DocumentFormattingRegistrationOptions) GetTextDocumentRegistrationOptions ¶
func (x *DocumentFormattingRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
func (*DocumentFormattingRegistrationOptions) ProtoMessage ¶
func (*DocumentFormattingRegistrationOptions) ProtoMessage()
func (*DocumentFormattingRegistrationOptions) ProtoReflect ¶
func (x *DocumentFormattingRegistrationOptions) ProtoReflect() protoreflect.Message
func (*DocumentFormattingRegistrationOptions) Reset ¶
func (x *DocumentFormattingRegistrationOptions) Reset()
func (*DocumentFormattingRegistrationOptions) String ¶
func (x *DocumentFormattingRegistrationOptions) String() string
type DocumentFormattingRequest ¶
type DocumentFormattingRequest struct { // extends WorkDoneProgressParams *WorkDoneProgressParams `` /* 131-byte string literal not displayed */ // The document to format. TextDocument *protocol.TextDocumentIdentifier `protobuf:"bytes,2,opt,name=text_document,json=textDocument,proto3" json:"text_document,omitempty"` // The format options. Options *FormattingOptions `protobuf:"bytes,3,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
DocumentFormattingRequest is the parameters of a `textDocument/formatting` request.
func (*DocumentFormattingRequest) Descriptor
deprecated
func (*DocumentFormattingRequest) Descriptor() ([]byte, []int)
Deprecated: Use DocumentFormattingRequest.ProtoReflect.Descriptor instead.
func (*DocumentFormattingRequest) GetOptions ¶
func (x *DocumentFormattingRequest) GetOptions() *FormattingOptions
func (*DocumentFormattingRequest) GetTextDocument ¶
func (x *DocumentFormattingRequest) GetTextDocument() *protocol.TextDocumentIdentifier
func (*DocumentFormattingRequest) GetWorkDoneProgressParams ¶
func (x *DocumentFormattingRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
func (*DocumentFormattingRequest) ProtoMessage ¶
func (*DocumentFormattingRequest) ProtoMessage()
func (*DocumentFormattingRequest) ProtoReflect ¶
func (x *DocumentFormattingRequest) ProtoReflect() protoreflect.Message
func (*DocumentFormattingRequest) Reset ¶
func (x *DocumentFormattingRequest) Reset()
func (*DocumentFormattingRequest) String ¶
func (x *DocumentFormattingRequest) String() string
type DocumentFormattingResponse ¶
type DocumentFormattingResponse struct { // Types that are assignable to DocumentFormattingResponse: // *DocumentFormattingResponse_TextEdit // *DocumentFormattingResponse_Empty // *DocumentFormattingResponse_Error DocumentFormattingResponse isDocumentFormattingResponse_DocumentFormattingResponse `protobuf_oneof:"document_formatting_response"` // contains filtered or unexported fields }
DocumentFormattingResponse represents a DocumentFormatting response.
func (*DocumentFormattingResponse) Descriptor
deprecated
func (*DocumentFormattingResponse) Descriptor() ([]byte, []int)
Deprecated: Use DocumentFormattingResponse.ProtoReflect.Descriptor instead.
func (*DocumentFormattingResponse) GetDocumentFormattingResponse ¶
func (m *DocumentFormattingResponse) GetDocumentFormattingResponse() isDocumentFormattingResponse_DocumentFormattingResponse
func (*DocumentFormattingResponse) GetEmpty ¶
func (x *DocumentFormattingResponse) GetEmpty() _struct.NullValue
func (*DocumentFormattingResponse) GetError ¶
func (x *DocumentFormattingResponse) GetError() *protocol.Error
func (*DocumentFormattingResponse) GetTextEdit ¶
func (x *DocumentFormattingResponse) GetTextEdit() *protocol.TextEdit
func (*DocumentFormattingResponse) ProtoMessage ¶
func (*DocumentFormattingResponse) ProtoMessage()
func (*DocumentFormattingResponse) ProtoReflect ¶
func (x *DocumentFormattingResponse) ProtoReflect() protoreflect.Message
func (*DocumentFormattingResponse) Reset ¶
func (x *DocumentFormattingResponse) Reset()
func (*DocumentFormattingResponse) String ¶
func (x *DocumentFormattingResponse) String() string
type DocumentHighlight ¶
type DocumentHighlight struct { // The range this highlight applies to. Range *protocol.Range `protobuf:"bytes,1,opt,name=range,proto3" json:"range,omitempty"` // Optional. The highlight kind, default is DocumentHighlightKind.Text. Kind DocumentHighlight_DocumentHighlightKind `protobuf:"varint,2,opt,name=kind,proto3,enum=protocol.rpc.DocumentHighlight_DocumentHighlightKind" json:"kind,omitempty"` // contains filtered or unexported fields }
DocumentHighlight is a document highlight is a range inside a text document which deserves special attention. Usually a document highlight is visualized by changing the background color of its range.
func (*DocumentHighlight) Descriptor
deprecated
func (*DocumentHighlight) Descriptor() ([]byte, []int)
Deprecated: Use DocumentHighlight.ProtoReflect.Descriptor instead.
func (*DocumentHighlight) GetKind ¶
func (x *DocumentHighlight) GetKind() DocumentHighlight_DocumentHighlightKind
func (*DocumentHighlight) GetRange ¶
func (x *DocumentHighlight) GetRange() *protocol.Range
func (*DocumentHighlight) ProtoMessage ¶
func (*DocumentHighlight) ProtoMessage()
func (*DocumentHighlight) ProtoReflect ¶
func (x *DocumentHighlight) ProtoReflect() protoreflect.Message
func (*DocumentHighlight) Reset ¶
func (x *DocumentHighlight) Reset()
func (*DocumentHighlight) String ¶
func (x *DocumentHighlight) String() string
type DocumentHighlightClientCapabilities ¶
type DocumentHighlightClientCapabilities struct { // Optional. Whether document highlight supports dynamic registration. DynamicRegistration bool `protobuf:"varint,1,opt,name=dynamic_registration,json=dynamicRegistration,proto3" json:"dynamic_registration,omitempty"` // contains filtered or unexported fields }
DocumentHighlightClientCapabilities represents a client capabilities of `textDocument/documentHighlight` request.
func (*DocumentHighlightClientCapabilities) Descriptor
deprecated
func (*DocumentHighlightClientCapabilities) Descriptor() ([]byte, []int)
Deprecated: Use DocumentHighlightClientCapabilities.ProtoReflect.Descriptor instead.
func (*DocumentHighlightClientCapabilities) GetDynamicRegistration ¶
func (x *DocumentHighlightClientCapabilities) GetDynamicRegistration() bool
func (*DocumentHighlightClientCapabilities) ProtoMessage ¶
func (*DocumentHighlightClientCapabilities) ProtoMessage()
func (*DocumentHighlightClientCapabilities) ProtoReflect ¶
func (x *DocumentHighlightClientCapabilities) ProtoReflect() protoreflect.Message
func (*DocumentHighlightClientCapabilities) Reset ¶
func (x *DocumentHighlightClientCapabilities) Reset()
func (*DocumentHighlightClientCapabilities) String ¶
func (x *DocumentHighlightClientCapabilities) String() string
type DocumentHighlightOptions ¶
type DocumentHighlightOptions struct { // extends WorkDoneProgressOptions *protocol.WorkDoneProgressOptions `` /* 134-byte string literal not displayed */ // contains filtered or unexported fields }
DocumentHighlightOptions represents a server capabilities option of documentHighlightProvider.
func (*DocumentHighlightOptions) Descriptor
deprecated
func (*DocumentHighlightOptions) Descriptor() ([]byte, []int)
Deprecated: Use DocumentHighlightOptions.ProtoReflect.Descriptor instead.
func (*DocumentHighlightOptions) GetWorkDoneProgressOptions ¶
func (x *DocumentHighlightOptions) GetWorkDoneProgressOptions() *protocol.WorkDoneProgressOptions
func (*DocumentHighlightOptions) ProtoMessage ¶
func (*DocumentHighlightOptions) ProtoMessage()
func (*DocumentHighlightOptions) ProtoReflect ¶
func (x *DocumentHighlightOptions) ProtoReflect() protoreflect.Message
func (*DocumentHighlightOptions) Reset ¶
func (x *DocumentHighlightOptions) Reset()
func (*DocumentHighlightOptions) String ¶
func (x *DocumentHighlightOptions) String() string
type DocumentHighlightRegistrationOptions ¶
type DocumentHighlightRegistrationOptions struct { // extends TextDocumentRegistrationOptions *protocol.TextDocumentRegistrationOptions `` /* 158-byte string literal not displayed */ // extends DocumentHighlightOptions *DocumentHighlightOptions `` /* 135-byte string literal not displayed */ // contains filtered or unexported fields }
DocumentHighlightRegistrationOptions represents a registration option of DocumentHighlight.
func (*DocumentHighlightRegistrationOptions) Descriptor
deprecated
func (*DocumentHighlightRegistrationOptions) Descriptor() ([]byte, []int)
Deprecated: Use DocumentHighlightRegistrationOptions.ProtoReflect.Descriptor instead.
func (*DocumentHighlightRegistrationOptions) GetDocumentHighlightOptions ¶
func (x *DocumentHighlightRegistrationOptions) GetDocumentHighlightOptions() *DocumentHighlightOptions
func (*DocumentHighlightRegistrationOptions) GetTextDocumentRegistrationOptions ¶
func (x *DocumentHighlightRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
func (*DocumentHighlightRegistrationOptions) ProtoMessage ¶
func (*DocumentHighlightRegistrationOptions) ProtoMessage()
func (*DocumentHighlightRegistrationOptions) ProtoReflect ¶
func (x *DocumentHighlightRegistrationOptions) ProtoReflect() protoreflect.Message
func (*DocumentHighlightRegistrationOptions) Reset ¶
func (x *DocumentHighlightRegistrationOptions) Reset()
func (*DocumentHighlightRegistrationOptions) String ¶
func (x *DocumentHighlightRegistrationOptions) String() string
type DocumentHighlightRequest ¶
type DocumentHighlightRequest struct { // extends TextDocumentPositionParams *protocol.TextDocumentPositionParams `` /* 143-byte string literal not displayed */ // extends WorkDoneProgressParams *WorkDoneProgressParams `` /* 131-byte string literal not displayed */ // extends PartialResultParams *PartialResultParams `protobuf:"bytes,3,opt,name=partial_result_params,json=partialResultParams,proto3" json:"partial_result_params,omitempty"` // contains filtered or unexported fields }
DocumentHighlightRequest is the parameters of a `textDocument/documentHighlight` request.
func (*DocumentHighlightRequest) Descriptor
deprecated
func (*DocumentHighlightRequest) Descriptor() ([]byte, []int)
Deprecated: Use DocumentHighlightRequest.ProtoReflect.Descriptor instead.
func (*DocumentHighlightRequest) GetPartialResultParams ¶
func (x *DocumentHighlightRequest) GetPartialResultParams() *PartialResultParams
func (*DocumentHighlightRequest) GetTextDocumentPositionParams ¶
func (x *DocumentHighlightRequest) GetTextDocumentPositionParams() *protocol.TextDocumentPositionParams
func (*DocumentHighlightRequest) GetWorkDoneProgressParams ¶
func (x *DocumentHighlightRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
func (*DocumentHighlightRequest) ProtoMessage ¶
func (*DocumentHighlightRequest) ProtoMessage()
func (*DocumentHighlightRequest) ProtoReflect ¶
func (x *DocumentHighlightRequest) ProtoReflect() protoreflect.Message
func (*DocumentHighlightRequest) Reset ¶
func (x *DocumentHighlightRequest) Reset()
func (*DocumentHighlightRequest) String ¶
func (x *DocumentHighlightRequest) String() string
type DocumentHighlight_DocumentHighlightKind ¶
type DocumentHighlight_DocumentHighlightKind int32
DocumentHighlightKind is a document highlight kind.
const ( // Conventional default for enums. Do not use this. DocumentHighlight_DOCUMENT_HIGHLIGHT_KIND_UNSPECIFIED DocumentHighlight_DocumentHighlightKind = 0 // A textual occurrence. DocumentHighlight_TEXT DocumentHighlight_DocumentHighlightKind = 1 // Read-access of a symbol, like reading a variable. DocumentHighlight_READ DocumentHighlight_DocumentHighlightKind = 2 // Write-access of a symbol, like writing to a variable. DocumentHighlight_WRITE DocumentHighlight_DocumentHighlightKind = 3 )
func (DocumentHighlight_DocumentHighlightKind) Descriptor ¶
func (DocumentHighlight_DocumentHighlightKind) Descriptor() protoreflect.EnumDescriptor
func (DocumentHighlight_DocumentHighlightKind) EnumDescriptor
deprecated
func (DocumentHighlight_DocumentHighlightKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use DocumentHighlight_DocumentHighlightKind.Descriptor instead.
func (DocumentHighlight_DocumentHighlightKind) Number ¶
func (x DocumentHighlight_DocumentHighlightKind) Number() protoreflect.EnumNumber
func (DocumentHighlight_DocumentHighlightKind) String ¶
func (x DocumentHighlight_DocumentHighlightKind) String() string
func (DocumentHighlight_DocumentHighlightKind) Type ¶
func (DocumentHighlight_DocumentHighlightKind) Type() protoreflect.EnumType
type DocumentHighlightsResponse ¶
type DocumentHighlightsResponse struct { // Types that are assignable to DocumentHighlightsResponse: // *DocumentHighlightsResponse_Result_ // *DocumentHighlightsResponse_PartialResult_ // *DocumentHighlightsResponse_Error DocumentHighlightsResponse isDocumentHighlightsResponse_DocumentHighlightsResponse `protobuf_oneof:"document_highlights_response"` // contains filtered or unexported fields }
DocumentHighlightsResponse represents a DocumentHighlights response.
func (*DocumentHighlightsResponse) Descriptor
deprecated
func (*DocumentHighlightsResponse) Descriptor() ([]byte, []int)
Deprecated: Use DocumentHighlightsResponse.ProtoReflect.Descriptor instead.
func (*DocumentHighlightsResponse) GetDocumentHighlightsResponse ¶
func (m *DocumentHighlightsResponse) GetDocumentHighlightsResponse() isDocumentHighlightsResponse_DocumentHighlightsResponse
func (*DocumentHighlightsResponse) GetError ¶
func (x *DocumentHighlightsResponse) GetError() *protocol.Error
func (*DocumentHighlightsResponse) GetPartialResult ¶
func (x *DocumentHighlightsResponse) GetPartialResult() *DocumentHighlightsResponse_PartialResult
func (*DocumentHighlightsResponse) GetResult ¶
func (x *DocumentHighlightsResponse) GetResult() *DocumentHighlightsResponse_Result
func (*DocumentHighlightsResponse) ProtoMessage ¶
func (*DocumentHighlightsResponse) ProtoMessage()
func (*DocumentHighlightsResponse) ProtoReflect ¶
func (x *DocumentHighlightsResponse) ProtoReflect() protoreflect.Message
func (*DocumentHighlightsResponse) Reset ¶
func (x *DocumentHighlightsResponse) Reset()
func (*DocumentHighlightsResponse) String ¶
func (x *DocumentHighlightsResponse) String() string
type DocumentHighlightsResponse_PartialResult ¶
type DocumentHighlightsResponse_PartialResult struct { DocumentHighlights []*DocumentHighlight `protobuf:"bytes,1,rep,name=document_highlights,json=documentHighlights,proto3" json:"document_highlights,omitempty"` // contains filtered or unexported fields }
func (*DocumentHighlightsResponse_PartialResult) Descriptor
deprecated
func (*DocumentHighlightsResponse_PartialResult) Descriptor() ([]byte, []int)
Deprecated: Use DocumentHighlightsResponse_PartialResult.ProtoReflect.Descriptor instead.
func (*DocumentHighlightsResponse_PartialResult) GetDocumentHighlights ¶
func (x *DocumentHighlightsResponse_PartialResult) GetDocumentHighlights() []*DocumentHighlight
func (*DocumentHighlightsResponse_PartialResult) ProtoMessage ¶
func (*DocumentHighlightsResponse_PartialResult) ProtoMessage()
func (*DocumentHighlightsResponse_PartialResult) ProtoReflect ¶
func (x *DocumentHighlightsResponse_PartialResult) ProtoReflect() protoreflect.Message
func (*DocumentHighlightsResponse_PartialResult) Reset ¶
func (x *DocumentHighlightsResponse_PartialResult) Reset()
func (*DocumentHighlightsResponse_PartialResult) String ¶
func (x *DocumentHighlightsResponse_PartialResult) String() string
type DocumentHighlightsResponse_PartialResult_ ¶
type DocumentHighlightsResponse_PartialResult_ struct {
PartialResult *DocumentHighlightsResponse_PartialResult `protobuf:"bytes,2,opt,name=partial_result,json=partialResult,proto3,oneof"`
}
type DocumentHighlightsResponse_Result ¶
type DocumentHighlightsResponse_Result struct { DocumentHighlights []*DocumentHighlight `protobuf:"bytes,1,rep,name=document_highlights,json=documentHighlights,proto3" json:"document_highlights,omitempty"` Empty _struct.NullValue `protobuf:"varint,2,opt,name=empty,proto3,enum=google.protobuf.NullValue" json:"empty,omitempty"` // contains filtered or unexported fields }
func (*DocumentHighlightsResponse_Result) Descriptor
deprecated
func (*DocumentHighlightsResponse_Result) Descriptor() ([]byte, []int)
Deprecated: Use DocumentHighlightsResponse_Result.ProtoReflect.Descriptor instead.
func (*DocumentHighlightsResponse_Result) GetDocumentHighlights ¶
func (x *DocumentHighlightsResponse_Result) GetDocumentHighlights() []*DocumentHighlight
func (*DocumentHighlightsResponse_Result) GetEmpty ¶
func (x *DocumentHighlightsResponse_Result) GetEmpty() _struct.NullValue
func (*DocumentHighlightsResponse_Result) ProtoMessage ¶
func (*DocumentHighlightsResponse_Result) ProtoMessage()
func (*DocumentHighlightsResponse_Result) ProtoReflect ¶
func (x *DocumentHighlightsResponse_Result) ProtoReflect() protoreflect.Message
func (*DocumentHighlightsResponse_Result) Reset ¶
func (x *DocumentHighlightsResponse_Result) Reset()
func (*DocumentHighlightsResponse_Result) String ¶
func (x *DocumentHighlightsResponse_Result) String() string
type DocumentHighlightsResponse_Result_ ¶
type DocumentHighlightsResponse_Result_ struct {
Result *DocumentHighlightsResponse_Result `protobuf:"bytes,1,opt,name=result,proto3,oneof"`
}
type DocumentLink ¶
type DocumentLink struct { // The range this link applies to. Range *protocol.Range `protobuf:"bytes,1,opt,name=range,proto3" json:"range,omitempty"` // The uri this link points to. If missing a resolve request is sent later. Target *uri.DocumentURI `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` // The tooltip text when you hover over this link. // // If a tooltip is provided, is will be displayed in a string that includes instructions on how to // trigger the link, such as `{0} (ctrl + click)`. The specific instructions vary depending on OS, // user settings, and localization. // // @since 3.15.0 Tooltip *wrappers.StringValue `protobuf:"bytes,3,opt,name=tooltip,proto3" json:"tooltip,omitempty"` // A data entry field that is preserved on a document link between a // DocumentLinkRequest and a DocumentLinkResolveRequest. Data *any.Any `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
DocumentLink is a document link is a range in a text document that links to an internal or external resource, like another text document or a web site.
func (*DocumentLink) Descriptor
deprecated
func (*DocumentLink) Descriptor() ([]byte, []int)
Deprecated: Use DocumentLink.ProtoReflect.Descriptor instead.
func (*DocumentLink) GetData ¶
func (x *DocumentLink) GetData() *any.Any
func (*DocumentLink) GetRange ¶
func (x *DocumentLink) GetRange() *protocol.Range
func (*DocumentLink) GetTarget ¶
func (x *DocumentLink) GetTarget() *uri.DocumentURI
func (*DocumentLink) GetTooltip ¶
func (x *DocumentLink) GetTooltip() *wrappers.StringValue
func (*DocumentLink) ProtoMessage ¶
func (*DocumentLink) ProtoMessage()
func (*DocumentLink) ProtoReflect ¶
func (x *DocumentLink) ProtoReflect() protoreflect.Message
func (*DocumentLink) Reset ¶
func (x *DocumentLink) Reset()
func (*DocumentLink) String ¶
func (x *DocumentLink) String() string
type DocumentLinkClientCapabilities ¶
type DocumentLinkClientCapabilities struct { // Optional. Whether document link supports dynamic registration. DynamicRegistration bool `protobuf:"varint,1,opt,name=dynamic_registration,json=dynamicRegistration,proto3" json:"dynamic_registration,omitempty"` // Optional. Whether the client supports the `tooltip` property on `DocumentLink`. // // @since 3.15.0 TooltipSupport bool `protobuf:"varint,2,opt,name=tooltip_support,json=tooltipSupport,proto3" json:"tooltip_support,omitempty"` // contains filtered or unexported fields }
DocumentLinkClientCapabilities represents a client capabilities of `textDocument/documentLink` request.
func (*DocumentLinkClientCapabilities) Descriptor
deprecated
func (*DocumentLinkClientCapabilities) Descriptor() ([]byte, []int)
Deprecated: Use DocumentLinkClientCapabilities.ProtoReflect.Descriptor instead.
func (*DocumentLinkClientCapabilities) GetDynamicRegistration ¶
func (x *DocumentLinkClientCapabilities) GetDynamicRegistration() bool
func (*DocumentLinkClientCapabilities) GetTooltipSupport ¶
func (x *DocumentLinkClientCapabilities) GetTooltipSupport() bool
func (*DocumentLinkClientCapabilities) ProtoMessage ¶
func (*DocumentLinkClientCapabilities) ProtoMessage()
func (*DocumentLinkClientCapabilities) ProtoReflect ¶
func (x *DocumentLinkClientCapabilities) ProtoReflect() protoreflect.Message
func (*DocumentLinkClientCapabilities) Reset ¶
func (x *DocumentLinkClientCapabilities) Reset()
func (*DocumentLinkClientCapabilities) String ¶
func (x *DocumentLinkClientCapabilities) String() string
type DocumentLinkOptions ¶
type DocumentLinkOptions struct { // extends WorkDoneProgressOptions *protocol.WorkDoneProgressOptions `` /* 134-byte string literal not displayed */ // Optional. Document links have a resolve provider as well. ResolveProvider bool `protobuf:"varint,2,opt,name=resolve_provider,json=resolveProvider,proto3" json:"resolve_provider,omitempty"` // contains filtered or unexported fields }
DocumentLinkOptions represents a server capabilities option of documentLinkProvider.
func (*DocumentLinkOptions) Descriptor
deprecated
func (*DocumentLinkOptions) Descriptor() ([]byte, []int)
Deprecated: Use DocumentLinkOptions.ProtoReflect.Descriptor instead.
func (*DocumentLinkOptions) GetResolveProvider ¶
func (x *DocumentLinkOptions) GetResolveProvider() bool
func (*DocumentLinkOptions) GetWorkDoneProgressOptions ¶
func (x *DocumentLinkOptions) GetWorkDoneProgressOptions() *protocol.WorkDoneProgressOptions
func (*DocumentLinkOptions) ProtoMessage ¶
func (*DocumentLinkOptions) ProtoMessage()
func (*DocumentLinkOptions) ProtoReflect ¶
func (x *DocumentLinkOptions) ProtoReflect() protoreflect.Message
func (*DocumentLinkOptions) Reset ¶
func (x *DocumentLinkOptions) Reset()
func (*DocumentLinkOptions) String ¶
func (x *DocumentLinkOptions) String() string
type DocumentLinkRegistrationOptions ¶
type DocumentLinkRegistrationOptions struct { // extends TextDocumentRegistrationOptions *protocol.TextDocumentRegistrationOptions `` /* 158-byte string literal not displayed */ // extends DocumentLinkOptions *DocumentLinkOptions `protobuf:"bytes,2,opt,name=document_link_options,json=documentLinkOptions,proto3" json:"document_link_options,omitempty"` // contains filtered or unexported fields }
DocumentLinkRegistrationOptions represents a registration option of DocumentLink.
func (*DocumentLinkRegistrationOptions) Descriptor
deprecated
func (*DocumentLinkRegistrationOptions) Descriptor() ([]byte, []int)
Deprecated: Use DocumentLinkRegistrationOptions.ProtoReflect.Descriptor instead.
func (*DocumentLinkRegistrationOptions) GetDocumentLinkOptions ¶
func (x *DocumentLinkRegistrationOptions) GetDocumentLinkOptions() *DocumentLinkOptions
func (*DocumentLinkRegistrationOptions) GetTextDocumentRegistrationOptions ¶
func (x *DocumentLinkRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
func (*DocumentLinkRegistrationOptions) ProtoMessage ¶
func (*DocumentLinkRegistrationOptions) ProtoMessage()
func (*DocumentLinkRegistrationOptions) ProtoReflect ¶
func (x *DocumentLinkRegistrationOptions) ProtoReflect() protoreflect.Message
func (*DocumentLinkRegistrationOptions) Reset ¶
func (x *DocumentLinkRegistrationOptions) Reset()
func (*DocumentLinkRegistrationOptions) String ¶
func (x *DocumentLinkRegistrationOptions) String() string
type DocumentLinkRequest ¶
type DocumentLinkRequest struct { // extends WorkDoneProgressParams *WorkDoneProgressParams `` /* 131-byte string literal not displayed */ // extends PartialResultParams *PartialResultParams `protobuf:"bytes,2,opt,name=partial_result_params,json=partialResultParams,proto3" json:"partial_result_params,omitempty"` // The document to provide document links for. TextDocument *protocol.TextDocumentIdentifier `protobuf:"bytes,3,opt,name=text_document,json=textDocument,proto3" json:"text_document,omitempty"` // contains filtered or unexported fields }
DocumentLinkRequest is the parameters of a `textDocument/documentLink` request.
func (*DocumentLinkRequest) Descriptor
deprecated
func (*DocumentLinkRequest) Descriptor() ([]byte, []int)
Deprecated: Use DocumentLinkRequest.ProtoReflect.Descriptor instead.
func (*DocumentLinkRequest) GetPartialResultParams ¶
func (x *DocumentLinkRequest) GetPartialResultParams() *PartialResultParams
func (*DocumentLinkRequest) GetTextDocument ¶
func (x *DocumentLinkRequest) GetTextDocument() *protocol.TextDocumentIdentifier
func (*DocumentLinkRequest) GetWorkDoneProgressParams ¶
func (x *DocumentLinkRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
func (*DocumentLinkRequest) ProtoMessage ¶
func (*DocumentLinkRequest) ProtoMessage()
func (*DocumentLinkRequest) ProtoReflect ¶
func (x *DocumentLinkRequest) ProtoReflect() protoreflect.Message
func (*DocumentLinkRequest) Reset ¶
func (x *DocumentLinkRequest) Reset()
func (*DocumentLinkRequest) String ¶
func (x *DocumentLinkRequest) String() string
type DocumentLinkResolveRequest ¶
type DocumentLinkResolveRequest struct { DocumentLink *DocumentLink `protobuf:"bytes,1,opt,name=document_link,json=documentLink,proto3" json:"document_link,omitempty"` // contains filtered or unexported fields }
DocumentLinkResolveRequest represents a DocumentLinkResolveRequest request.
func (*DocumentLinkResolveRequest) Descriptor
deprecated
func (*DocumentLinkResolveRequest) Descriptor() ([]byte, []int)
Deprecated: Use DocumentLinkResolveRequest.ProtoReflect.Descriptor instead.
func (*DocumentLinkResolveRequest) GetDocumentLink ¶
func (x *DocumentLinkResolveRequest) GetDocumentLink() *DocumentLink
func (*DocumentLinkResolveRequest) ProtoMessage ¶
func (*DocumentLinkResolveRequest) ProtoMessage()
func (*DocumentLinkResolveRequest) ProtoReflect ¶
func (x *DocumentLinkResolveRequest) ProtoReflect() protoreflect.Message
func (*DocumentLinkResolveRequest) Reset ¶
func (x *DocumentLinkResolveRequest) Reset()
func (*DocumentLinkResolveRequest) String ¶
func (x *DocumentLinkResolveRequest) String() string
type DocumentLinkResolveResponse ¶
type DocumentLinkResolveResponse struct { // Types that are assignable to DocumentLinkResolveResponse: // *DocumentLinkResolveResponse_DocumentLink // *DocumentLinkResolveResponse_Error DocumentLinkResolveResponse isDocumentLinkResolveResponse_DocumentLinkResolveResponse `protobuf_oneof:"document_link_resolve_response"` // contains filtered or unexported fields }
DocumentLinkResolveResponse represents a DocumentLinkResolve response.
func (*DocumentLinkResolveResponse) Descriptor
deprecated
func (*DocumentLinkResolveResponse) Descriptor() ([]byte, []int)
Deprecated: Use DocumentLinkResolveResponse.ProtoReflect.Descriptor instead.
func (*DocumentLinkResolveResponse) GetDocumentLink ¶
func (x *DocumentLinkResolveResponse) GetDocumentLink() *DocumentLink
func (*DocumentLinkResolveResponse) GetDocumentLinkResolveResponse ¶
func (m *DocumentLinkResolveResponse) GetDocumentLinkResolveResponse() isDocumentLinkResolveResponse_DocumentLinkResolveResponse
func (*DocumentLinkResolveResponse) GetError ¶
func (x *DocumentLinkResolveResponse) GetError() *protocol.Error
func (*DocumentLinkResolveResponse) ProtoMessage ¶
func (*DocumentLinkResolveResponse) ProtoMessage()
func (*DocumentLinkResolveResponse) ProtoReflect ¶
func (x *DocumentLinkResolveResponse) ProtoReflect() protoreflect.Message
func (*DocumentLinkResolveResponse) Reset ¶
func (x *DocumentLinkResolveResponse) Reset()
func (*DocumentLinkResolveResponse) String ¶
func (x *DocumentLinkResolveResponse) String() string
type DocumentLinkResolveResponse_DocumentLink ¶
type DocumentLinkResolveResponse_DocumentLink struct {
DocumentLink *DocumentLink `protobuf:"bytes,1,opt,name=document_link,json=documentLink,proto3,oneof"`
}
type DocumentLinkResponse ¶
type DocumentLinkResponse struct { // Types that are assignable to DocumentLinkResponse: // *DocumentLinkResponse_Result_ // *DocumentLinkResponse_PartialResult_ // *DocumentLinkResponse_Error DocumentLinkResponse isDocumentLinkResponse_DocumentLinkResponse `protobuf_oneof:"document_link_response"` // contains filtered or unexported fields }
DocumentLinkResponse represents a DocumentLink response.
func (*DocumentLinkResponse) Descriptor
deprecated
func (*DocumentLinkResponse) Descriptor() ([]byte, []int)
Deprecated: Use DocumentLinkResponse.ProtoReflect.Descriptor instead.
func (*DocumentLinkResponse) GetDocumentLinkResponse ¶
func (m *DocumentLinkResponse) GetDocumentLinkResponse() isDocumentLinkResponse_DocumentLinkResponse
func (*DocumentLinkResponse) GetError ¶
func (x *DocumentLinkResponse) GetError() *protocol.Error
func (*DocumentLinkResponse) GetPartialResult ¶
func (x *DocumentLinkResponse) GetPartialResult() *DocumentLinkResponse_PartialResult
func (*DocumentLinkResponse) GetResult ¶
func (x *DocumentLinkResponse) GetResult() *DocumentLinkResponse_Result
func (*DocumentLinkResponse) ProtoMessage ¶
func (*DocumentLinkResponse) ProtoMessage()
func (*DocumentLinkResponse) ProtoReflect ¶
func (x *DocumentLinkResponse) ProtoReflect() protoreflect.Message
func (*DocumentLinkResponse) Reset ¶
func (x *DocumentLinkResponse) Reset()
func (*DocumentLinkResponse) String ¶
func (x *DocumentLinkResponse) String() string
type DocumentLinkResponse_PartialResult ¶
type DocumentLinkResponse_PartialResult struct { DocumentLinks []*DocumentLink `protobuf:"bytes,1,rep,name=document_links,json=documentLinks,proto3" json:"document_links,omitempty"` // contains filtered or unexported fields }
func (*DocumentLinkResponse_PartialResult) Descriptor
deprecated
func (*DocumentLinkResponse_PartialResult) Descriptor() ([]byte, []int)
Deprecated: Use DocumentLinkResponse_PartialResult.ProtoReflect.Descriptor instead.
func (*DocumentLinkResponse_PartialResult) GetDocumentLinks ¶
func (x *DocumentLinkResponse_PartialResult) GetDocumentLinks() []*DocumentLink
func (*DocumentLinkResponse_PartialResult) ProtoMessage ¶
func (*DocumentLinkResponse_PartialResult) ProtoMessage()
func (*DocumentLinkResponse_PartialResult) ProtoReflect ¶
func (x *DocumentLinkResponse_PartialResult) ProtoReflect() protoreflect.Message
func (*DocumentLinkResponse_PartialResult) Reset ¶
func (x *DocumentLinkResponse_PartialResult) Reset()
func (*DocumentLinkResponse_PartialResult) String ¶
func (x *DocumentLinkResponse_PartialResult) String() string
type DocumentLinkResponse_PartialResult_ ¶
type DocumentLinkResponse_PartialResult_ struct {
PartialResult *DocumentLinkResponse_PartialResult `protobuf:"bytes,2,opt,name=partial_result,json=partialResult,proto3,oneof"`
}
type DocumentLinkResponse_Result ¶
type DocumentLinkResponse_Result struct { DocumentLinks []*DocumentLink `protobuf:"bytes,1,rep,name=document_links,json=documentLinks,proto3" json:"document_links,omitempty"` Empty _struct.NullValue `protobuf:"varint,2,opt,name=empty,proto3,enum=google.protobuf.NullValue" json:"empty,omitempty"` // contains filtered or unexported fields }
func (*DocumentLinkResponse_Result) Descriptor
deprecated
func (*DocumentLinkResponse_Result) Descriptor() ([]byte, []int)
Deprecated: Use DocumentLinkResponse_Result.ProtoReflect.Descriptor instead.
func (*DocumentLinkResponse_Result) GetDocumentLinks ¶
func (x *DocumentLinkResponse_Result) GetDocumentLinks() []*DocumentLink
func (*DocumentLinkResponse_Result) GetEmpty ¶
func (x *DocumentLinkResponse_Result) GetEmpty() _struct.NullValue
func (*DocumentLinkResponse_Result) ProtoMessage ¶
func (*DocumentLinkResponse_Result) ProtoMessage()
func (*DocumentLinkResponse_Result) ProtoReflect ¶
func (x *DocumentLinkResponse_Result) ProtoReflect() protoreflect.Message
func (*DocumentLinkResponse_Result) Reset ¶
func (x *DocumentLinkResponse_Result) Reset()
func (*DocumentLinkResponse_Result) String ¶
func (x *DocumentLinkResponse_Result) String() string
type DocumentLinkResponse_Result_ ¶
type DocumentLinkResponse_Result_ struct {
Result *DocumentLinkResponse_Result `protobuf:"bytes,1,opt,name=result,proto3,oneof"`
}
type DocumentOnTypeFormattingClientCapabilities ¶
type DocumentOnTypeFormattingClientCapabilities struct { // Optional. Whether on type formatting supports dynamic registration. DynamicRegistration bool `protobuf:"varint,1,opt,name=dynamic_registration,json=dynamicRegistration,proto3" json:"dynamic_registration,omitempty"` // contains filtered or unexported fields }
DocumentOnTypeFormattingClientCapabilities represents a client capabilities of `textDocument/onTypeFormatting` request.
func (*DocumentOnTypeFormattingClientCapabilities) Descriptor
deprecated
func (*DocumentOnTypeFormattingClientCapabilities) Descriptor() ([]byte, []int)
Deprecated: Use DocumentOnTypeFormattingClientCapabilities.ProtoReflect.Descriptor instead.
func (*DocumentOnTypeFormattingClientCapabilities) GetDynamicRegistration ¶
func (x *DocumentOnTypeFormattingClientCapabilities) GetDynamicRegistration() bool
func (*DocumentOnTypeFormattingClientCapabilities) ProtoMessage ¶
func (*DocumentOnTypeFormattingClientCapabilities) ProtoMessage()
func (*DocumentOnTypeFormattingClientCapabilities) ProtoReflect ¶
func (x *DocumentOnTypeFormattingClientCapabilities) ProtoReflect() protoreflect.Message
func (*DocumentOnTypeFormattingClientCapabilities) Reset ¶
func (x *DocumentOnTypeFormattingClientCapabilities) Reset()
func (*DocumentOnTypeFormattingClientCapabilities) String ¶
func (x *DocumentOnTypeFormattingClientCapabilities) String() string
type DocumentOnTypeFormattingOptions ¶
type DocumentOnTypeFormattingOptions struct { // A character on which formatting should be triggered, like `}`. FirstTriggerCharacter string `` /* 126-byte string literal not displayed */ // More trigger characters. MoreTriggerCharacter []*wrappers.StringValue `protobuf:"bytes,2,rep,name=more_trigger_character,json=moreTriggerCharacter,proto3" json:"more_trigger_character,omitempty"` // contains filtered or unexported fields }
DocumentOnTypeFormattingOptions represents a server capabilities option of documentOnTypeFormattingProvider.
func (*DocumentOnTypeFormattingOptions) Descriptor
deprecated
func (*DocumentOnTypeFormattingOptions) Descriptor() ([]byte, []int)
Deprecated: Use DocumentOnTypeFormattingOptions.ProtoReflect.Descriptor instead.
func (*DocumentOnTypeFormattingOptions) GetFirstTriggerCharacter ¶
func (x *DocumentOnTypeFormattingOptions) GetFirstTriggerCharacter() string
func (*DocumentOnTypeFormattingOptions) GetMoreTriggerCharacter ¶
func (x *DocumentOnTypeFormattingOptions) GetMoreTriggerCharacter() []*wrappers.StringValue
func (*DocumentOnTypeFormattingOptions) ProtoMessage ¶
func (*DocumentOnTypeFormattingOptions) ProtoMessage()
func (*DocumentOnTypeFormattingOptions) ProtoReflect ¶
func (x *DocumentOnTypeFormattingOptions) ProtoReflect() protoreflect.Message
func (*DocumentOnTypeFormattingOptions) Reset ¶
func (x *DocumentOnTypeFormattingOptions) Reset()
func (*DocumentOnTypeFormattingOptions) String ¶
func (x *DocumentOnTypeFormattingOptions) String() string
type DocumentOnTypeFormattingRegistrationOptions ¶
type DocumentOnTypeFormattingRegistrationOptions struct { // extends TextDocumentRegistrationOptions *protocol.TextDocumentRegistrationOptions `` /* 158-byte string literal not displayed */ // extends DocumentOnTypeFormattingOptions *DocumentOnTypeFormattingOptions `` /* 160-byte string literal not displayed */ // contains filtered or unexported fields }
DocumentOnTypeFormattingRegistrationOptions represents a registration option of DocumentOnTypeFormatting.
func (*DocumentOnTypeFormattingRegistrationOptions) Descriptor
deprecated
func (*DocumentOnTypeFormattingRegistrationOptions) Descriptor() ([]byte, []int)
Deprecated: Use DocumentOnTypeFormattingRegistrationOptions.ProtoReflect.Descriptor instead.
func (*DocumentOnTypeFormattingRegistrationOptions) GetDocumentOnTypeFormattingOptions ¶
func (x *DocumentOnTypeFormattingRegistrationOptions) GetDocumentOnTypeFormattingOptions() *DocumentOnTypeFormattingOptions
func (*DocumentOnTypeFormattingRegistrationOptions) GetTextDocumentRegistrationOptions ¶
func (x *DocumentOnTypeFormattingRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
func (*DocumentOnTypeFormattingRegistrationOptions) ProtoMessage ¶
func (*DocumentOnTypeFormattingRegistrationOptions) ProtoMessage()
func (*DocumentOnTypeFormattingRegistrationOptions) ProtoReflect ¶
func (x *DocumentOnTypeFormattingRegistrationOptions) ProtoReflect() protoreflect.Message
func (*DocumentOnTypeFormattingRegistrationOptions) Reset ¶
func (x *DocumentOnTypeFormattingRegistrationOptions) Reset()
func (*DocumentOnTypeFormattingRegistrationOptions) String ¶
func (x *DocumentOnTypeFormattingRegistrationOptions) String() string
type DocumentOnTypeFormattingRequest ¶
type DocumentOnTypeFormattingRequest struct { // extends TextDocumentPositionParams *protocol.TextDocumentPositionParams `` /* 143-byte string literal not displayed */ // The character that has been typed. Ch string `protobuf:"bytes,2,opt,name=ch,proto3" json:"ch,omitempty"` // The format options. Options *FormattingOptions `protobuf:"bytes,3,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
DocumentOnTypeFormattingRequest is the parameters of a `textDocument/onTypeFormatting` request.
func (*DocumentOnTypeFormattingRequest) Descriptor
deprecated
func (*DocumentOnTypeFormattingRequest) Descriptor() ([]byte, []int)
Deprecated: Use DocumentOnTypeFormattingRequest.ProtoReflect.Descriptor instead.
func (*DocumentOnTypeFormattingRequest) GetCh ¶
func (x *DocumentOnTypeFormattingRequest) GetCh() string
func (*DocumentOnTypeFormattingRequest) GetOptions ¶
func (x *DocumentOnTypeFormattingRequest) GetOptions() *FormattingOptions
func (*DocumentOnTypeFormattingRequest) GetTextDocumentPositionParams ¶
func (x *DocumentOnTypeFormattingRequest) GetTextDocumentPositionParams() *protocol.TextDocumentPositionParams
func (*DocumentOnTypeFormattingRequest) ProtoMessage ¶
func (*DocumentOnTypeFormattingRequest) ProtoMessage()
func (*DocumentOnTypeFormattingRequest) ProtoReflect ¶
func (x *DocumentOnTypeFormattingRequest) ProtoReflect() protoreflect.Message
func (*DocumentOnTypeFormattingRequest) Reset ¶
func (x *DocumentOnTypeFormattingRequest) Reset()
func (*DocumentOnTypeFormattingRequest) String ¶
func (x *DocumentOnTypeFormattingRequest) String() string
type DocumentOnTypeFormattingResponse ¶
type DocumentOnTypeFormattingResponse struct { // Types that are assignable to DocumentOnTypeFormattingResponse: // *DocumentOnTypeFormattingResponse_TextEdit // *DocumentOnTypeFormattingResponse_Empty // *DocumentOnTypeFormattingResponse_Error DocumentOnTypeFormattingResponse isDocumentOnTypeFormattingResponse_DocumentOnTypeFormattingResponse `protobuf_oneof:"document_on_type_formatting_response"` // contains filtered or unexported fields }
DocumentOnTypeFormattingResponse represents a OnTypeFormatting response.
func (*DocumentOnTypeFormattingResponse) Descriptor
deprecated
func (*DocumentOnTypeFormattingResponse) Descriptor() ([]byte, []int)
Deprecated: Use DocumentOnTypeFormattingResponse.ProtoReflect.Descriptor instead.
func (*DocumentOnTypeFormattingResponse) GetDocumentOnTypeFormattingResponse ¶
func (m *DocumentOnTypeFormattingResponse) GetDocumentOnTypeFormattingResponse() isDocumentOnTypeFormattingResponse_DocumentOnTypeFormattingResponse
func (*DocumentOnTypeFormattingResponse) GetEmpty ¶
func (x *DocumentOnTypeFormattingResponse) GetEmpty() _struct.NullValue
func (*DocumentOnTypeFormattingResponse) GetError ¶
func (x *DocumentOnTypeFormattingResponse) GetError() *protocol.Error
func (*DocumentOnTypeFormattingResponse) GetTextEdit ¶
func (x *DocumentOnTypeFormattingResponse) GetTextEdit() *protocol.TextEdit
func (*DocumentOnTypeFormattingResponse) ProtoMessage ¶
func (*DocumentOnTypeFormattingResponse) ProtoMessage()
func (*DocumentOnTypeFormattingResponse) ProtoReflect ¶
func (x *DocumentOnTypeFormattingResponse) ProtoReflect() protoreflect.Message
func (*DocumentOnTypeFormattingResponse) Reset ¶
func (x *DocumentOnTypeFormattingResponse) Reset()
func (*DocumentOnTypeFormattingResponse) String ¶
func (x *DocumentOnTypeFormattingResponse) String() string
type DocumentRangeFormattingClientCapabilities ¶
type DocumentRangeFormattingClientCapabilities struct { // Optional. Whether formatting supports dynamic registration. DynamicRegistration bool `protobuf:"varint,1,opt,name=dynamic_registration,json=dynamicRegistration,proto3" json:"dynamic_registration,omitempty"` // contains filtered or unexported fields }
DocumentRangeFormattingClientCapabilities represents a client capabilities of `textDocument/rangeFormatting` request.
func (*DocumentRangeFormattingClientCapabilities) Descriptor
deprecated
func (*DocumentRangeFormattingClientCapabilities) Descriptor() ([]byte, []int)
Deprecated: Use DocumentRangeFormattingClientCapabilities.ProtoReflect.Descriptor instead.
func (*DocumentRangeFormattingClientCapabilities) GetDynamicRegistration ¶
func (x *DocumentRangeFormattingClientCapabilities) GetDynamicRegistration() bool
func (*DocumentRangeFormattingClientCapabilities) ProtoMessage ¶
func (*DocumentRangeFormattingClientCapabilities) ProtoMessage()
func (*DocumentRangeFormattingClientCapabilities) ProtoReflect ¶
func (x *DocumentRangeFormattingClientCapabilities) ProtoReflect() protoreflect.Message
func (*DocumentRangeFormattingClientCapabilities) Reset ¶
func (x *DocumentRangeFormattingClientCapabilities) Reset()
func (*DocumentRangeFormattingClientCapabilities) String ¶
func (x *DocumentRangeFormattingClientCapabilities) String() string
type DocumentRangeFormattingOptions ¶
type DocumentRangeFormattingOptions struct { // extends WorkDoneProgressOptions *protocol.WorkDoneProgressOptions `` /* 134-byte string literal not displayed */ // contains filtered or unexported fields }
DocumentRangeFormattingOptions represents a server capabilities option of documentRangeFormattingProvider.
func (*DocumentRangeFormattingOptions) Descriptor
deprecated
func (*DocumentRangeFormattingOptions) Descriptor() ([]byte, []int)
Deprecated: Use DocumentRangeFormattingOptions.ProtoReflect.Descriptor instead.
func (*DocumentRangeFormattingOptions) GetWorkDoneProgressOptions ¶
func (x *DocumentRangeFormattingOptions) GetWorkDoneProgressOptions() *protocol.WorkDoneProgressOptions
func (*DocumentRangeFormattingOptions) ProtoMessage ¶
func (*DocumentRangeFormattingOptions) ProtoMessage()
func (*DocumentRangeFormattingOptions) ProtoReflect ¶
func (x *DocumentRangeFormattingOptions) ProtoReflect() protoreflect.Message
func (*DocumentRangeFormattingOptions) Reset ¶
func (x *DocumentRangeFormattingOptions) Reset()
func (*DocumentRangeFormattingOptions) String ¶
func (x *DocumentRangeFormattingOptions) String() string
type DocumentRangeFormattingRegistrationOptions ¶
type DocumentRangeFormattingRegistrationOptions struct { // extends TextDocumentRegistrationOptions *protocol.TextDocumentRegistrationOptions `` /* 158-byte string literal not displayed */ // extends DocumentFormattingOptions *DocumentFormattingOptions `` /* 138-byte string literal not displayed */ // contains filtered or unexported fields }
DocumentRangeFormattingRegistrationOptions represents a registration option of DocumentRangeFormatting.
func (*DocumentRangeFormattingRegistrationOptions) Descriptor
deprecated
func (*DocumentRangeFormattingRegistrationOptions) Descriptor() ([]byte, []int)
Deprecated: Use DocumentRangeFormattingRegistrationOptions.ProtoReflect.Descriptor instead.
func (*DocumentRangeFormattingRegistrationOptions) GetDocumentFormattingOptions ¶
func (x *DocumentRangeFormattingRegistrationOptions) GetDocumentFormattingOptions() *DocumentFormattingOptions
func (*DocumentRangeFormattingRegistrationOptions) GetTextDocumentRegistrationOptions ¶
func (x *DocumentRangeFormattingRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
func (*DocumentRangeFormattingRegistrationOptions) ProtoMessage ¶
func (*DocumentRangeFormattingRegistrationOptions) ProtoMessage()
func (*DocumentRangeFormattingRegistrationOptions) ProtoReflect ¶
func (x *DocumentRangeFormattingRegistrationOptions) ProtoReflect() protoreflect.Message
func (*DocumentRangeFormattingRegistrationOptions) Reset ¶
func (x *DocumentRangeFormattingRegistrationOptions) Reset()
func (*DocumentRangeFormattingRegistrationOptions) String ¶
func (x *DocumentRangeFormattingRegistrationOptions) String() string
type DocumentRangeFormattingRequest ¶
type DocumentRangeFormattingRequest struct { // extends WorkDoneProgressParams *WorkDoneProgressParams `` /* 131-byte string literal not displayed */ // The document to format. TextDocument *protocol.TextDocumentIdentifier `protobuf:"bytes,2,opt,name=text_document,json=textDocument,proto3" json:"text_document,omitempty"` // The range to format Range *protocol.Range `protobuf:"bytes,3,opt,name=range,proto3" json:"range,omitempty"` // The format options Options *FormattingOptions `protobuf:"bytes,4,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
DocumentRangeFormattingRequest is the parameters of a `textDocument/rangeFormatting` request.
func (*DocumentRangeFormattingRequest) Descriptor
deprecated
func (*DocumentRangeFormattingRequest) Descriptor() ([]byte, []int)
Deprecated: Use DocumentRangeFormattingRequest.ProtoReflect.Descriptor instead.
func (*DocumentRangeFormattingRequest) GetOptions ¶
func (x *DocumentRangeFormattingRequest) GetOptions() *FormattingOptions
func (*DocumentRangeFormattingRequest) GetRange ¶
func (x *DocumentRangeFormattingRequest) GetRange() *protocol.Range
func (*DocumentRangeFormattingRequest) GetTextDocument ¶
func (x *DocumentRangeFormattingRequest) GetTextDocument() *protocol.TextDocumentIdentifier
func (*DocumentRangeFormattingRequest) GetWorkDoneProgressParams ¶
func (x *DocumentRangeFormattingRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
func (*DocumentRangeFormattingRequest) ProtoMessage ¶
func (*DocumentRangeFormattingRequest) ProtoMessage()
func (*DocumentRangeFormattingRequest) ProtoReflect ¶
func (x *DocumentRangeFormattingRequest) ProtoReflect() protoreflect.Message
func (*DocumentRangeFormattingRequest) Reset ¶
func (x *DocumentRangeFormattingRequest) Reset()
func (*DocumentRangeFormattingRequest) String ¶
func (x *DocumentRangeFormattingRequest) String() string
type DocumentRangeFormattingResponse ¶
type DocumentRangeFormattingResponse struct { // Types that are assignable to DocumentrangeFormattingResponse: // *DocumentRangeFormattingResponse_TextEdit // *DocumentRangeFormattingResponse_Empty // *DocumentRangeFormattingResponse_Error DocumentrangeFormattingResponse isDocumentRangeFormattingResponse_DocumentrangeFormattingResponse `protobuf_oneof:"documentrange_formatting_response"` // contains filtered or unexported fields }
DocumentRangeFormattingResponse represents a DocumentRangeFormatting response.
func (*DocumentRangeFormattingResponse) Descriptor
deprecated
func (*DocumentRangeFormattingResponse) Descriptor() ([]byte, []int)
Deprecated: Use DocumentRangeFormattingResponse.ProtoReflect.Descriptor instead.
func (*DocumentRangeFormattingResponse) GetDocumentrangeFormattingResponse ¶
func (m *DocumentRangeFormattingResponse) GetDocumentrangeFormattingResponse() isDocumentRangeFormattingResponse_DocumentrangeFormattingResponse
func (*DocumentRangeFormattingResponse) GetEmpty ¶
func (x *DocumentRangeFormattingResponse) GetEmpty() _struct.NullValue
func (*DocumentRangeFormattingResponse) GetError ¶
func (x *DocumentRangeFormattingResponse) GetError() *protocol.Error
func (*DocumentRangeFormattingResponse) GetTextEdit ¶
func (x *DocumentRangeFormattingResponse) GetTextEdit() *protocol.TextEdit
func (*DocumentRangeFormattingResponse) ProtoMessage ¶
func (*DocumentRangeFormattingResponse) ProtoMessage()
func (*DocumentRangeFormattingResponse) ProtoReflect ¶
func (x *DocumentRangeFormattingResponse) ProtoReflect() protoreflect.Message
func (*DocumentRangeFormattingResponse) Reset ¶
func (x *DocumentRangeFormattingResponse) Reset()
func (*DocumentRangeFormattingResponse) String ¶
func (x *DocumentRangeFormattingResponse) String() string
type DocumentSymbol ¶
type DocumentSymbol struct { // The name of this symbol. Will be displayed in the user interface and therefore must not be // an empty string or a string only consisting of white spaces. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // More detail for this symbol, e.g the signature of a function. Detail string `protobuf:"bytes,2,opt,name=detail,proto3" json:"detail,omitempty"` // The kind of this symbol. Kind SymbolKind `protobuf:"varint,3,opt,name=kind,proto3,enum=protocol.rpc.SymbolKind" json:"kind,omitempty"` // Optional. Indicates if this symbol is deprecated. Deprecated bool `protobuf:"varint,4,opt,name=deprecated,proto3" json:"deprecated,omitempty"` // The range enclosing this symbol not including leading/trailing whitespace but everything else // like comments. This information is typically used to determine if the clients cursor is // inside the symbol to reveal in the symbol in the UI. Range *protocol.Range `protobuf:"bytes,5,opt,name=range,proto3" json:"range,omitempty"` // The range that should be selected and revealed when this symbol is being picked, e.g the name // of a function. Must be contained by the `range`. SelectionRange *protocol.Range `protobuf:"bytes,6,opt,name=selection_range,json=selectionRange,proto3" json:"selection_range,omitempty"` // Children of this symbol, e.g. properties of a class. Children []*DocumentSymbol `protobuf:"bytes,7,rep,name=children,proto3" json:"children,omitempty"` // contains filtered or unexported fields }
DocumentSymbol represents programming constructs like variables, classes, interfaces etc. that appear in a document. Document symbols can be hierarchical and they have two ranges: one that encloses its definition and one that points to its most interesting range, e.g. the range of an identifier. (-- api-linter: core::0123::resource-annotation=disabled --)
func (*DocumentSymbol) Descriptor
deprecated
func (*DocumentSymbol) Descriptor() ([]byte, []int)
Deprecated: Use DocumentSymbol.ProtoReflect.Descriptor instead.
func (*DocumentSymbol) GetChildren ¶
func (x *DocumentSymbol) GetChildren() []*DocumentSymbol
func (*DocumentSymbol) GetDeprecated ¶
func (x *DocumentSymbol) GetDeprecated() bool
func (*DocumentSymbol) GetDetail ¶
func (x *DocumentSymbol) GetDetail() string
func (*DocumentSymbol) GetKind ¶
func (x *DocumentSymbol) GetKind() SymbolKind
func (*DocumentSymbol) GetName ¶
func (x *DocumentSymbol) GetName() string
func (*DocumentSymbol) GetRange ¶
func (x *DocumentSymbol) GetRange() *protocol.Range
func (*DocumentSymbol) GetSelectionRange ¶
func (x *DocumentSymbol) GetSelectionRange() *protocol.Range
func (*DocumentSymbol) ProtoMessage ¶
func (*DocumentSymbol) ProtoMessage()
func (*DocumentSymbol) ProtoReflect ¶
func (x *DocumentSymbol) ProtoReflect() protoreflect.Message
func (*DocumentSymbol) Reset ¶
func (x *DocumentSymbol) Reset()
func (*DocumentSymbol) String ¶
func (x *DocumentSymbol) String() string
type DocumentSymbolClientCapabilities ¶
type DocumentSymbolClientCapabilities struct { // Optional. Whether document symbol supports dynamic registration. DynamicRegistration bool `protobuf:"varint,1,opt,name=dynamic_registration,json=dynamicRegistration,proto3" json:"dynamic_registration,omitempty"` // Specific capabilities for the `SymbolKind` in the `textDocument/documentSymbol` request. SymbolKind *DocumentSymbolClientCapabilities_SymbolKind `protobuf:"bytes,2,opt,name=symbol_kind,json=symbolKind,proto3" json:"symbol_kind,omitempty"` // Optional. The client supports hierarchical document symbols. HierarchicalDocumentSymbolSupport bool `` /* 165-byte string literal not displayed */ // contains filtered or unexported fields }
DocumentSymbolClientCapabilities represents a client capabilities of `textDocument/documentSymbol` request.
func (*DocumentSymbolClientCapabilities) Descriptor
deprecated
func (*DocumentSymbolClientCapabilities) Descriptor() ([]byte, []int)
Deprecated: Use DocumentSymbolClientCapabilities.ProtoReflect.Descriptor instead.
func (*DocumentSymbolClientCapabilities) GetDynamicRegistration ¶
func (x *DocumentSymbolClientCapabilities) GetDynamicRegistration() bool
func (*DocumentSymbolClientCapabilities) GetHierarchicalDocumentSymbolSupport ¶
func (x *DocumentSymbolClientCapabilities) GetHierarchicalDocumentSymbolSupport() bool
func (*DocumentSymbolClientCapabilities) GetSymbolKind ¶
func (x *DocumentSymbolClientCapabilities) GetSymbolKind() *DocumentSymbolClientCapabilities_SymbolKind
func (*DocumentSymbolClientCapabilities) ProtoMessage ¶
func (*DocumentSymbolClientCapabilities) ProtoMessage()
func (*DocumentSymbolClientCapabilities) ProtoReflect ¶
func (x *DocumentSymbolClientCapabilities) ProtoReflect() protoreflect.Message
func (*DocumentSymbolClientCapabilities) Reset ¶
func (x *DocumentSymbolClientCapabilities) Reset()
func (*DocumentSymbolClientCapabilities) String ¶
func (x *DocumentSymbolClientCapabilities) String() string
type DocumentSymbolClientCapabilities_SymbolKind ¶
type DocumentSymbolClientCapabilities_SymbolKind struct { // The symbol kind values the client supports. When this // property exists the client also guarantees that it will // handle values outside its set gracefully and falls back // to a default value when unknown. // // If this property is not present the client only supports // the symbol kinds from `File` to `Array` as defined in // the initial version of the protocol. ValueSet []*DocumentSymbolClientCapabilities_SymbolKind `protobuf:"bytes,1,rep,name=value_set,json=valueSet,proto3" json:"value_set,omitempty"` // contains filtered or unexported fields }
func (*DocumentSymbolClientCapabilities_SymbolKind) Descriptor
deprecated
func (*DocumentSymbolClientCapabilities_SymbolKind) Descriptor() ([]byte, []int)
Deprecated: Use DocumentSymbolClientCapabilities_SymbolKind.ProtoReflect.Descriptor instead.
func (*DocumentSymbolClientCapabilities_SymbolKind) GetValueSet ¶
func (x *DocumentSymbolClientCapabilities_SymbolKind) GetValueSet() []*DocumentSymbolClientCapabilities_SymbolKind
func (*DocumentSymbolClientCapabilities_SymbolKind) ProtoMessage ¶
func (*DocumentSymbolClientCapabilities_SymbolKind) ProtoMessage()
func (*DocumentSymbolClientCapabilities_SymbolKind) ProtoReflect ¶
func (x *DocumentSymbolClientCapabilities_SymbolKind) ProtoReflect() protoreflect.Message
func (*DocumentSymbolClientCapabilities_SymbolKind) Reset ¶
func (x *DocumentSymbolClientCapabilities_SymbolKind) Reset()
func (*DocumentSymbolClientCapabilities_SymbolKind) String ¶
func (x *DocumentSymbolClientCapabilities_SymbolKind) String() string
type DocumentSymbolOptions ¶
type DocumentSymbolOptions struct { // extends WorkDoneProgressOptions *protocol.WorkDoneProgressOptions `` /* 134-byte string literal not displayed */ // contains filtered or unexported fields }
DocumentSymbolOptions represents a server capabilities option of documentSymbolProvider.
func (*DocumentSymbolOptions) Descriptor
deprecated
func (*DocumentSymbolOptions) Descriptor() ([]byte, []int)
Deprecated: Use DocumentSymbolOptions.ProtoReflect.Descriptor instead.
func (*DocumentSymbolOptions) GetWorkDoneProgressOptions ¶
func (x *DocumentSymbolOptions) GetWorkDoneProgressOptions() *protocol.WorkDoneProgressOptions
func (*DocumentSymbolOptions) ProtoMessage ¶
func (*DocumentSymbolOptions) ProtoMessage()
func (*DocumentSymbolOptions) ProtoReflect ¶
func (x *DocumentSymbolOptions) ProtoReflect() protoreflect.Message
func (*DocumentSymbolOptions) Reset ¶
func (x *DocumentSymbolOptions) Reset()
func (*DocumentSymbolOptions) String ¶
func (x *DocumentSymbolOptions) String() string
type DocumentSymbolRegistrationOptions ¶
type DocumentSymbolRegistrationOptions struct { // extends TextDocumentRegistrationOptions *protocol.TextDocumentRegistrationOptions `` /* 158-byte string literal not displayed */ // extends DocumentSymbolOptions *DocumentSymbolOptions `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
DocumentSymbolRegistrationOptions represents a registration option of DocumentSymbol.
func (*DocumentSymbolRegistrationOptions) Descriptor
deprecated
func (*DocumentSymbolRegistrationOptions) Descriptor() ([]byte, []int)
Deprecated: Use DocumentSymbolRegistrationOptions.ProtoReflect.Descriptor instead.
func (*DocumentSymbolRegistrationOptions) GetDocumentSymbolOptions ¶
func (x *DocumentSymbolRegistrationOptions) GetDocumentSymbolOptions() *DocumentSymbolOptions
func (*DocumentSymbolRegistrationOptions) GetTextDocumentRegistrationOptions ¶
func (x *DocumentSymbolRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
func (*DocumentSymbolRegistrationOptions) ProtoMessage ¶
func (*DocumentSymbolRegistrationOptions) ProtoMessage()
func (*DocumentSymbolRegistrationOptions) ProtoReflect ¶
func (x *DocumentSymbolRegistrationOptions) ProtoReflect() protoreflect.Message
func (*DocumentSymbolRegistrationOptions) Reset ¶
func (x *DocumentSymbolRegistrationOptions) Reset()
func (*DocumentSymbolRegistrationOptions) String ¶
func (x *DocumentSymbolRegistrationOptions) String() string
type DocumentSymbolRequest ¶
type DocumentSymbolRequest struct { // extends WorkDoneProgressParams *WorkDoneProgressParams `` /* 131-byte string literal not displayed */ // extends PartialResultParams *PartialResultParams `protobuf:"bytes,2,opt,name=partial_result_params,json=partialResultParams,proto3" json:"partial_result_params,omitempty"` // The text document. TextDocument *protocol.TextDocumentIdentifier `protobuf:"bytes,3,opt,name=text_document,json=textDocument,proto3" json:"text_document,omitempty"` // contains filtered or unexported fields }
DocumentSymbolRequest is the parameters of a `textDocument/documentSymbol` request.
func (*DocumentSymbolRequest) Descriptor
deprecated
func (*DocumentSymbolRequest) Descriptor() ([]byte, []int)
Deprecated: Use DocumentSymbolRequest.ProtoReflect.Descriptor instead.
func (*DocumentSymbolRequest) GetPartialResultParams ¶
func (x *DocumentSymbolRequest) GetPartialResultParams() *PartialResultParams
func (*DocumentSymbolRequest) GetTextDocument ¶
func (x *DocumentSymbolRequest) GetTextDocument() *protocol.TextDocumentIdentifier
func (*DocumentSymbolRequest) GetWorkDoneProgressParams ¶
func (x *DocumentSymbolRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
func (*DocumentSymbolRequest) ProtoMessage ¶
func (*DocumentSymbolRequest) ProtoMessage()
func (*DocumentSymbolRequest) ProtoReflect ¶
func (x *DocumentSymbolRequest) ProtoReflect() protoreflect.Message
func (*DocumentSymbolRequest) Reset ¶
func (x *DocumentSymbolRequest) Reset()
func (*DocumentSymbolRequest) String ¶
func (x *DocumentSymbolRequest) String() string
type DocumentSymbolResponse ¶
type DocumentSymbolResponse struct { // Types that are assignable to DocumentSymbolResponse: // *DocumentSymbolResponse_Result_ // *DocumentSymbolResponse_PartialResult_ // *DocumentSymbolResponse_Error DocumentSymbolResponse isDocumentSymbolResponse_DocumentSymbolResponse `protobuf_oneof:"document_symbol_response"` // contains filtered or unexported fields }
DocumentSymbolResponse represents a DocumentSymbol response.
func (*DocumentSymbolResponse) Descriptor
deprecated
func (*DocumentSymbolResponse) Descriptor() ([]byte, []int)
Deprecated: Use DocumentSymbolResponse.ProtoReflect.Descriptor instead.
func (*DocumentSymbolResponse) GetDocumentSymbolResponse ¶
func (m *DocumentSymbolResponse) GetDocumentSymbolResponse() isDocumentSymbolResponse_DocumentSymbolResponse
func (*DocumentSymbolResponse) GetError ¶
func (x *DocumentSymbolResponse) GetError() *protocol.Error
func (*DocumentSymbolResponse) GetPartialResult ¶
func (x *DocumentSymbolResponse) GetPartialResult() *DocumentSymbolResponse_PartialResult
func (*DocumentSymbolResponse) GetResult ¶
func (x *DocumentSymbolResponse) GetResult() *DocumentSymbolResponse_Result
func (*DocumentSymbolResponse) ProtoMessage ¶
func (*DocumentSymbolResponse) ProtoMessage()
func (*DocumentSymbolResponse) ProtoReflect ¶
func (x *DocumentSymbolResponse) ProtoReflect() protoreflect.Message
func (*DocumentSymbolResponse) Reset ¶
func (x *DocumentSymbolResponse) Reset()
func (*DocumentSymbolResponse) String ¶
func (x *DocumentSymbolResponse) String() string
type DocumentSymbolResponse_PartialResult ¶
type DocumentSymbolResponse_PartialResult struct { DocumentSymbols []*DocumentSymbol `protobuf:"bytes,1,rep,name=document_symbols,json=documentSymbols,proto3" json:"document_symbols,omitempty"` SymbolInformations []*SymbolInformation `protobuf:"bytes,2,rep,name=symbol_informations,json=symbolInformations,proto3" json:"symbol_informations,omitempty"` // contains filtered or unexported fields }
func (*DocumentSymbolResponse_PartialResult) Descriptor
deprecated
func (*DocumentSymbolResponse_PartialResult) Descriptor() ([]byte, []int)
Deprecated: Use DocumentSymbolResponse_PartialResult.ProtoReflect.Descriptor instead.
func (*DocumentSymbolResponse_PartialResult) GetDocumentSymbols ¶
func (x *DocumentSymbolResponse_PartialResult) GetDocumentSymbols() []*DocumentSymbol
func (*DocumentSymbolResponse_PartialResult) GetSymbolInformations ¶
func (x *DocumentSymbolResponse_PartialResult) GetSymbolInformations() []*SymbolInformation
func (*DocumentSymbolResponse_PartialResult) ProtoMessage ¶
func (*DocumentSymbolResponse_PartialResult) ProtoMessage()
func (*DocumentSymbolResponse_PartialResult) ProtoReflect ¶
func (x *DocumentSymbolResponse_PartialResult) ProtoReflect() protoreflect.Message
func (*DocumentSymbolResponse_PartialResult) Reset ¶
func (x *DocumentSymbolResponse_PartialResult) Reset()
func (*DocumentSymbolResponse_PartialResult) String ¶
func (x *DocumentSymbolResponse_PartialResult) String() string
type DocumentSymbolResponse_PartialResult_ ¶
type DocumentSymbolResponse_PartialResult_ struct {
PartialResult *DocumentSymbolResponse_PartialResult `protobuf:"bytes,2,opt,name=partial_result,json=partialResult,proto3,oneof"`
}
type DocumentSymbolResponse_Result ¶
type DocumentSymbolResponse_Result struct { DocumentSymbols []*DocumentSymbol `protobuf:"bytes,1,rep,name=document_symbols,json=documentSymbols,proto3" json:"document_symbols,omitempty"` SymbolInformations []*SymbolInformation `protobuf:"bytes,2,rep,name=symbol_informations,json=symbolInformations,proto3" json:"symbol_informations,omitempty"` Empty _struct.NullValue `protobuf:"varint,3,opt,name=empty,proto3,enum=google.protobuf.NullValue" json:"empty,omitempty"` // contains filtered or unexported fields }
func (*DocumentSymbolResponse_Result) Descriptor
deprecated
func (*DocumentSymbolResponse_Result) Descriptor() ([]byte, []int)
Deprecated: Use DocumentSymbolResponse_Result.ProtoReflect.Descriptor instead.
func (*DocumentSymbolResponse_Result) GetDocumentSymbols ¶
func (x *DocumentSymbolResponse_Result) GetDocumentSymbols() []*DocumentSymbol
func (*DocumentSymbolResponse_Result) GetEmpty ¶
func (x *DocumentSymbolResponse_Result) GetEmpty() _struct.NullValue
func (*DocumentSymbolResponse_Result) GetSymbolInformations ¶
func (x *DocumentSymbolResponse_Result) GetSymbolInformations() []*SymbolInformation
func (*DocumentSymbolResponse_Result) ProtoMessage ¶
func (*DocumentSymbolResponse_Result) ProtoMessage()
func (*DocumentSymbolResponse_Result) ProtoReflect ¶
func (x *DocumentSymbolResponse_Result) ProtoReflect() protoreflect.Message
func (*DocumentSymbolResponse_Result) Reset ¶
func (x *DocumentSymbolResponse_Result) Reset()
func (*DocumentSymbolResponse_Result) String ¶
func (x *DocumentSymbolResponse_Result) String() string
type DocumentSymbolResponse_Result_ ¶
type DocumentSymbolResponse_Result_ struct {
Result *DocumentSymbolResponse_Result `protobuf:"bytes,1,opt,name=result,proto3,oneof"`
}
type ExecuteCommandClientCapabilities ¶
type ExecuteCommandClientCapabilities struct { // Optional. Execute command supports dynamic registration. DynamicRegistration bool `protobuf:"varint,1,opt,name=dynamic_registration,json=dynamicRegistration,proto3" json:"dynamic_registration,omitempty"` // contains filtered or unexported fields }
ExecuteCommandClientCapabilities represents a client capabilities of `workspace/executeCommand` request.
func (*ExecuteCommandClientCapabilities) Descriptor
deprecated
func (*ExecuteCommandClientCapabilities) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteCommandClientCapabilities.ProtoReflect.Descriptor instead.
func (*ExecuteCommandClientCapabilities) GetDynamicRegistration ¶
func (x *ExecuteCommandClientCapabilities) GetDynamicRegistration() bool
func (*ExecuteCommandClientCapabilities) ProtoMessage ¶
func (*ExecuteCommandClientCapabilities) ProtoMessage()
func (*ExecuteCommandClientCapabilities) ProtoReflect ¶
func (x *ExecuteCommandClientCapabilities) ProtoReflect() protoreflect.Message
func (*ExecuteCommandClientCapabilities) Reset ¶
func (x *ExecuteCommandClientCapabilities) Reset()
func (*ExecuteCommandClientCapabilities) String ¶
func (x *ExecuteCommandClientCapabilities) String() string
type ExecuteCommandOptions ¶
type ExecuteCommandOptions struct { // extends WorkDoneProgressOptions *protocol.WorkDoneProgressOptions `` /* 134-byte string literal not displayed */ // The commands to be executed on the server Commands []string `protobuf:"bytes,2,rep,name=commands,proto3" json:"commands,omitempty"` // contains filtered or unexported fields }
func (*ExecuteCommandOptions) Descriptor
deprecated
func (*ExecuteCommandOptions) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteCommandOptions.ProtoReflect.Descriptor instead.
func (*ExecuteCommandOptions) GetCommands ¶
func (x *ExecuteCommandOptions) GetCommands() []string
func (*ExecuteCommandOptions) GetWorkDoneProgressOptions ¶
func (x *ExecuteCommandOptions) GetWorkDoneProgressOptions() *protocol.WorkDoneProgressOptions
func (*ExecuteCommandOptions) ProtoMessage ¶
func (*ExecuteCommandOptions) ProtoMessage()
func (*ExecuteCommandOptions) ProtoReflect ¶
func (x *ExecuteCommandOptions) ProtoReflect() protoreflect.Message
func (*ExecuteCommandOptions) Reset ¶
func (x *ExecuteCommandOptions) Reset()
func (*ExecuteCommandOptions) String ¶
func (x *ExecuteCommandOptions) String() string
type ExecuteCommandParams ¶
type ExecuteCommandParams struct { // extends WorkDoneProgressParams *WorkDoneProgressParams `` /* 131-byte string literal not displayed */ // The identifier of the actual command handler. Command string `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"` // Arguments that the command should be invoked with. // (-- api-linter: core::0140::reserved-words=disabled --) Arguments []*any.Any `protobuf:"bytes,3,rep,name=arguments,proto3" json:"arguments,omitempty"` // contains filtered or unexported fields }
ExecuteCommandParams is the parameters of a `workspace/executeCommand` request.
func (*ExecuteCommandParams) Descriptor
deprecated
func (*ExecuteCommandParams) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteCommandParams.ProtoReflect.Descriptor instead.
func (*ExecuteCommandParams) GetArguments ¶
func (x *ExecuteCommandParams) GetArguments() []*any.Any
func (*ExecuteCommandParams) GetCommand ¶
func (x *ExecuteCommandParams) GetCommand() string
func (*ExecuteCommandParams) GetWorkDoneProgressParams ¶
func (x *ExecuteCommandParams) GetWorkDoneProgressParams() *WorkDoneProgressParams
func (*ExecuteCommandParams) ProtoMessage ¶
func (*ExecuteCommandParams) ProtoMessage()
func (*ExecuteCommandParams) ProtoReflect ¶
func (x *ExecuteCommandParams) ProtoReflect() protoreflect.Message
func (*ExecuteCommandParams) Reset ¶
func (x *ExecuteCommandParams) Reset()
func (*ExecuteCommandParams) String ¶
func (x *ExecuteCommandParams) String() string
type ExecuteCommandRegistrationOptions ¶
type ExecuteCommandRegistrationOptions struct { // extends ExecuteCommandOptions *ExecuteCommandOptions `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
ExecuteCommandRegistrationOptions execute command registration options.
func (*ExecuteCommandRegistrationOptions) Descriptor
deprecated
func (*ExecuteCommandRegistrationOptions) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteCommandRegistrationOptions.ProtoReflect.Descriptor instead.
func (*ExecuteCommandRegistrationOptions) GetExecuteCommandOptions ¶
func (x *ExecuteCommandRegistrationOptions) GetExecuteCommandOptions() *ExecuteCommandOptions
func (*ExecuteCommandRegistrationOptions) ProtoMessage ¶
func (*ExecuteCommandRegistrationOptions) ProtoMessage()
func (*ExecuteCommandRegistrationOptions) ProtoReflect ¶
func (x *ExecuteCommandRegistrationOptions) ProtoReflect() protoreflect.Message
func (*ExecuteCommandRegistrationOptions) Reset ¶
func (x *ExecuteCommandRegistrationOptions) Reset()
func (*ExecuteCommandRegistrationOptions) String ¶
func (x *ExecuteCommandRegistrationOptions) String() string
type ExecuteCommandResponse ¶
type ExecuteCommandResponse struct { // Types that are assignable to ExecuteCommand: // *ExecuteCommandResponse_Any // *ExecuteCommandResponse_Error ExecuteCommand isExecuteCommandResponse_ExecuteCommand `protobuf_oneof:"execute_command"` // contains filtered or unexported fields }
ExecuteCommandResponse represents a ExecuteCommand response.
func (*ExecuteCommandResponse) Descriptor
deprecated
func (*ExecuteCommandResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteCommandResponse.ProtoReflect.Descriptor instead.
func (*ExecuteCommandResponse) GetAny ¶
func (x *ExecuteCommandResponse) GetAny() *any.Any
func (*ExecuteCommandResponse) GetError ¶
func (x *ExecuteCommandResponse) GetError() *protocol.Error
func (*ExecuteCommandResponse) GetExecuteCommand ¶
func (m *ExecuteCommandResponse) GetExecuteCommand() isExecuteCommandResponse_ExecuteCommand
func (*ExecuteCommandResponse) ProtoMessage ¶
func (*ExecuteCommandResponse) ProtoMessage()
func (*ExecuteCommandResponse) ProtoReflect ¶
func (x *ExecuteCommandResponse) ProtoReflect() protoreflect.Message
func (*ExecuteCommandResponse) Reset ¶
func (x *ExecuteCommandResponse) Reset()
func (*ExecuteCommandResponse) String ¶
func (x *ExecuteCommandResponse) String() string
type FileEvent ¶
type FileEvent struct { // The file's URI. Uri *uri.DocumentURI `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` // The change type. Type FileEvent_FileChangeType `protobuf:"varint,2,opt,name=type,proto3,enum=protocol.rpc.FileEvent_FileChangeType" json:"type,omitempty"` // contains filtered or unexported fields }
FileEvent an event describing a file change.
func (*FileEvent) Descriptor
deprecated
func (*FileEvent) GetType ¶
func (x *FileEvent) GetType() FileEvent_FileChangeType
func (*FileEvent) GetUri ¶
func (x *FileEvent) GetUri() *uri.DocumentURI
func (*FileEvent) ProtoMessage ¶
func (*FileEvent) ProtoMessage()
func (*FileEvent) ProtoReflect ¶
func (x *FileEvent) ProtoReflect() protoreflect.Message
type FileEvent_FileChangeType ¶
type FileEvent_FileChangeType int32
FileChangeType is the file event type.
const ( // Conventional default for enums. Do not use this. FileEvent_FILE_CHANGE_TYPE_UNSPECIFIED FileEvent_FileChangeType = 0 // The file got created. FileEvent_CREATED FileEvent_FileChangeType = 1 // The file got changed. FileEvent_CHANGED FileEvent_FileChangeType = 2 // The file got deleted. FileEvent_DELETED FileEvent_FileChangeType = 3 )
func (FileEvent_FileChangeType) Descriptor ¶
func (FileEvent_FileChangeType) Descriptor() protoreflect.EnumDescriptor
func (FileEvent_FileChangeType) Enum ¶
func (x FileEvent_FileChangeType) Enum() *FileEvent_FileChangeType
func (FileEvent_FileChangeType) EnumDescriptor
deprecated
func (FileEvent_FileChangeType) EnumDescriptor() ([]byte, []int)
Deprecated: Use FileEvent_FileChangeType.Descriptor instead.
func (FileEvent_FileChangeType) Number ¶
func (x FileEvent_FileChangeType) Number() protoreflect.EnumNumber
func (FileEvent_FileChangeType) String ¶
func (x FileEvent_FileChangeType) String() string
func (FileEvent_FileChangeType) Type ¶
func (FileEvent_FileChangeType) Type() protoreflect.EnumType
type FileSystemWatcher ¶
type FileSystemWatcher struct { // The glob pattern to watch. // // Glob patterns can have the following syntax: // - `*` to match one or more characters in a path segment // - `?` to match on one character in a path segment // - `**` to match any number of path segments, including none // - `{}` to group conditions (e.g. `**/*.{ts,js}` matches all TypeScript and JavaScript files) // - `[]` to declare a range of characters to match in a path segment (e.g., `example.[0-9]` to // match on `example.0`, `example.1`, …) // - `[!...]` to negate a range of characters to match in a path segment (e.g., `example.[!0-9]` // to match on `example.a`, `example.b`, but not `example.0`) GlobPattern string `protobuf:"bytes,1,opt,name=glob_pattern,json=globPattern,proto3" json:"glob_pattern,omitempty"` // Optional. The kind of events of interest. If omitted it defaults // to follows which is 7. // // WatchKind.CREATE | WatchKind.CHANGE | WatchKind.DELETE Kind FileSystemWatcher_WatchKind `protobuf:"varint,2,opt,name=kind,proto3,enum=protocol.rpc.FileSystemWatcher_WatchKind" json:"kind,omitempty"` // contains filtered or unexported fields }
FileSystemWatcher represents a watcher of file system.
func (*FileSystemWatcher) Descriptor
deprecated
func (*FileSystemWatcher) Descriptor() ([]byte, []int)
Deprecated: Use FileSystemWatcher.ProtoReflect.Descriptor instead.
func (*FileSystemWatcher) GetGlobPattern ¶
func (x *FileSystemWatcher) GetGlobPattern() string
func (*FileSystemWatcher) GetKind ¶
func (x *FileSystemWatcher) GetKind() FileSystemWatcher_WatchKind
func (*FileSystemWatcher) ProtoMessage ¶
func (*FileSystemWatcher) ProtoMessage()
func (*FileSystemWatcher) ProtoReflect ¶
func (x *FileSystemWatcher) ProtoReflect() protoreflect.Message
func (*FileSystemWatcher) Reset ¶
func (x *FileSystemWatcher) Reset()
func (*FileSystemWatcher) String ¶
func (x *FileSystemWatcher) String() string
type FileSystemWatcher_WatchKind ¶
type FileSystemWatcher_WatchKind int32
const ( // Conventional default for enums. Do not use this. FileSystemWatcher_WATCH_KIND_UNSPECIFIED FileSystemWatcher_WatchKind = 0 // Interested in create events. FileSystemWatcher_CREATE FileSystemWatcher_WatchKind = 1 // Interested in change events FileSystemWatcher_CHANGE FileSystemWatcher_WatchKind = 2 // Interested in delete events FileSystemWatcher_DELETE FileSystemWatcher_WatchKind = 4 )
func (FileSystemWatcher_WatchKind) Descriptor ¶
func (FileSystemWatcher_WatchKind) Descriptor() protoreflect.EnumDescriptor
func (FileSystemWatcher_WatchKind) Enum ¶
func (x FileSystemWatcher_WatchKind) Enum() *FileSystemWatcher_WatchKind
func (FileSystemWatcher_WatchKind) EnumDescriptor
deprecated
func (FileSystemWatcher_WatchKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use FileSystemWatcher_WatchKind.Descriptor instead.
func (FileSystemWatcher_WatchKind) Number ¶
func (x FileSystemWatcher_WatchKind) Number() protoreflect.EnumNumber
func (FileSystemWatcher_WatchKind) String ¶
func (x FileSystemWatcher_WatchKind) String() string
func (FileSystemWatcher_WatchKind) Type ¶
func (FileSystemWatcher_WatchKind) Type() protoreflect.EnumType
type FoldingRange ¶
type FoldingRange struct { // The zero-based line number from where the folded range starts. StartLine int32 `protobuf:"varint,1,opt,name=start_line,json=startLine,proto3" json:"start_line,omitempty"` // The zero-based character offset from where the folded range starts. If not defined, defaults to // the length of the start line. StartCharacter *wrappers.Int32Value `protobuf:"bytes,2,opt,name=start_character,json=startCharacter,proto3" json:"start_character,omitempty"` // The zero-based line number where the folded range ends. EndLine int32 `protobuf:"varint,3,opt,name=end_line,json=endLine,proto3" json:"end_line,omitempty"` // The zero-based character offset before the folded range ends. If not defined, defaults to the // length of the end line. EndCharacter *wrappers.Int32Value `protobuf:"bytes,4,opt,name=end_character,json=endCharacter,proto3" json:"end_character,omitempty"` // Describes the kind of the folding range such as `comment` or `region`. The kind // is used to categorize folding ranges and used by commands like 'Fold all comments'. See // [FoldingRangeKind][FoldingRangeKind] for an enumeration of standardized kinds. Kind FoldingRangeKind `protobuf:"varint,5,opt,name=kind,proto3,enum=protocol.rpc.FoldingRangeKind" json:"kind,omitempty"` // contains filtered or unexported fields }
FoldingRange represents a folding range.
func (*FoldingRange) Descriptor
deprecated
func (*FoldingRange) Descriptor() ([]byte, []int)
Deprecated: Use FoldingRange.ProtoReflect.Descriptor instead.
func (*FoldingRange) GetEndCharacter ¶
func (x *FoldingRange) GetEndCharacter() *wrappers.Int32Value
func (*FoldingRange) GetEndLine ¶
func (x *FoldingRange) GetEndLine() int32
func (*FoldingRange) GetKind ¶
func (x *FoldingRange) GetKind() FoldingRangeKind
func (*FoldingRange) GetStartCharacter ¶
func (x *FoldingRange) GetStartCharacter() *wrappers.Int32Value
func (*FoldingRange) GetStartLine ¶
func (x *FoldingRange) GetStartLine() int32
func (*FoldingRange) ProtoMessage ¶
func (*FoldingRange) ProtoMessage()
func (*FoldingRange) ProtoReflect ¶
func (x *FoldingRange) ProtoReflect() protoreflect.Message
func (*FoldingRange) Reset ¶
func (x *FoldingRange) Reset()
func (*FoldingRange) String ¶
func (x *FoldingRange) String() string
type FoldingRangeClientCapabilities ¶
type FoldingRangeClientCapabilities struct { // Optional. Whether implementation supports dynamic registration for folding range providers. If // this is set to `true` the client supports the new `FoldingRangeRegistrationOptions` return // value for the corresponding server capability as well. DynamicRegistration bool `protobuf:"varint,1,opt,name=dynamic_registration,json=dynamicRegistration,proto3" json:"dynamic_registration,omitempty"` // The maximum number of folding ranges that the client prefers to receive per document. The value // serves as a hint, servers are free to follow the limit. RangeLimit *wrappers.Int32Value `protobuf:"bytes,2,opt,name=range_limit,json=rangeLimit,proto3" json:"range_limit,omitempty"` // Optional. If set, the client signals that it only supports folding complete lines. If set, // client will ignore specified `startCharacter` and `endCharacter` properties in a FoldingRange. LineFoldingOnly bool `protobuf:"varint,3,opt,name=line_folding_only,json=lineFoldingOnly,proto3" json:"line_folding_only,omitempty"` // contains filtered or unexported fields }
FoldingRangeClientCapabilities represents a client capabilities of `textDocument/foldingRange` request.
func (*FoldingRangeClientCapabilities) Descriptor
deprecated
func (*FoldingRangeClientCapabilities) Descriptor() ([]byte, []int)
Deprecated: Use FoldingRangeClientCapabilities.ProtoReflect.Descriptor instead.
func (*FoldingRangeClientCapabilities) GetDynamicRegistration ¶
func (x *FoldingRangeClientCapabilities) GetDynamicRegistration() bool
func (*FoldingRangeClientCapabilities) GetLineFoldingOnly ¶
func (x *FoldingRangeClientCapabilities) GetLineFoldingOnly() bool
func (*FoldingRangeClientCapabilities) GetRangeLimit ¶
func (x *FoldingRangeClientCapabilities) GetRangeLimit() *wrappers.Int32Value
func (*FoldingRangeClientCapabilities) ProtoMessage ¶
func (*FoldingRangeClientCapabilities) ProtoMessage()
func (*FoldingRangeClientCapabilities) ProtoReflect ¶
func (x *FoldingRangeClientCapabilities) ProtoReflect() protoreflect.Message
func (*FoldingRangeClientCapabilities) Reset ¶
func (x *FoldingRangeClientCapabilities) Reset()
func (*FoldingRangeClientCapabilities) String ¶
func (x *FoldingRangeClientCapabilities) String() string
type FoldingRangeKind ¶
type FoldingRangeKind int32
FoldingRangeKind Enum of known range kinds.
const ( // Conventional default for enums. Do not use this. FoldingRangeKind_FOLDING_RANGE_KIND_UNSPECIFIED FoldingRangeKind = 0 // Folding range for a comment. // // string: 'comment' FoldingRangeKind_COMMENT_RANGE FoldingRangeKind = 1 // Folding range for a imports or includes. // // string: 'imports' FoldingRangeKind_IMPORTS_RANGE FoldingRangeKind = 2 // Folding range for a region (e.g. `#region`). // // string: 'region' FoldingRangeKind_REGION_RANGE FoldingRangeKind = 3 )
func (FoldingRangeKind) Descriptor ¶
func (FoldingRangeKind) Descriptor() protoreflect.EnumDescriptor
func (FoldingRangeKind) Enum ¶
func (x FoldingRangeKind) Enum() *FoldingRangeKind
func (FoldingRangeKind) EnumDescriptor
deprecated
func (FoldingRangeKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use FoldingRangeKind.Descriptor instead.
func (FoldingRangeKind) Number ¶
func (x FoldingRangeKind) Number() protoreflect.EnumNumber
func (FoldingRangeKind) String ¶
func (x FoldingRangeKind) String() string
func (FoldingRangeKind) Type ¶
func (FoldingRangeKind) Type() protoreflect.EnumType
type FoldingRangeOptions ¶
type FoldingRangeOptions struct { // extends WorkDoneProgressOptions *protocol.WorkDoneProgressOptions `` /* 134-byte string literal not displayed */ // contains filtered or unexported fields }
FoldingRangeOptions represents a server capabilities option of foldingRangeProvider.
func (*FoldingRangeOptions) Descriptor
deprecated
func (*FoldingRangeOptions) Descriptor() ([]byte, []int)
Deprecated: Use FoldingRangeOptions.ProtoReflect.Descriptor instead.
func (*FoldingRangeOptions) GetWorkDoneProgressOptions ¶
func (x *FoldingRangeOptions) GetWorkDoneProgressOptions() *protocol.WorkDoneProgressOptions
func (*FoldingRangeOptions) ProtoMessage ¶
func (*FoldingRangeOptions) ProtoMessage()
func (*FoldingRangeOptions) ProtoReflect ¶
func (x *FoldingRangeOptions) ProtoReflect() protoreflect.Message
func (*FoldingRangeOptions) Reset ¶
func (x *FoldingRangeOptions) Reset()
func (*FoldingRangeOptions) String ¶
func (x *FoldingRangeOptions) String() string
type FoldingRangeRegistrationOptions ¶
type FoldingRangeRegistrationOptions struct { // extends TextDocumentRegistrationOptions *protocol.TextDocumentRegistrationOptions `` /* 158-byte string literal not displayed */ FoldingRangeOptions *FoldingRangeOptions `protobuf:"bytes,2,opt,name=folding_range_options,json=foldingRangeOptions,proto3" json:"folding_range_options,omitempty"` // extends StaticRegistrationOptions *protocol.StaticRegistrationOptions `` /* 138-byte string literal not displayed */ // contains filtered or unexported fields }
FoldingRangeRegistrationOptions represents a registration option of FoldingRange.
func (*FoldingRangeRegistrationOptions) Descriptor
deprecated
func (*FoldingRangeRegistrationOptions) Descriptor() ([]byte, []int)
Deprecated: Use FoldingRangeRegistrationOptions.ProtoReflect.Descriptor instead.
func (*FoldingRangeRegistrationOptions) GetFoldingRangeOptions ¶
func (x *FoldingRangeRegistrationOptions) GetFoldingRangeOptions() *FoldingRangeOptions
func (*FoldingRangeRegistrationOptions) GetStaticRegistrationOptions ¶
func (x *FoldingRangeRegistrationOptions) GetStaticRegistrationOptions() *protocol.StaticRegistrationOptions
func (*FoldingRangeRegistrationOptions) GetTextDocumentRegistrationOptions ¶
func (x *FoldingRangeRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
func (*FoldingRangeRegistrationOptions) ProtoMessage ¶
func (*FoldingRangeRegistrationOptions) ProtoMessage()
func (*FoldingRangeRegistrationOptions) ProtoReflect ¶
func (x *FoldingRangeRegistrationOptions) ProtoReflect() protoreflect.Message
func (*FoldingRangeRegistrationOptions) Reset ¶
func (x *FoldingRangeRegistrationOptions) Reset()
func (*FoldingRangeRegistrationOptions) String ¶
func (x *FoldingRangeRegistrationOptions) String() string
type FoldingRangeRequest ¶
type FoldingRangeRequest struct { // extends WorkDoneProgressParams *WorkDoneProgressParams `` /* 131-byte string literal not displayed */ // extends PartialResultParams *PartialResultParams `protobuf:"bytes,2,opt,name=partial_result_params,json=partialResultParams,proto3" json:"partial_result_params,omitempty"` // The text document. TextDocument *protocol.TextDocumentIdentifier `protobuf:"bytes,3,opt,name=text_document,json=textDocument,proto3" json:"text_document,omitempty"` // contains filtered or unexported fields }
FoldingRangeRequest is the parameters of a `textDocument/foldingRange` request.
func (*FoldingRangeRequest) Descriptor
deprecated
func (*FoldingRangeRequest) Descriptor() ([]byte, []int)
Deprecated: Use FoldingRangeRequest.ProtoReflect.Descriptor instead.
func (*FoldingRangeRequest) GetPartialResultParams ¶
func (x *FoldingRangeRequest) GetPartialResultParams() *PartialResultParams
func (*FoldingRangeRequest) GetTextDocument ¶
func (x *FoldingRangeRequest) GetTextDocument() *protocol.TextDocumentIdentifier
func (*FoldingRangeRequest) GetWorkDoneProgressParams ¶
func (x *FoldingRangeRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
func (*FoldingRangeRequest) ProtoMessage ¶
func (*FoldingRangeRequest) ProtoMessage()
func (*FoldingRangeRequest) ProtoReflect ¶
func (x *FoldingRangeRequest) ProtoReflect() protoreflect.Message
func (*FoldingRangeRequest) Reset ¶
func (x *FoldingRangeRequest) Reset()
func (*FoldingRangeRequest) String ¶
func (x *FoldingRangeRequest) String() string
type FoldingRangeResponse ¶
type FoldingRangeResponse struct { // Types that are assignable to FoldingRangeResponse: // *FoldingRangeResponse_Result_ // *FoldingRangeResponse_PartialResult_ // *FoldingRangeResponse_Error FoldingRangeResponse isFoldingRangeResponse_FoldingRangeResponse `protobuf_oneof:"folding_range_response"` // contains filtered or unexported fields }
FoldingRangeResponse represents a FoldingRange response.
func (*FoldingRangeResponse) Descriptor
deprecated
func (*FoldingRangeResponse) Descriptor() ([]byte, []int)
Deprecated: Use FoldingRangeResponse.ProtoReflect.Descriptor instead.
func (*FoldingRangeResponse) GetError ¶
func (x *FoldingRangeResponse) GetError() *protocol.Error
func (*FoldingRangeResponse) GetFoldingRangeResponse ¶
func (m *FoldingRangeResponse) GetFoldingRangeResponse() isFoldingRangeResponse_FoldingRangeResponse
func (*FoldingRangeResponse) GetPartialResult ¶
func (x *FoldingRangeResponse) GetPartialResult() *FoldingRangeResponse_PartialResult
func (*FoldingRangeResponse) GetResult ¶
func (x *FoldingRangeResponse) GetResult() *FoldingRangeResponse_Result
func (*FoldingRangeResponse) ProtoMessage ¶
func (*FoldingRangeResponse) ProtoMessage()
func (*FoldingRangeResponse) ProtoReflect ¶
func (x *FoldingRangeResponse) ProtoReflect() protoreflect.Message
func (*FoldingRangeResponse) Reset ¶
func (x *FoldingRangeResponse) Reset()
func (*FoldingRangeResponse) String ¶
func (x *FoldingRangeResponse) String() string
type FoldingRangeResponse_PartialResult ¶
type FoldingRangeResponse_PartialResult struct { FoldingRanges []*FoldingRange `protobuf:"bytes,1,rep,name=folding_ranges,json=foldingRanges,proto3" json:"folding_ranges,omitempty"` // contains filtered or unexported fields }
func (*FoldingRangeResponse_PartialResult) Descriptor
deprecated
func (*FoldingRangeResponse_PartialResult) Descriptor() ([]byte, []int)
Deprecated: Use FoldingRangeResponse_PartialResult.ProtoReflect.Descriptor instead.
func (*FoldingRangeResponse_PartialResult) GetFoldingRanges ¶
func (x *FoldingRangeResponse_PartialResult) GetFoldingRanges() []*FoldingRange
func (*FoldingRangeResponse_PartialResult) ProtoMessage ¶
func (*FoldingRangeResponse_PartialResult) ProtoMessage()
func (*FoldingRangeResponse_PartialResult) ProtoReflect ¶
func (x *FoldingRangeResponse_PartialResult) ProtoReflect() protoreflect.Message
func (*FoldingRangeResponse_PartialResult) Reset ¶
func (x *FoldingRangeResponse_PartialResult) Reset()
func (*FoldingRangeResponse_PartialResult) String ¶
func (x *FoldingRangeResponse_PartialResult) String() string
type FoldingRangeResponse_PartialResult_ ¶
type FoldingRangeResponse_PartialResult_ struct {
PartialResult *FoldingRangeResponse_PartialResult `protobuf:"bytes,2,opt,name=partial_result,json=partialResult,proto3,oneof"`
}
type FoldingRangeResponse_Result ¶
type FoldingRangeResponse_Result struct { FoldingRanges []*FoldingRange `protobuf:"bytes,1,rep,name=folding_ranges,json=foldingRanges,proto3" json:"folding_ranges,omitempty"` Empty _struct.NullValue `protobuf:"varint,2,opt,name=empty,proto3,enum=google.protobuf.NullValue" json:"empty,omitempty"` // contains filtered or unexported fields }
func (*FoldingRangeResponse_Result) Descriptor
deprecated
func (*FoldingRangeResponse_Result) Descriptor() ([]byte, []int)
Deprecated: Use FoldingRangeResponse_Result.ProtoReflect.Descriptor instead.
func (*FoldingRangeResponse_Result) GetEmpty ¶
func (x *FoldingRangeResponse_Result) GetEmpty() _struct.NullValue
func (*FoldingRangeResponse_Result) GetFoldingRanges ¶
func (x *FoldingRangeResponse_Result) GetFoldingRanges() []*FoldingRange
func (*FoldingRangeResponse_Result) ProtoMessage ¶
func (*FoldingRangeResponse_Result) ProtoMessage()
func (*FoldingRangeResponse_Result) ProtoReflect ¶
func (x *FoldingRangeResponse_Result) ProtoReflect() protoreflect.Message
func (*FoldingRangeResponse_Result) Reset ¶
func (x *FoldingRangeResponse_Result) Reset()
func (*FoldingRangeResponse_Result) String ¶
func (x *FoldingRangeResponse_Result) String() string
type FoldingRangeResponse_Result_ ¶
type FoldingRangeResponse_Result_ struct {
Result *FoldingRangeResponse_Result `protobuf:"bytes,1,opt,name=result,proto3,oneof"`
}
type FormattingOptions ¶
type FormattingOptions struct { // Size of a tab in spaces. TabSize int32 `protobuf:"varint,1,opt,name=tab_size,json=tabSize,proto3" json:"tab_size,omitempty"` // Prefer spaces over tabs. InsertSpaces bool `protobuf:"varint,2,opt,name=insert_spaces,json=insertSpaces,proto3" json:"insert_spaces,omitempty"` // Optional. Trim trailing whitespace on a line. // // @since 3.15.0 TrimTrailingWhitespace bool `` /* 130-byte string literal not displayed */ // Optional. Insert a newline character at the end of the file if one does not exist. // // @since 3.15.0 InsertFinalNewline bool `protobuf:"varint,4,opt,name=insert_final_newline,json=insertFinalNewline,proto3" json:"insert_final_newline,omitempty"` // Optional. Trim all newlines after the final newline at the end of the file. // // @since 3.15.0 TrimFinalNewlines bool `protobuf:"varint,5,opt,name=trim_final_newlines,json=trimFinalNewlines,proto3" json:"trim_final_newlines,omitempty"` // Signature for further properties. Key map[string]*FormattingOptions_Value `` /* 147-byte string literal not displayed */ // contains filtered or unexported fields }
FormattingOptions value-object describing what options formatting should use.
func (*FormattingOptions) Descriptor
deprecated
func (*FormattingOptions) Descriptor() ([]byte, []int)
Deprecated: Use FormattingOptions.ProtoReflect.Descriptor instead.
func (*FormattingOptions) GetInsertFinalNewline ¶
func (x *FormattingOptions) GetInsertFinalNewline() bool
func (*FormattingOptions) GetInsertSpaces ¶
func (x *FormattingOptions) GetInsertSpaces() bool
func (*FormattingOptions) GetKey ¶
func (x *FormattingOptions) GetKey() map[string]*FormattingOptions_Value
func (*FormattingOptions) GetTabSize ¶
func (x *FormattingOptions) GetTabSize() int32
func (*FormattingOptions) GetTrimFinalNewlines ¶
func (x *FormattingOptions) GetTrimFinalNewlines() bool
func (*FormattingOptions) GetTrimTrailingWhitespace ¶
func (x *FormattingOptions) GetTrimTrailingWhitespace() bool
func (*FormattingOptions) ProtoMessage ¶
func (*FormattingOptions) ProtoMessage()
func (*FormattingOptions) ProtoReflect ¶
func (x *FormattingOptions) ProtoReflect() protoreflect.Message
func (*FormattingOptions) Reset ¶
func (x *FormattingOptions) Reset()
func (*FormattingOptions) String ¶
func (x *FormattingOptions) String() string
type FormattingOptions_Value ¶
type FormattingOptions_Value struct { // Types that are assignable to Value: // *FormattingOptions_Value_Enable // *FormattingOptions_Value_Number // *FormattingOptions_Value_Name Value isFormattingOptions_Value_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
(-- api-linter: core::0123::resource-annotation=disabled --)
func (*FormattingOptions_Value) Descriptor
deprecated
func (*FormattingOptions_Value) Descriptor() ([]byte, []int)
Deprecated: Use FormattingOptions_Value.ProtoReflect.Descriptor instead.
func (*FormattingOptions_Value) GetEnable ¶
func (x *FormattingOptions_Value) GetEnable() bool
func (*FormattingOptions_Value) GetName ¶
func (x *FormattingOptions_Value) GetName() string
func (*FormattingOptions_Value) GetNumber ¶
func (x *FormattingOptions_Value) GetNumber() int32
func (*FormattingOptions_Value) GetValue ¶
func (m *FormattingOptions_Value) GetValue() isFormattingOptions_Value_Value
func (*FormattingOptions_Value) ProtoMessage ¶
func (*FormattingOptions_Value) ProtoMessage()
func (*FormattingOptions_Value) ProtoReflect ¶
func (x *FormattingOptions_Value) ProtoReflect() protoreflect.Message
func (*FormattingOptions_Value) Reset ¶
func (x *FormattingOptions_Value) Reset()
func (*FormattingOptions_Value) String ¶
func (x *FormattingOptions_Value) String() string
type FormattingOptions_Value_Enable ¶
type FormattingOptions_Value_Enable struct {
Enable bool `protobuf:"varint,6,opt,name=enable,proto3,oneof"`
}
type FormattingOptions_Value_Name ¶
type FormattingOptions_Value_Name struct {
Name string `protobuf:"bytes,8,opt,name=name,proto3,oneof"`
}
type FormattingOptions_Value_Number ¶
type FormattingOptions_Value_Number struct {
Number int32 `protobuf:"varint,7,opt,name=number,proto3,oneof"`
}
type Hover ¶
type Hover struct { // The hover's content // // Types that are assignable to Contents: // *Hover_MarkedString // *Hover_MarkedStrings_ // *Hover_MarkupContent Contents isHover_Contents `protobuf_oneof:"contents"` // An optional range is a range inside a text document // that is used to visualize a hover, e.g. by changing the background color. Range *protocol.Range `protobuf:"bytes,4,opt,name=range,proto3" json:"range,omitempty"` // contains filtered or unexported fields }
Hover is the result of a hover request.
func (*Hover) Descriptor
deprecated
func (*Hover) GetContents ¶
func (m *Hover) GetContents() isHover_Contents
func (*Hover) GetMarkedString ¶
func (x *Hover) GetMarkedString() *MarkedString
func (*Hover) GetMarkedStrings ¶
func (x *Hover) GetMarkedStrings() *Hover_MarkedStrings
func (*Hover) GetMarkupContent ¶
func (x *Hover) GetMarkupContent() *protocol.MarkupContent
func (*Hover) ProtoMessage ¶
func (*Hover) ProtoMessage()
func (*Hover) ProtoReflect ¶
func (x *Hover) ProtoReflect() protoreflect.Message
type HoverClientCapabilities ¶
type HoverClientCapabilities struct { // Optional. Whether hover supports dynamic registration. DynamicRegistration bool `protobuf:"varint,1,opt,name=dynamic_registration,json=dynamicRegistration,proto3" json:"dynamic_registration,omitempty"` // Client supports the follow content formats for the content // property. The order describes the preferred format of the client. ContentFormat []protocol.MarkupKind `` /* 133-byte string literal not displayed */ // contains filtered or unexported fields }
HoverClientCapabilities represents a client capabilities of `textDocument/hover` request.
func (*HoverClientCapabilities) Descriptor
deprecated
func (*HoverClientCapabilities) Descriptor() ([]byte, []int)
Deprecated: Use HoverClientCapabilities.ProtoReflect.Descriptor instead.
func (*HoverClientCapabilities) GetContentFormat ¶
func (x *HoverClientCapabilities) GetContentFormat() []protocol.MarkupKind
func (*HoverClientCapabilities) GetDynamicRegistration ¶
func (x *HoverClientCapabilities) GetDynamicRegistration() bool
func (*HoverClientCapabilities) ProtoMessage ¶
func (*HoverClientCapabilities) ProtoMessage()
func (*HoverClientCapabilities) ProtoReflect ¶
func (x *HoverClientCapabilities) ProtoReflect() protoreflect.Message
func (*HoverClientCapabilities) Reset ¶
func (x *HoverClientCapabilities) Reset()
func (*HoverClientCapabilities) String ¶
func (x *HoverClientCapabilities) String() string
type HoverOptions ¶
type HoverOptions struct { // extends WorkDoneProgressOptions *protocol.WorkDoneProgressOptions `` /* 134-byte string literal not displayed */ // contains filtered or unexported fields }
HoverOptions represents a server capabilities option of hoverProvider.
func (*HoverOptions) Descriptor
deprecated
func (*HoverOptions) Descriptor() ([]byte, []int)
Deprecated: Use HoverOptions.ProtoReflect.Descriptor instead.
func (*HoverOptions) GetWorkDoneProgressOptions ¶
func (x *HoverOptions) GetWorkDoneProgressOptions() *protocol.WorkDoneProgressOptions
func (*HoverOptions) ProtoMessage ¶
func (*HoverOptions) ProtoMessage()
func (*HoverOptions) ProtoReflect ¶
func (x *HoverOptions) ProtoReflect() protoreflect.Message
func (*HoverOptions) Reset ¶
func (x *HoverOptions) Reset()
func (*HoverOptions) String ¶
func (x *HoverOptions) String() string
type HoverRegistrationOptions ¶
type HoverRegistrationOptions struct { // extends TextDocumentRegistrationOptions *protocol.TextDocumentRegistrationOptions `` /* 158-byte string literal not displayed */ // extends HoverOptions *HoverOptions `protobuf:"bytes,2,opt,name=hover_options,json=hoverOptions,proto3" json:"hover_options,omitempty"` // contains filtered or unexported fields }
CompletionRegistrationOptions represents a registration option of Hover.
func (*HoverRegistrationOptions) Descriptor
deprecated
func (*HoverRegistrationOptions) Descriptor() ([]byte, []int)
Deprecated: Use HoverRegistrationOptions.ProtoReflect.Descriptor instead.
func (*HoverRegistrationOptions) GetHoverOptions ¶
func (x *HoverRegistrationOptions) GetHoverOptions() *HoverOptions
func (*HoverRegistrationOptions) GetTextDocumentRegistrationOptions ¶
func (x *HoverRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
func (*HoverRegistrationOptions) ProtoMessage ¶
func (*HoverRegistrationOptions) ProtoMessage()
func (*HoverRegistrationOptions) ProtoReflect ¶
func (x *HoverRegistrationOptions) ProtoReflect() protoreflect.Message
func (*HoverRegistrationOptions) Reset ¶
func (x *HoverRegistrationOptions) Reset()
func (*HoverRegistrationOptions) String ¶
func (x *HoverRegistrationOptions) String() string
type HoverRequest ¶
type HoverRequest struct { // extends TextDocumentPositionParams *protocol.TextDocumentPositionParams `` /* 143-byte string literal not displayed */ // extends WorkDoneProgressParams *WorkDoneProgressParams `` /* 131-byte string literal not displayed */ // contains filtered or unexported fields }
HoverRequest is the parameters of a `textDocument/hover` request.
func (*HoverRequest) Descriptor
deprecated
func (*HoverRequest) Descriptor() ([]byte, []int)
Deprecated: Use HoverRequest.ProtoReflect.Descriptor instead.
func (*HoverRequest) GetTextDocumentPositionParams ¶
func (x *HoverRequest) GetTextDocumentPositionParams() *protocol.TextDocumentPositionParams
func (*HoverRequest) GetWorkDoneProgressParams ¶
func (x *HoverRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
func (*HoverRequest) ProtoMessage ¶
func (*HoverRequest) ProtoMessage()
func (*HoverRequest) ProtoReflect ¶
func (x *HoverRequest) ProtoReflect() protoreflect.Message
func (*HoverRequest) Reset ¶
func (x *HoverRequest) Reset()
func (*HoverRequest) String ¶
func (x *HoverRequest) String() string
type HoverResponse ¶
type HoverResponse struct { // Types that are assignable to CompletionResponse: // *HoverResponse_Hover // *HoverResponse_Empty // *HoverResponse_Error CompletionResponse isHoverResponse_CompletionResponse `protobuf_oneof:"completion_response"` // contains filtered or unexported fields }
HoverResponse represents a Hover response.
func (*HoverResponse) Descriptor
deprecated
func (*HoverResponse) Descriptor() ([]byte, []int)
Deprecated: Use HoverResponse.ProtoReflect.Descriptor instead.
func (*HoverResponse) GetCompletionResponse ¶
func (m *HoverResponse) GetCompletionResponse() isHoverResponse_CompletionResponse
func (*HoverResponse) GetEmpty ¶
func (x *HoverResponse) GetEmpty() _struct.NullValue
func (*HoverResponse) GetError ¶
func (x *HoverResponse) GetError() *protocol.Error
func (*HoverResponse) GetHover ¶
func (x *HoverResponse) GetHover() *Hover
func (*HoverResponse) ProtoMessage ¶
func (*HoverResponse) ProtoMessage()
func (*HoverResponse) ProtoReflect ¶
func (x *HoverResponse) ProtoReflect() protoreflect.Message
func (*HoverResponse) Reset ¶
func (x *HoverResponse) Reset()
func (*HoverResponse) String ¶
func (x *HoverResponse) String() string
type HoverResponse_Empty ¶
type HoverResponse_Error ¶
type HoverResponse_Hover ¶
type HoverResponse_Hover struct {
Hover *Hover `protobuf:"bytes,1,opt,name=hover,proto3,oneof"`
}
type Hover_MarkedString ¶
type Hover_MarkedString struct {
MarkedString *MarkedString `protobuf:"bytes,1,opt,name=marked_string,json=markedString,proto3,oneof"`
}
type Hover_MarkedStrings ¶
type Hover_MarkedStrings struct { MarkedString []*MarkedString `protobuf:"bytes,1,rep,name=marked_string,json=markedString,proto3" json:"marked_string,omitempty"` // contains filtered or unexported fields }
func (*Hover_MarkedStrings) Descriptor
deprecated
func (*Hover_MarkedStrings) Descriptor() ([]byte, []int)
Deprecated: Use Hover_MarkedStrings.ProtoReflect.Descriptor instead.
func (*Hover_MarkedStrings) GetMarkedString ¶
func (x *Hover_MarkedStrings) GetMarkedString() []*MarkedString
func (*Hover_MarkedStrings) ProtoMessage ¶
func (*Hover_MarkedStrings) ProtoMessage()
func (*Hover_MarkedStrings) ProtoReflect ¶
func (x *Hover_MarkedStrings) ProtoReflect() protoreflect.Message
func (*Hover_MarkedStrings) Reset ¶
func (x *Hover_MarkedStrings) Reset()
func (*Hover_MarkedStrings) String ¶
func (x *Hover_MarkedStrings) String() string
type Hover_MarkedStrings_ ¶
type Hover_MarkedStrings_ struct {
MarkedStrings *Hover_MarkedStrings `protobuf:"bytes,2,opt,name=marked_strings,json=markedStrings,proto3,oneof"`
}
type Hover_MarkupContent ¶
type Hover_MarkupContent struct {
MarkupContent *protocol.MarkupContent `protobuf:"bytes,3,opt,name=markup_content,json=markupContent,proto3,oneof"`
}
type ImplementationClientCapabilities ¶
type ImplementationClientCapabilities struct { // Optional. Whether implementation supports dynamic registration. If this is set to `true` // the client supports the new `ImplementationRegistrationOptions` return value // for the corresponding server capability as well. DynamicRegistration bool `protobuf:"varint,1,opt,name=dynamic_registration,json=dynamicRegistration,proto3" json:"dynamic_registration,omitempty"` // Optional. The client supports additional metadata in the form of definition links. // // @since 3.14.0 LinkSupport bool `protobuf:"varint,2,opt,name=link_support,json=linkSupport,proto3" json:"link_support,omitempty"` // contains filtered or unexported fields }
ImplementationClientCapabilities represents a client capabilities of `textDocument/implementation` request.
func (*ImplementationClientCapabilities) Descriptor
deprecated
func (*ImplementationClientCapabilities) Descriptor() ([]byte, []int)
Deprecated: Use ImplementationClientCapabilities.ProtoReflect.Descriptor instead.
func (*ImplementationClientCapabilities) GetDynamicRegistration ¶
func (x *ImplementationClientCapabilities) GetDynamicRegistration() bool
func (*ImplementationClientCapabilities) GetLinkSupport ¶
func (x *ImplementationClientCapabilities) GetLinkSupport() bool
func (*ImplementationClientCapabilities) ProtoMessage ¶
func (*ImplementationClientCapabilities) ProtoMessage()
func (*ImplementationClientCapabilities) ProtoReflect ¶
func (x *ImplementationClientCapabilities) ProtoReflect() protoreflect.Message
func (*ImplementationClientCapabilities) Reset ¶
func (x *ImplementationClientCapabilities) Reset()
func (*ImplementationClientCapabilities) String ¶
func (x *ImplementationClientCapabilities) String() string
type ImplementationOptions ¶
type ImplementationOptions struct { // extends WorkDoneProgressOptions *protocol.WorkDoneProgressOptions `` /* 134-byte string literal not displayed */ // contains filtered or unexported fields }
ImplementationOptions represents a server capabilities option of implementationProvider.
func (*ImplementationOptions) Descriptor
deprecated
func (*ImplementationOptions) Descriptor() ([]byte, []int)
Deprecated: Use ImplementationOptions.ProtoReflect.Descriptor instead.
func (*ImplementationOptions) GetWorkDoneProgressOptions ¶
func (x *ImplementationOptions) GetWorkDoneProgressOptions() *protocol.WorkDoneProgressOptions
func (*ImplementationOptions) ProtoMessage ¶
func (*ImplementationOptions) ProtoMessage()
func (*ImplementationOptions) ProtoReflect ¶
func (x *ImplementationOptions) ProtoReflect() protoreflect.Message
func (*ImplementationOptions) Reset ¶
func (x *ImplementationOptions) Reset()
func (*ImplementationOptions) String ¶
func (x *ImplementationOptions) String() string
type ImplementationRegistrationOptions ¶
type ImplementationRegistrationOptions struct { // extends TextDocumentRegistrationOptions *protocol.TextDocumentRegistrationOptions `` /* 158-byte string literal not displayed */ // extends ImplementationOptions *ImplementationOptions `protobuf:"bytes,2,opt,name=implementation_options,json=implementationOptions,proto3" json:"implementation_options,omitempty"` // extends StaticRegistrationOptions *protocol.StaticRegistrationOptions `` /* 138-byte string literal not displayed */ // contains filtered or unexported fields }
ImplementationRegistrationOptions represents a registration option of Implementation.
func (*ImplementationRegistrationOptions) Descriptor
deprecated
func (*ImplementationRegistrationOptions) Descriptor() ([]byte, []int)
Deprecated: Use ImplementationRegistrationOptions.ProtoReflect.Descriptor instead.
func (*ImplementationRegistrationOptions) GetImplementationOptions ¶
func (x *ImplementationRegistrationOptions) GetImplementationOptions() *ImplementationOptions
func (*ImplementationRegistrationOptions) GetStaticRegistrationOptions ¶
func (x *ImplementationRegistrationOptions) GetStaticRegistrationOptions() *protocol.StaticRegistrationOptions
func (*ImplementationRegistrationOptions) GetTextDocumentRegistrationOptions ¶
func (x *ImplementationRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
func (*ImplementationRegistrationOptions) ProtoMessage ¶
func (*ImplementationRegistrationOptions) ProtoMessage()
func (*ImplementationRegistrationOptions) ProtoReflect ¶
func (x *ImplementationRegistrationOptions) ProtoReflect() protoreflect.Message
func (*ImplementationRegistrationOptions) Reset ¶
func (x *ImplementationRegistrationOptions) Reset()
func (*ImplementationRegistrationOptions) String ¶
func (x *ImplementationRegistrationOptions) String() string
type ImplementationRequest ¶
type ImplementationRequest struct { // extends TextDocumentPositionParams *protocol.TextDocumentPositionParams `` /* 143-byte string literal not displayed */ // extends WorkDoneProgressParams *WorkDoneProgressParams `` /* 131-byte string literal not displayed */ // extends PartialResultParams *PartialResultParams `protobuf:"bytes,3,opt,name=partial_result_params,json=partialResultParams,proto3" json:"partial_result_params,omitempty"` // contains filtered or unexported fields }
ImplementationRequest is the parameters of a `textDocument/implementation` request.
func (*ImplementationRequest) Descriptor
deprecated
func (*ImplementationRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImplementationRequest.ProtoReflect.Descriptor instead.
func (*ImplementationRequest) GetPartialResultParams ¶
func (x *ImplementationRequest) GetPartialResultParams() *PartialResultParams
func (*ImplementationRequest) GetTextDocumentPositionParams ¶
func (x *ImplementationRequest) GetTextDocumentPositionParams() *protocol.TextDocumentPositionParams
func (*ImplementationRequest) GetWorkDoneProgressParams ¶
func (x *ImplementationRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
func (*ImplementationRequest) ProtoMessage ¶
func (*ImplementationRequest) ProtoMessage()
func (*ImplementationRequest) ProtoReflect ¶
func (x *ImplementationRequest) ProtoReflect() protoreflect.Message
func (*ImplementationRequest) Reset ¶
func (x *ImplementationRequest) Reset()
func (*ImplementationRequest) String ¶
func (x *ImplementationRequest) String() string
type ImplementationResponse ¶
type ImplementationResponse struct { // Types that are assignable to ImplementationResponse: // *ImplementationResponse_Result_ // *ImplementationResponse_PartialResult_ // *ImplementationResponse_Error ImplementationResponse isImplementationResponse_ImplementationResponse `protobuf_oneof:"implementation_response"` // contains filtered or unexported fields }
ImplementationResponse represents a Implementation response.
func (*ImplementationResponse) Descriptor
deprecated
func (*ImplementationResponse) Descriptor() ([]byte, []int)
Deprecated: Use ImplementationResponse.ProtoReflect.Descriptor instead.
func (*ImplementationResponse) GetError ¶
func (x *ImplementationResponse) GetError() *protocol.Error
func (*ImplementationResponse) GetImplementationResponse ¶
func (m *ImplementationResponse) GetImplementationResponse() isImplementationResponse_ImplementationResponse
func (*ImplementationResponse) GetPartialResult ¶
func (x *ImplementationResponse) GetPartialResult() *ImplementationResponse_PartialResult
func (*ImplementationResponse) GetResult ¶
func (x *ImplementationResponse) GetResult() *ImplementationResponse_Result
func (*ImplementationResponse) ProtoMessage ¶
func (*ImplementationResponse) ProtoMessage()
func (*ImplementationResponse) ProtoReflect ¶
func (x *ImplementationResponse) ProtoReflect() protoreflect.Message
func (*ImplementationResponse) Reset ¶
func (x *ImplementationResponse) Reset()
func (*ImplementationResponse) String ¶
func (x *ImplementationResponse) String() string
type ImplementationResponse_PartialResult ¶
type ImplementationResponse_PartialResult struct { Locations *Locations `protobuf:"bytes,1,opt,name=locations,proto3" json:"locations,omitempty"` LocationLinks *LocationLinks `protobuf:"bytes,2,opt,name=location_links,json=locationLinks,proto3" json:"location_links,omitempty"` // contains filtered or unexported fields }
func (*ImplementationResponse_PartialResult) Descriptor
deprecated
func (*ImplementationResponse_PartialResult) Descriptor() ([]byte, []int)
Deprecated: Use ImplementationResponse_PartialResult.ProtoReflect.Descriptor instead.
func (*ImplementationResponse_PartialResult) GetLocationLinks ¶
func (x *ImplementationResponse_PartialResult) GetLocationLinks() *LocationLinks
func (*ImplementationResponse_PartialResult) GetLocations ¶
func (x *ImplementationResponse_PartialResult) GetLocations() *Locations
func (*ImplementationResponse_PartialResult) ProtoMessage ¶
func (*ImplementationResponse_PartialResult) ProtoMessage()
func (*ImplementationResponse_PartialResult) ProtoReflect ¶
func (x *ImplementationResponse_PartialResult) ProtoReflect() protoreflect.Message
func (*ImplementationResponse_PartialResult) Reset ¶
func (x *ImplementationResponse_PartialResult) Reset()
func (*ImplementationResponse_PartialResult) String ¶
func (x *ImplementationResponse_PartialResult) String() string
type ImplementationResponse_PartialResult_ ¶
type ImplementationResponse_PartialResult_ struct {
PartialResult *ImplementationResponse_PartialResult `protobuf:"bytes,2,opt,name=partial_result,json=partialResult,proto3,oneof"`
}
type ImplementationResponse_Result ¶
type ImplementationResponse_Result struct { Location *protocol.Location `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"` Locations *Locations `protobuf:"bytes,2,opt,name=locations,proto3" json:"locations,omitempty"` LocationLinks *LocationLinks `protobuf:"bytes,3,opt,name=location_links,json=locationLinks,proto3" json:"location_links,omitempty"` Empty _struct.NullValue `protobuf:"varint,4,opt,name=empty,proto3,enum=google.protobuf.NullValue" json:"empty,omitempty"` // contains filtered or unexported fields }
func (*ImplementationResponse_Result) Descriptor
deprecated
func (*ImplementationResponse_Result) Descriptor() ([]byte, []int)
Deprecated: Use ImplementationResponse_Result.ProtoReflect.Descriptor instead.
func (*ImplementationResponse_Result) GetEmpty ¶
func (x *ImplementationResponse_Result) GetEmpty() _struct.NullValue
func (*ImplementationResponse_Result) GetLocation ¶
func (x *ImplementationResponse_Result) GetLocation() *protocol.Location
func (*ImplementationResponse_Result) GetLocationLinks ¶
func (x *ImplementationResponse_Result) GetLocationLinks() *LocationLinks
func (*ImplementationResponse_Result) GetLocations ¶
func (x *ImplementationResponse_Result) GetLocations() *Locations
func (*ImplementationResponse_Result) ProtoMessage ¶
func (*ImplementationResponse_Result) ProtoMessage()
func (*ImplementationResponse_Result) ProtoReflect ¶
func (x *ImplementationResponse_Result) ProtoReflect() protoreflect.Message
func (*ImplementationResponse_Result) Reset ¶
func (x *ImplementationResponse_Result) Reset()
func (*ImplementationResponse_Result) String ¶
func (x *ImplementationResponse_Result) String() string
type ImplementationResponse_Result_ ¶
type ImplementationResponse_Result_ struct {
Result *ImplementationResponse_Result `protobuf:"bytes,1,opt,name=result,proto3,oneof"`
}
type InitializeErrorData ¶
type InitializeErrorData struct { // Indicates whether the client execute the following retry logic: // (1) show the message provided by the ResponseError to the user // (2) user selects retry or cancel // (3) if user selected retry the initialize method is sent again. Retry bool `protobuf:"varint,1,opt,name=retry,proto3" json:"retry,omitempty"` // contains filtered or unexported fields }
InitializeError known error data for InitializeResponse response.
func (*InitializeErrorData) Descriptor
deprecated
func (*InitializeErrorData) Descriptor() ([]byte, []int)
Deprecated: Use InitializeErrorData.ProtoReflect.Descriptor instead.
func (*InitializeErrorData) GetRetry ¶
func (x *InitializeErrorData) GetRetry() bool
func (*InitializeErrorData) ProtoMessage ¶
func (*InitializeErrorData) ProtoMessage()
func (*InitializeErrorData) ProtoReflect ¶
func (x *InitializeErrorData) ProtoReflect() protoreflect.Message
func (*InitializeErrorData) Reset ¶
func (x *InitializeErrorData) Reset()
func (*InitializeErrorData) String ¶
func (x *InitializeErrorData) String() string
type InitializeErrorUnknownProtocolVersion ¶
type InitializeErrorUnknownProtocolVersion struct { // If the protocol version provided by the client can't be handled by the server. // // This initialize error got replaced by client capabilities. There is // no version handshake in version 3.0x. // // Deprecated: Do not use. UnknownProtocolVersion int32 `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
InitializeError known error codes.
func (*InitializeErrorUnknownProtocolVersion) Descriptor
deprecated
func (*InitializeErrorUnknownProtocolVersion) Descriptor() ([]byte, []int)
Deprecated: Use InitializeErrorUnknownProtocolVersion.ProtoReflect.Descriptor instead.
func (*InitializeErrorUnknownProtocolVersion) GetUnknownProtocolVersion
deprecated
func (x *InitializeErrorUnknownProtocolVersion) GetUnknownProtocolVersion() int32
Deprecated: Do not use.
func (*InitializeErrorUnknownProtocolVersion) ProtoMessage ¶
func (*InitializeErrorUnknownProtocolVersion) ProtoMessage()
func (*InitializeErrorUnknownProtocolVersion) ProtoReflect ¶
func (x *InitializeErrorUnknownProtocolVersion) ProtoReflect() protoreflect.Message
func (*InitializeErrorUnknownProtocolVersion) Reset ¶
func (x *InitializeErrorUnknownProtocolVersion) Reset()
func (*InitializeErrorUnknownProtocolVersion) String ¶
func (x *InitializeErrorUnknownProtocolVersion) String() string
type InitializeRequest ¶
type InitializeRequest struct { // extends WorkDoneProgressParams *WorkDoneProgressParams `` /* 131-byte string literal not displayed */ // Required. The process Id of the parent process that started // the server. Is null if the process has not been started by another process. // If the parent process is not alive then the server should exit (see exit notification) its // process. ProcessId int32 `protobuf:"varint,2,opt,name=process_id,json=processId,proto3" json:"process_id,omitempty"` // Optional. Information about the client. // // @since 3.15.0 ClientInfo *InitializeRequest_ClientInfo `protobuf:"bytes,3,opt,name=client_info,json=clientInfo,proto3" json:"client_info,omitempty"` // Optional. The rootPath of the workspace. Is null // if no folder is open. // // Use rootUri instead of. // // Deprecated: Do not use. RootPath *wrappers.StringValue `protobuf:"bytes,4,opt,name=root_path,json=rootPath,proto3" json:"root_path,omitempty"` // The rootUri of the workspace. Is null if no // folder is open. If both `rootPath` and `rootUri` are set // `rootUri` wins. // // nullable RootUri *uri.DocumentURI `protobuf:"bytes,5,opt,name=root_uri,json=rootUri,proto3" json:"root_uri,omitempty"` // Optional. User provided initialization options. InitializationOptions *any.Any `protobuf:"bytes,6,opt,name=initialization_options,json=initializationOptions,proto3" json:"initialization_options,omitempty"` // Required. The capabilities provided by the client (editor or tool) Capabilities *ClientCapabilities `protobuf:"bytes,7,opt,name=capabilities,proto3" json:"capabilities,omitempty"` // Optional. The initial trace setting. If omitted trace is disabled ('off'). Trace protocol.TraceValue `protobuf:"varint,8,opt,name=trace,proto3,enum=protocol.TraceValue" json:"trace,omitempty"` // Optional. The workspace folders configured in the client when the server starts. // This property is only available if the client supports workspace folders. // It can be `null` if the client supports workspace folders but none are // configured. // // @since 3.6.0 // // nullable WorkspaceFolders []*WorkspaceFolder `protobuf:"bytes,9,rep,name=workspace_folders,json=workspaceFolders,proto3" json:"workspace_folders,omitempty"` // contains filtered or unexported fields }
InitializeRequest is the sent as the first request from the client to the server. If the server receives a request or notification before the initialize request it should act as follows:
- For a request the response should be an error with code: -32002. The message can be picked by the server. - Notifications should be dropped, except for the exit notification. This will allow the exit of a server without an initialize request.
Until the server has responded to the initialize request with an InitializeResponse, the client must not send any additional requests or notifications to the server.
In addition the server is not allowed to send any requests or notifications to the client until it has responded with an InitializeResponse, with the exception that during the initialize request the server is allowed to send the notifications window/showMessage, window/logMessage and telemetry/event as well as the window/showMessageRequest request to the client.
In case the client sets up a progress token in the initialize params (e.g. property workDoneToken) the server is also allowed to use that token (and only that token) using the $/progress notification sent from the server to the client.
The initialize request may only be sent once.
func (*InitializeRequest) Descriptor
deprecated
func (*InitializeRequest) Descriptor() ([]byte, []int)
Deprecated: Use InitializeRequest.ProtoReflect.Descriptor instead.
func (*InitializeRequest) GetCapabilities ¶
func (x *InitializeRequest) GetCapabilities() *ClientCapabilities
func (*InitializeRequest) GetClientInfo ¶
func (x *InitializeRequest) GetClientInfo() *InitializeRequest_ClientInfo
func (*InitializeRequest) GetInitializationOptions ¶
func (x *InitializeRequest) GetInitializationOptions() *any.Any
func (*InitializeRequest) GetProcessId ¶
func (x *InitializeRequest) GetProcessId() int32
func (*InitializeRequest) GetRootPath
deprecated
func (x *InitializeRequest) GetRootPath() *wrappers.StringValue
Deprecated: Do not use.
func (*InitializeRequest) GetRootUri ¶
func (x *InitializeRequest) GetRootUri() *uri.DocumentURI
func (*InitializeRequest) GetTrace ¶
func (x *InitializeRequest) GetTrace() protocol.TraceValue
func (*InitializeRequest) GetWorkDoneProgressParams ¶
func (x *InitializeRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
func (*InitializeRequest) GetWorkspaceFolders ¶
func (x *InitializeRequest) GetWorkspaceFolders() []*WorkspaceFolder
func (*InitializeRequest) ProtoMessage ¶
func (*InitializeRequest) ProtoMessage()
func (*InitializeRequest) ProtoReflect ¶
func (x *InitializeRequest) ProtoReflect() protoreflect.Message
func (*InitializeRequest) Reset ¶
func (x *InitializeRequest) Reset()
func (*InitializeRequest) String ¶
func (x *InitializeRequest) String() string
type InitializeRequest_ClientInfo ¶
type InitializeRequest_ClientInfo struct { // The name of the client as defined by the client. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. The client's version as defined by the client. Version *wrappers.StringValue `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
(-- api-linter: core::0140::abbreviations=disabled
api-linter: core::0123::resource-annotation=disabled --)
func (*InitializeRequest_ClientInfo) Descriptor
deprecated
func (*InitializeRequest_ClientInfo) Descriptor() ([]byte, []int)
Deprecated: Use InitializeRequest_ClientInfo.ProtoReflect.Descriptor instead.
func (*InitializeRequest_ClientInfo) GetName ¶
func (x *InitializeRequest_ClientInfo) GetName() string
func (*InitializeRequest_ClientInfo) GetVersion ¶
func (x *InitializeRequest_ClientInfo) GetVersion() *wrappers.StringValue
func (*InitializeRequest_ClientInfo) ProtoMessage ¶
func (*InitializeRequest_ClientInfo) ProtoMessage()
func (*InitializeRequest_ClientInfo) ProtoReflect ¶
func (x *InitializeRequest_ClientInfo) ProtoReflect() protoreflect.Message
func (*InitializeRequest_ClientInfo) Reset ¶
func (x *InitializeRequest_ClientInfo) Reset()
func (*InitializeRequest_ClientInfo) String ¶
func (x *InitializeRequest_ClientInfo) String() string
type InitializeResponse ¶
type InitializeResponse struct { // The capabilities the language server provides. Capabilities *ServerCapabilities `protobuf:"bytes,1,opt,name=capabilities,proto3" json:"capabilities,omitempty"` // Optional. Information about the server. // // @since 3.15.0 ServerInfo *InitializeResponse_ServerInfo `protobuf:"bytes,2,opt,name=server_info,json=serverInfo,proto3" json:"server_info,omitempty"` // contains filtered or unexported fields }
InitializeResponse result of Initialize.
func (*InitializeResponse) Descriptor
deprecated
func (*InitializeResponse) Descriptor() ([]byte, []int)
Deprecated: Use InitializeResponse.ProtoReflect.Descriptor instead.
func (*InitializeResponse) GetCapabilities ¶
func (x *InitializeResponse) GetCapabilities() *ServerCapabilities
func (*InitializeResponse) GetServerInfo ¶
func (x *InitializeResponse) GetServerInfo() *InitializeResponse_ServerInfo
func (*InitializeResponse) ProtoMessage ¶
func (*InitializeResponse) ProtoMessage()
func (*InitializeResponse) ProtoReflect ¶
func (x *InitializeResponse) ProtoReflect() protoreflect.Message
func (*InitializeResponse) Reset ¶
func (x *InitializeResponse) Reset()
func (*InitializeResponse) String ¶
func (x *InitializeResponse) String() string
type InitializeResponse_ServerInfo ¶
type InitializeResponse_ServerInfo struct { // The name of the server as defined by the server. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. The server's version as defined by the server. Version *wrappers.StringValue `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
Information about the server.
@since 3.15.0 (-- api-linter: core::0123::resource-annotation=disabled --)
func (*InitializeResponse_ServerInfo) Descriptor
deprecated
func (*InitializeResponse_ServerInfo) Descriptor() ([]byte, []int)
Deprecated: Use InitializeResponse_ServerInfo.ProtoReflect.Descriptor instead.
func (*InitializeResponse_ServerInfo) GetName ¶
func (x *InitializeResponse_ServerInfo) GetName() string
func (*InitializeResponse_ServerInfo) GetVersion ¶
func (x *InitializeResponse_ServerInfo) GetVersion() *wrappers.StringValue
func (*InitializeResponse_ServerInfo) ProtoMessage ¶
func (*InitializeResponse_ServerInfo) ProtoMessage()
func (*InitializeResponse_ServerInfo) ProtoReflect ¶
func (x *InitializeResponse_ServerInfo) ProtoReflect() protoreflect.Message
func (*InitializeResponse_ServerInfo) Reset ¶
func (x *InitializeResponse_ServerInfo) Reset()
func (*InitializeResponse_ServerInfo) String ¶
func (x *InitializeResponse_ServerInfo) String() string
type InitializedRequest ¶
type InitializedRequest struct {
// contains filtered or unexported fields
}
InitializedRequest is the initialized notification is sent from the client to the server after the client received the result of the initialize request but before the client is sending any other request or notification to the server. The server can use the initialized notification for example to dynamically register capabilities. The initialized notification may only be sent once.
func (*InitializedRequest) Descriptor
deprecated
func (*InitializedRequest) Descriptor() ([]byte, []int)
Deprecated: Use InitializedRequest.ProtoReflect.Descriptor instead.
func (*InitializedRequest) ProtoMessage ¶
func (*InitializedRequest) ProtoMessage()
func (*InitializedRequest) ProtoReflect ¶
func (x *InitializedRequest) ProtoReflect() protoreflect.Message
func (*InitializedRequest) Reset ¶
func (x *InitializedRequest) Reset()
func (*InitializedRequest) String ¶
func (x *InitializedRequest) String() string
type InsertTextFormat ¶
type InsertTextFormat int32
InsertTextFormat defines whether the insert text in a completion item should be interpreted as plain text or a snippet.
const ( // Conventional default for enums. Do not use this. InsertTextFormat_INSERT_TEXT_FORMAT_UNSPECIFIED InsertTextFormat = 0 // The primary text to be inserted is treated as a plain string. InsertTextFormat_PLAINTEXT InsertTextFormat = 1 // The primary text to be inserted is treated as a snippet. // // A snippet can define tab stops and placeholders with `$1`, `$2` // and `${3:foo}`. `$0` defines the final tab stop, it defaults to // the end of the snippet. Placeholders with equal identifiers are linked, // that is typing in one will update others too. // // (-- Add `_FORMAT` suffix for avoid `Note that enum values use C++ scoping rules, meaning that // enum values are siblings of their type, not children of it.` warning on // [CompletionItemKind][CompletionItemKind]. --) InsertTextFormat_SNIPPET_FORMAT InsertTextFormat = 2 )
func (InsertTextFormat) Descriptor ¶
func (InsertTextFormat) Descriptor() protoreflect.EnumDescriptor
func (InsertTextFormat) Enum ¶
func (x InsertTextFormat) Enum() *InsertTextFormat
func (InsertTextFormat) EnumDescriptor
deprecated
func (InsertTextFormat) EnumDescriptor() ([]byte, []int)
Deprecated: Use InsertTextFormat.Descriptor instead.
func (InsertTextFormat) Number ¶
func (x InsertTextFormat) Number() protoreflect.EnumNumber
func (InsertTextFormat) String ¶
func (x InsertTextFormat) String() string
func (InsertTextFormat) Type ¶
func (InsertTextFormat) Type() protoreflect.EnumType
type LanguageServerProtocolClient ¶
type LanguageServerProtocolClient interface { // Cancel notification is the base protocol offers support for request cancellation. To cancel a // request, a CancelRequest notification message is sent. // // A request that got canceled still needs to return from the server and send a response back. It // can not be left open / hanging. This is in line with the JSON RPC protocol that requires that // every request sends a response back. In addition it allows for returning partial results on // cancel. If the request returns an error response on cancellation it is advised to set the error // code to [Codes.RequestCancelled][protocol.Codes]. Cancel(ctx context.Context, in *CancelRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Progress notification is the base protocol offers also support to report progress in a generic // fashion. This mechanism can be used to report any kind of progress including work done progress // (usually used to report progress in the user interface using a progress bar) and partial result // progress to support streaming of results. // // Progress is reported against a token. The token is different than the request ID which allows // to report progress out of band and also for notification. // // @since 3.15.0 Progress(ctx context.Context, in *ProgressRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Initialize request is sent as the first request from the client to the server. If the server // receives a request or notification before the initialize request it should act as follows: // // - For a request the response should be an error with `code: -32002`. The message can be picked // by the server. // - Notifications should be dropped, except for the exit notification. This will allow the exit // of a server without an initialize request. // // Until the server has responded to the `initialize` request with an `InitializeResponse`, the // client must not send any additional requests or notifications to the server. In addition the // server is not allowed to send any requests or notifications to the client until it has // responded with an `InitializeResponse`, with the exception that during the initialize request // the server is allowed to send the notifications `window/showMessage`, `window/logMessage` and // `telemetry/event` as well as the `window/showMessageRequest` request to the client. In case the // client sets up a progress token in the initialize params (e.g. property `workDoneToken`) the // server is also allowed to use that token (and only that token) using the `$/progress` // notification sent from the server to the client. // // The initialize request may only be sent once. Initialize(ctx context.Context, in *InitializeRequest, opts ...grpc.CallOption) (*InitializeResponse, error) // Initialized notification is sent from the client to the server after the client received the // result of the `initialize` request but before the client is sending any other request or // notification to the server. // // The server can use the `initialized` notification for example to dynamically register // capabilities. // // The `initialized` notification may only be sent once. Initialized(ctx context.Context, in *InitializedRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Shutdown request is sent from the client to the server. // // It asks the server to shut down, but to not exit (otherwise the response might not be delivered // correctly to the client). There is a separate exit notification that asks the server to exit. // // Clients must not send any notifications other than exit or requests to a server to which they // have sent a shutdown request. // // If a server receives requests after a shutdown request those requests should error with // `InvalidRequest`. Shutdown(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*protocol.Error, error) // Exit notification to ask the server to exit its process. // // The server should exit with `success` code 0 if the shutdown request has been received before; // otherwise with `error` code 1. Exit(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) // LogTrace notification to log the trace of the server’s execution. // // The amount and content of these notifications depends on the current `trace` configuration. // If `trace` is `'off'`, the server should not send any `logTrace` notification. If `trace` is // `'message'`, the server should not add the `'verbose'` field in the logTraceRequest. // // `$/logTrace` should be used for systematic trace reporting. For single debugging messages, the // server should send window/logMessage notifications. LogTrace(ctx context.Context, in *LogTraceRequest, opts ...grpc.CallOption) (*empty.Empty, error) // SetTrace notification that should be used by the client to modify the trace setting of the // server. // // (-- api-linter: core::0134::synonyms=disabled // api-linter: core::0136::http-method=disabled --) SetTrace(ctx context.Context, in *SetTraceRequest, opts ...grpc.CallOption) (*empty.Empty, error) // ShowMessage notification is the show message notification is sent from a server to a client to // ask the client to display a particular message in the user interface. ShowMessage(ctx context.Context, in *ShowMessageRequestParams, opts ...grpc.CallOption) (*empty.Empty, error) // ShowMessageRequest request is the show message request is sent from a server to a client to ask // the client to display a particular message in the user interface. In addition to the show // message notification the request allows to pass actions and to wait for an answer from the // client. ShowMessageRequest(ctx context.Context, in *ShowMessageRequestRequest, opts ...grpc.CallOption) (*ShowMessageResponse, error) // LogMessage notification is the log message notification is sent from the server to the client // to ask the client to log a particular message. LogMessage(ctx context.Context, in *LogMessageRequest, opts ...grpc.CallOption) (*empty.Empty, error) // CreateWorkDoneProgress is the `window/workDoneProgress/create` request is sent from the server // to the client to ask the client to create a work done progress. // // (-- api-linter: core::0133::http-uri-parent=disabled // api-linter: core::0133::http-body=disabled // api-linter: core::0133::request-message-name=disabled // api-linter: core::0133::response-message-name=disabled --) CreateWorkDoneProgress(ctx context.Context, in *WorkDoneProgressCreateRequest, opts ...grpc.CallOption) (*protocol.Error, error) // CancelWorkDoneProgress is the `window/workDoneProgress/cancel` notification is sent from the // client to the server to cancel a progress initiated on the server side using the // `window/workDoneProgress/create`. CancelWorkDoneProgress(ctx context.Context, in *WorkDoneProgressCancelRequest, opts ...grpc.CallOption) (*protocol.Error, error) // Telemetry notification is the telemetry notification is sent from the server to the client to // ask the client to log a telemetry event. Telemetry(ctx context.Context, in *any.Any, opts ...grpc.CallOption) (*empty.Empty, error) // WorkspaceFolders request is the workspace/workspaceFolders request is sent from the server to // the client to fetch the current open list of workspace folders. // // Returns null in the response if only a single file is open in the tool. Returns an empty array // if a workspace is open but no folders are configured. // // @since 3.6.0 WorkspaceFolders(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*WorkspaceFoldersResponse, error) // DidChangeWorkspaceFolders notification is the `workspace/didChangeWorkspaceFolders` // notification is sent from the client to the server to inform the server about workspace folder // configuration changes. // // The notification is sent by default if both client capability `workspace.workspaceFolders` and // the server capability `workspace.workspaceFolders.supported` are true; or if the server has // registered itself to receive this notification. To register for the // `workspace/didChangeWorkspaceFolders` send a client/registerCapability request from the server // to the client. The `registration` parameter must have a registrations item of the following // form, where id is a unique id used to unregister the capability (the example uses a UUID): // // @since 3.6.0 DidChangeWorkspaceFolders(ctx context.Context, in *DidChangeWorkspaceFoldersRequest, opts ...grpc.CallOption) (*empty.Empty, error) // DidChangeConfiguration a notification sent from the client to the server to signal the change // of configuration settings. DidChangeConfiguration(ctx context.Context, in *DidChangeConfigurationRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Configuration request is the `workspace/configuration` request is sent from the server to the // client to fetch configuration settings from the client. // // The request can fetch several configuration settings in one roundtrip. The order of the // returned configuration settings correspond to the order of the passed `ConfigurationItems` // (e.g. the first item in the response is the result for the first configuration item in the // params). // // @since 3.6.0 Configuration(ctx context.Context, in *ConfigurationRequest, opts ...grpc.CallOption) (*ConfigurationResponse, error) // DidChangeWatchedFiles notification is the watched files notification is sent from the client to // the server when the client detects changes to files watched by the language client. // // It is recommended that servers register for these file events using the registration mechanism. // In former implementations clients pushed file events without the server actively asking for it. DidChangeWatchedFiles(ctx context.Context, in *DidChangeWatchedFilesRequest, opts ...grpc.CallOption) (*empty.Empty, error) // WorkspaceSymbols request is the workspace symbol request is sent from the client to the server // to list project-wide symbols matching the query string. // // (-- api-linter: core::0136::http-uri-suffix=disabled --) WorkspaceSymbols(ctx context.Context, in *ConfigurationRequest, opts ...grpc.CallOption) (*WorkspaceSymbolsResponse, error) // ExecuteCommand is the `workspace/executeCommand` request is sent from the client to the server // to trigger command execution on the server. // // In most cases the server creates a `WorkspaceEdit` structure and applies the changes to the // workspace using the request `workspace/applyEdit` which is sent from the server to the client. ExecuteCommand(ctx context.Context, in *ExecuteCommandParams, opts ...grpc.CallOption) (*ExecuteCommandResponse, error) // ApplyEdit request is sent from the server to the client to modify resource on the client side. ApplyEdit(ctx context.Context, in *ApplyWorkspaceEditRequest, opts ...grpc.CallOption) (*ApplyWorkspaceEditResponse, error) // DidOpenTextDocument notification is the `DidOpenTextDocumentRequest` contain the language id // the document is associated with. // // If the language Id of a document changes, the client needs to send a `textDocument/didClose` to // the server followed by a `textDocument/didOpen` with the new language id if the server handles // the new language id as well. DidOpenTextDocument(ctx context.Context, in *DidOpenTextDocumentRequest, opts ...grpc.CallOption) (*empty.Empty, error) // DidChangeTextDocument notification is the document change notification is sent from the client // to the server to signal changes to a text document. // // Before a client can change a text document it must claim ownership of its content using the // textDocument/didOpen notification. // // In 2.0 the shape of the params has changed to include proper version numbers and language ids. DidChangeTextDocument(ctx context.Context, in *DidChangeTextDocumentRequest, opts ...grpc.CallOption) (*empty.Empty, error) // WillSaveTextDocument notification is the document will save notification is sent from the // client to the server before the document is actually saved. WillSaveTextDocument(ctx context.Context, in *WillSaveTextDocumentRequest, opts ...grpc.CallOption) (*empty.Empty, error) // WillSaveWaitUntilTextDocument request is the document will save request is sent from the client // to the server before the document is actually saved. // // The request can return an array of TextEdits which will be applied to the text document before // it is saved. // // Please note that clients might drop results if computing the text edits took too long or if a // server constantly fails on this request. This is done to keep the save fast and reliable. WillSaveWaitUntilTextDocument(ctx context.Context, in *WillSaveTextDocumentRequest, opts ...grpc.CallOption) (*WillSaveTextDocumentResponse, error) // DidSaveTextDocument notification is the document save notification is sent from the client to // the server when the document was saved in the client. DidSaveTextDocument(ctx context.Context, in *DidSaveTextDocumentRequest, opts ...grpc.CallOption) (*empty.Empty, error) // DidCloseTextDocument notification is the document close notification is sent from the client to // the server when the document got closed in the client. // // The document’s master now exists where the document’s Uri points to (e.g. if the document’s Uri // is a file Uri the master now exists on disk). As with the open notification the close // notification is about managing the document’s content. // // Receiving a close notification doesn’t mean that the document was open in an editor before. A // close notification requires a previous open notification to be sent. Note that a server’s // ability to fulfill requests is independent of whether a text document is open or closed. DidCloseTextDocument(ctx context.Context, in *DidCloseTextDocumentRequest, opts ...grpc.CallOption) (*empty.Empty, error) // PublishDiagnostics notification is the diagnostics notification are sent from the server to the // client to signal results of validation runs. PublishDiagnostics(ctx context.Context, in *PublishDiagnosticsRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Completion request is the Completion request is sent from the client to the server to compute // completion items at a given cursor position. // // Completion items are presented in the IntelliSense user interface. If computing full completion // items is expensive, servers can additionally provide a handler for the completion item resolve // request (‘completionItem/resolve’). // // This request is sent when a completion item is selected in the user interface. A typical use // case is for example: the `textDocument/completion` request doesn’t fill in the documentation // property for returned completion items since it is expensive to compute. When the item is // selected in the user interface then a `completionItem/resolve` request is sent with the // selected completion item as a parameter. // // The returned completion item should have the documentation property filled in. The request can // only delay the computation of the `detail` and `documentation` properties. Other properties // like `sortText`, `filterText`, `insertText`, `textEdit` and `additionalTextEdits` must be // provided in the `textDocument/completion` response and must not be changed during resolve. Completion(ctx context.Context, in *CompletionRequest, opts ...grpc.CallOption) (*CompletionResponse, error) // CompletionItemResolve request is the request is sent from the client to the server to resolve // additional information for a given completion item. CompletionItemResolve(ctx context.Context, in *CompletionItemResolveRequest, opts ...grpc.CallOption) (*CompletionItemResolveResponse, error) // Hover Request is the hover request is sent from the client to the server to request hover // information at a given text document position. Hover(ctx context.Context, in *HoverRequest, opts ...grpc.CallOption) (*HoverResponse, error) // SignatureHelp request is the signature help request is sent from the client to the server to // request signature information at a given cursor position. SignatureHelp(ctx context.Context, in *SignatureHelpRequest, opts ...grpc.CallOption) (*SignatureHelpResponse, error) // GotoDeclaration request is the go to declaration request is sent from the client to the server // to resolve the declaration location of a symbol at a given text document position. // // The result type [LocationLinks][LocationLinks] got introduced with version 3.14.0 and depends // on the corresponding client capability `textDocument.declaration.linkSupport`. // // @since 3.14.0 GotoDeclaration(ctx context.Context, in *DeclarationRequest, opts ...grpc.CallOption) (*DeclarationResponse, error) // GotoDefinition request is the go to definition request is sent from the client to the server to // resolve the definition location of a symbol at a given text document position. // // The result type [LocationLinks][LocationLinks] got introduced with version 3.14.0 and depends // on the corresponding client capability `textDocument.definition.linkSupport`. GotoDefinition(ctx context.Context, in *DefinitionRequest, opts ...grpc.CallOption) (*DefinitionResponse, error) // GotoTypeDefinition request is the go to type definition request is sent from the client to the // server to resolve the type definition location of a symbol at a given text document position. // // The result type [LocationLinks][LocationLinks] got introduced with version 3.14.0 and depends // on the corresponding client capability `textDocument.typeDefinition.linkSupport`. // // @since 3.6.0 GotoTypeDefinition(ctx context.Context, in *TypeDefinitionRequest, opts ...grpc.CallOption) (*TypeDefinitionResponse, error) // GotoImplementation request is the go to implementation request is sent from the client to the // server to resolve the implementation location of a symbol at a given text document position. // // The result type [LocationLinks][LocationLinks] got introduced with version 3.14.0 and depends // on the corresponding client capability `textDocument.implementation.linkSupport`. // // @since 3.6.0 GotoImplementation(ctx context.Context, in *ImplementationRequest, opts ...grpc.CallOption) (*ImplementationResponse, error) // FindReferences request is the references request is sent from the client to the server to // resolve project-wide references for the symbol denoted by the given text document position. FindReferences(ctx context.Context, in *ReferenceRequest, opts ...grpc.CallOption) (*ReferenceResponse, error) // DocumentHighlights request is the document highlight request is sent from the client to the // server to resolve a document highlights for a given text document position. // // For programming languages this usually highlights all references to the symbol scoped to this // file. However we kept `textDocument/documentHighlight` and `textDocument/references` separate // requests since the first one is allowed to be more fuzzy. // // Symbol matches usually have a DocumentHighlightKind of `Read` or `Write` whereas fuzzy or // textual matches use `Text` as the kind. DocumentHighlights(ctx context.Context, in *DocumentHighlightRequest, opts ...grpc.CallOption) (*DocumentHighlightsResponse, error) // DocumentSymbols request is the document symbol request is sent from the client to the server. // // The returned result is either // // - SymbolInformation[] which is a flat list of all symbols found in a given text document. Then // neither the symbol’s location range nor the symbol’s container name should be used to infer a // hierarchy. // // - DocumentSymbol[] which is a hierarchy of symbols found in a given text document. DocumentSymbols(ctx context.Context, in *DocumentSymbolRequest, opts ...grpc.CallOption) (*DocumentSymbolResponse, error) // CodeAction request is the code action request is sent from the client to the server to compute // commands for a given text document and range. // // These commands are typically code fixes to either fix problems or to beautify/refactor code. // // The result of a `textDocument/codeAction` request is an array of `Command` literals which are // typically presented in the user interface. To ensure that a server is useful in many clients // the commands specified in a code actions should be handled by the server and not by the client // (see `workspace/executeCommand` and `ServerCapabilities.executeCommandProvider`). If the client // supports providing edits with a code action then the mode should be used. // // When the command is selected the server should be contacted again (via the // `workspace/executeCommand`) request to execute the command. // // Since version 3.8.0: support for CodeAction literals to enable the following scenarios: // // - the ability to directly return a workspace edit from the code action request. This avoids // having another server roundtrip to execute an actual code action. However server providers // should be aware that if the code action is expensive to compute or the edits are huge it might // still be beneficial if the result is simply a command and the actual edit is only computed when // needed. // // - the ability to group code actions using a kind. Clients are allowed to ignore that // information. However it allows them to better group code action for example into corresponding // menus (e.g. all refactor code actions into a refactor menu). // // Clients need to announce their support for code action literals (e.g. literals of type // `CodeAction`) and code action kinds via the corresponding client capability // `codeAction.codeActionLiteralSupport`. CodeAction(ctx context.Context, in *CodeActionRequest, opts ...grpc.CallOption) (*CodeActionResponse, error) // CodeLens request is the code lens request is sent from the client to the server to compute code // lenses for a given text document. CodeLens(ctx context.Context, in *CodeLensRequest, opts ...grpc.CallOption) (*CodeLensResponse, error) // CodeLensResolve request is the code lens resolve request is sent from the client to the server // to resolve the command for a given code lens item. CodeLensResolve(ctx context.Context, in *CodeLensResolveRequest, opts ...grpc.CallOption) (*CodeLensResolveResponse, error) // DocumentLink request is the document links request is sent from the client to the server to // request the location of links in a document. DocumentLink(ctx context.Context, in *DocumentLinkRequest, opts ...grpc.CallOption) (*DocumentLinkResponse, error) // DocumentLinkResolve request is the document link resolve request is sent from the client to the // server to resolve the target of a given document link. DocumentLinkResolve(ctx context.Context, in *DocumentLinkResolveRequest, opts ...grpc.CallOption) (*DocumentLinkResolveResponse, error) // DocumentColor request is the document color request is sent from the client to the server to // list all color references found in a given text document. Along with the range, a color value // in RGB is returned. // // Clients can use the result to decorate color references in an editor. For example: // // - Color boxes showing the actual color next to the reference // // - Show a color picker when a color reference is edited // // @since 3.6.0 DocumentColor(ctx context.Context, in *DocumentColorRequest, opts ...grpc.CallOption) (*DocumentColorResponse, error) // ColorPresentation request is the color presentation request is sent from the client to the // server to obtain a list of presentations for a color value at a given location. Clients can use // the result to // // - modify a color reference. // - show in a color picker and let users pick one of the presentations // // This request has no special capabilities and registration options since it is send as a resolve // request for the `textDocument/documentColor` request. // // @since 3.6.0 ColorPresentation(ctx context.Context, in *ColorPresentationRequest, opts ...grpc.CallOption) (*ColorPresentationResponse, error) // DocumentFormatting request is the document formatting request is sent from the client to the // server to format a whole document. DocumentFormatting(ctx context.Context, in *DocumentFormattingRequest, opts ...grpc.CallOption) (*DocumentFormattingResponse, error) // DocumentRangeFormatting Request is the document range formatting request is sent from the // client to the server to format a given range in a document. DocumentRangeFormatting(ctx context.Context, in *DocumentRangeFormattingRequest, opts ...grpc.CallOption) (*DocumentRangeFormattingResponse, error) // OnTypeFormatting request is the document on type formatting request is sent from the client to // the server to format parts of the document during typing. OnTypeFormatting(ctx context.Context, in *DocumentOnTypeFormattingRequest, opts ...grpc.CallOption) (*DocumentOnTypeFormattingResponse, error) // Rename request is the rename request is sent from the client to the server to ask the server to // compute a workspace change so that the client can perform a workspace-wide rename of a symbol. Rename(ctx context.Context, in *RenameRequest, opts ...grpc.CallOption) (*RenameResponse, error) // PrepareRename request is the prepare rename request is sent from the client to the server to // setup and test the validity of a rename operation at a given location. // // @since 3.12.0 PrepareRename(ctx context.Context, in *PrepareRenameRequest, opts ...grpc.CallOption) (*PrepareRenameResponse, error) // FoldingRange request is the folding range request is sent from the client to the server to // return all folding ranges found in a given text document. // // @since 3.10.0 FoldingRange(ctx context.Context, in *FoldingRangeRequest, opts ...grpc.CallOption) (*FoldingRangeResponse, error) // SelectionRange request is the selection range request is sent from the client to the server to // return suggested selection ranges at an array of given positions. // // A selection range is a range around the cursor position which the user might be interested in // selecting. A selection range in the return array is for the position in the provided parameters // at the same index. Therefore positions[i] must be contained in result[i].range. // // Typically, but not necessary, selection ranges correspond to the nodes of the syntax tree. // // @since 3.15.0 SelectionRange(ctx context.Context, in *SelectionRangeRequest, opts ...grpc.CallOption) (*SelectionRangeResponse, error) // PrepareCallHierarchy request is the call hierarchy request is sent from the client to the // server to return a call hierarchy for the language element of given text document positions. // // The call hierarchy requests are executed in two steps: // // - first a call hierarchy item is resolved for the given text document position // // - for a call hierarchy item the incoming or outgoing call hierarchy items are resolved. // // @since 3.16.0 PrepareCallHierarchy(ctx context.Context, in *CallHierarchyPrepareRequest, opts ...grpc.CallOption) (*CallHierarchyPrepareResponse, error) // CallHierarchyIncomingCalls request is sent from the client to the server to resolve incoming // calls for a given call hierarchy item. // // The request doesn’t define its own client and server capabilities. It is only issued if a // server registers for the `textDocument/prepareCallHierarchy` request. // // @since 3.16.0 CallHierarchyIncomingCalls(ctx context.Context, in *CallHierarchyIncomingCallsRequest, opts ...grpc.CallOption) (*CallHierarchyIncomingCallsResponse, error) // CallHierarchyOutgoingCalls is the request is sent from the client to the server to resolve // outgoing calls for a given call hierarchy item. // // The request doesn’t define its own client and server capabilities. It is only issued if a // server registers for the textDocument/prepareCallHierarchy request. // // @since 3.16.0 CallHierarchyOutgoingCalls(ctx context.Context, in *CallHierarchyOutgoingCallsRequest, opts ...grpc.CallOption) (*CallHierarchyOutgoingCallsResponse, error) }
LanguageServerProtocolClient is the client API for LanguageServerProtocol service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewLanguageServerProtocolClient ¶
func NewLanguageServerProtocolClient(cc grpc.ClientConnInterface) LanguageServerProtocolClient
type LanguageServerProtocolServer ¶
type LanguageServerProtocolServer interface { // Cancel notification is the base protocol offers support for request cancellation. To cancel a // request, a CancelRequest notification message is sent. // // A request that got canceled still needs to return from the server and send a response back. It // can not be left open / hanging. This is in line with the JSON RPC protocol that requires that // every request sends a response back. In addition it allows for returning partial results on // cancel. If the request returns an error response on cancellation it is advised to set the error // code to [Codes.RequestCancelled][protocol.Codes]. Cancel(context.Context, *CancelRequest) (*empty.Empty, error) // Progress notification is the base protocol offers also support to report progress in a generic // fashion. This mechanism can be used to report any kind of progress including work done progress // (usually used to report progress in the user interface using a progress bar) and partial result // progress to support streaming of results. // // Progress is reported against a token. The token is different than the request ID which allows // to report progress out of band and also for notification. // // @since 3.15.0 Progress(context.Context, *ProgressRequest) (*empty.Empty, error) // Initialize request is sent as the first request from the client to the server. If the server // receives a request or notification before the initialize request it should act as follows: // // - For a request the response should be an error with `code: -32002`. The message can be picked // by the server. // - Notifications should be dropped, except for the exit notification. This will allow the exit // of a server without an initialize request. // // Until the server has responded to the `initialize` request with an `InitializeResponse`, the // client must not send any additional requests or notifications to the server. In addition the // server is not allowed to send any requests or notifications to the client until it has // responded with an `InitializeResponse`, with the exception that during the initialize request // the server is allowed to send the notifications `window/showMessage`, `window/logMessage` and // `telemetry/event` as well as the `window/showMessageRequest` request to the client. In case the // client sets up a progress token in the initialize params (e.g. property `workDoneToken`) the // server is also allowed to use that token (and only that token) using the `$/progress` // notification sent from the server to the client. // // The initialize request may only be sent once. Initialize(context.Context, *InitializeRequest) (*InitializeResponse, error) // Initialized notification is sent from the client to the server after the client received the // result of the `initialize` request but before the client is sending any other request or // notification to the server. // // The server can use the `initialized` notification for example to dynamically register // capabilities. // // The `initialized` notification may only be sent once. Initialized(context.Context, *InitializedRequest) (*empty.Empty, error) // Shutdown request is sent from the client to the server. // // It asks the server to shut down, but to not exit (otherwise the response might not be delivered // correctly to the client). There is a separate exit notification that asks the server to exit. // // Clients must not send any notifications other than exit or requests to a server to which they // have sent a shutdown request. // // If a server receives requests after a shutdown request those requests should error with // `InvalidRequest`. Shutdown(context.Context, *empty.Empty) (*protocol.Error, error) // Exit notification to ask the server to exit its process. // // The server should exit with `success` code 0 if the shutdown request has been received before; // otherwise with `error` code 1. Exit(context.Context, *empty.Empty) (*empty.Empty, error) // LogTrace notification to log the trace of the server’s execution. // // The amount and content of these notifications depends on the current `trace` configuration. // If `trace` is `'off'`, the server should not send any `logTrace` notification. If `trace` is // `'message'`, the server should not add the `'verbose'` field in the logTraceRequest. // // `$/logTrace` should be used for systematic trace reporting. For single debugging messages, the // server should send window/logMessage notifications. LogTrace(context.Context, *LogTraceRequest) (*empty.Empty, error) // SetTrace notification that should be used by the client to modify the trace setting of the // server. // // (-- api-linter: core::0134::synonyms=disabled // api-linter: core::0136::http-method=disabled --) SetTrace(context.Context, *SetTraceRequest) (*empty.Empty, error) // ShowMessage notification is the show message notification is sent from a server to a client to // ask the client to display a particular message in the user interface. ShowMessage(context.Context, *ShowMessageRequestParams) (*empty.Empty, error) // ShowMessageRequest request is the show message request is sent from a server to a client to ask // the client to display a particular message in the user interface. In addition to the show // message notification the request allows to pass actions and to wait for an answer from the // client. ShowMessageRequest(context.Context, *ShowMessageRequestRequest) (*ShowMessageResponse, error) // LogMessage notification is the log message notification is sent from the server to the client // to ask the client to log a particular message. LogMessage(context.Context, *LogMessageRequest) (*empty.Empty, error) // CreateWorkDoneProgress is the `window/workDoneProgress/create` request is sent from the server // to the client to ask the client to create a work done progress. // // (-- api-linter: core::0133::http-uri-parent=disabled // api-linter: core::0133::http-body=disabled // api-linter: core::0133::request-message-name=disabled // api-linter: core::0133::response-message-name=disabled --) CreateWorkDoneProgress(context.Context, *WorkDoneProgressCreateRequest) (*protocol.Error, error) // CancelWorkDoneProgress is the `window/workDoneProgress/cancel` notification is sent from the // client to the server to cancel a progress initiated on the server side using the // `window/workDoneProgress/create`. CancelWorkDoneProgress(context.Context, *WorkDoneProgressCancelRequest) (*protocol.Error, error) // Telemetry notification is the telemetry notification is sent from the server to the client to // ask the client to log a telemetry event. Telemetry(context.Context, *any.Any) (*empty.Empty, error) // WorkspaceFolders request is the workspace/workspaceFolders request is sent from the server to // the client to fetch the current open list of workspace folders. // // Returns null in the response if only a single file is open in the tool. Returns an empty array // if a workspace is open but no folders are configured. // // @since 3.6.0 WorkspaceFolders(context.Context, *empty.Empty) (*WorkspaceFoldersResponse, error) // DidChangeWorkspaceFolders notification is the `workspace/didChangeWorkspaceFolders` // notification is sent from the client to the server to inform the server about workspace folder // configuration changes. // // The notification is sent by default if both client capability `workspace.workspaceFolders` and // the server capability `workspace.workspaceFolders.supported` are true; or if the server has // registered itself to receive this notification. To register for the // `workspace/didChangeWorkspaceFolders` send a client/registerCapability request from the server // to the client. The `registration` parameter must have a registrations item of the following // form, where id is a unique id used to unregister the capability (the example uses a UUID): // // @since 3.6.0 DidChangeWorkspaceFolders(context.Context, *DidChangeWorkspaceFoldersRequest) (*empty.Empty, error) // DidChangeConfiguration a notification sent from the client to the server to signal the change // of configuration settings. DidChangeConfiguration(context.Context, *DidChangeConfigurationRequest) (*empty.Empty, error) // Configuration request is the `workspace/configuration` request is sent from the server to the // client to fetch configuration settings from the client. // // The request can fetch several configuration settings in one roundtrip. The order of the // returned configuration settings correspond to the order of the passed `ConfigurationItems` // (e.g. the first item in the response is the result for the first configuration item in the // params). // // @since 3.6.0 Configuration(context.Context, *ConfigurationRequest) (*ConfigurationResponse, error) // DidChangeWatchedFiles notification is the watched files notification is sent from the client to // the server when the client detects changes to files watched by the language client. // // It is recommended that servers register for these file events using the registration mechanism. // In former implementations clients pushed file events without the server actively asking for it. DidChangeWatchedFiles(context.Context, *DidChangeWatchedFilesRequest) (*empty.Empty, error) // WorkspaceSymbols request is the workspace symbol request is sent from the client to the server // to list project-wide symbols matching the query string. // // (-- api-linter: core::0136::http-uri-suffix=disabled --) WorkspaceSymbols(context.Context, *ConfigurationRequest) (*WorkspaceSymbolsResponse, error) // ExecuteCommand is the `workspace/executeCommand` request is sent from the client to the server // to trigger command execution on the server. // // In most cases the server creates a `WorkspaceEdit` structure and applies the changes to the // workspace using the request `workspace/applyEdit` which is sent from the server to the client. ExecuteCommand(context.Context, *ExecuteCommandParams) (*ExecuteCommandResponse, error) // ApplyEdit request is sent from the server to the client to modify resource on the client side. ApplyEdit(context.Context, *ApplyWorkspaceEditRequest) (*ApplyWorkspaceEditResponse, error) // DidOpenTextDocument notification is the `DidOpenTextDocumentRequest` contain the language id // the document is associated with. // // If the language Id of a document changes, the client needs to send a `textDocument/didClose` to // the server followed by a `textDocument/didOpen` with the new language id if the server handles // the new language id as well. DidOpenTextDocument(context.Context, *DidOpenTextDocumentRequest) (*empty.Empty, error) // DidChangeTextDocument notification is the document change notification is sent from the client // to the server to signal changes to a text document. // // Before a client can change a text document it must claim ownership of its content using the // textDocument/didOpen notification. // // In 2.0 the shape of the params has changed to include proper version numbers and language ids. DidChangeTextDocument(context.Context, *DidChangeTextDocumentRequest) (*empty.Empty, error) // WillSaveTextDocument notification is the document will save notification is sent from the // client to the server before the document is actually saved. WillSaveTextDocument(context.Context, *WillSaveTextDocumentRequest) (*empty.Empty, error) // WillSaveWaitUntilTextDocument request is the document will save request is sent from the client // to the server before the document is actually saved. // // The request can return an array of TextEdits which will be applied to the text document before // it is saved. // // Please note that clients might drop results if computing the text edits took too long or if a // server constantly fails on this request. This is done to keep the save fast and reliable. WillSaveWaitUntilTextDocument(context.Context, *WillSaveTextDocumentRequest) (*WillSaveTextDocumentResponse, error) // DidSaveTextDocument notification is the document save notification is sent from the client to // the server when the document was saved in the client. DidSaveTextDocument(context.Context, *DidSaveTextDocumentRequest) (*empty.Empty, error) // DidCloseTextDocument notification is the document close notification is sent from the client to // the server when the document got closed in the client. // // The document’s master now exists where the document’s Uri points to (e.g. if the document’s Uri // is a file Uri the master now exists on disk). As with the open notification the close // notification is about managing the document’s content. // // Receiving a close notification doesn’t mean that the document was open in an editor before. A // close notification requires a previous open notification to be sent. Note that a server’s // ability to fulfill requests is independent of whether a text document is open or closed. DidCloseTextDocument(context.Context, *DidCloseTextDocumentRequest) (*empty.Empty, error) // PublishDiagnostics notification is the diagnostics notification are sent from the server to the // client to signal results of validation runs. PublishDiagnostics(context.Context, *PublishDiagnosticsRequest) (*empty.Empty, error) // Completion request is the Completion request is sent from the client to the server to compute // completion items at a given cursor position. // // Completion items are presented in the IntelliSense user interface. If computing full completion // items is expensive, servers can additionally provide a handler for the completion item resolve // request (‘completionItem/resolve’). // // This request is sent when a completion item is selected in the user interface. A typical use // case is for example: the `textDocument/completion` request doesn’t fill in the documentation // property for returned completion items since it is expensive to compute. When the item is // selected in the user interface then a `completionItem/resolve` request is sent with the // selected completion item as a parameter. // // The returned completion item should have the documentation property filled in. The request can // only delay the computation of the `detail` and `documentation` properties. Other properties // like `sortText`, `filterText`, `insertText`, `textEdit` and `additionalTextEdits` must be // provided in the `textDocument/completion` response and must not be changed during resolve. Completion(context.Context, *CompletionRequest) (*CompletionResponse, error) // CompletionItemResolve request is the request is sent from the client to the server to resolve // additional information for a given completion item. CompletionItemResolve(context.Context, *CompletionItemResolveRequest) (*CompletionItemResolveResponse, error) // Hover Request is the hover request is sent from the client to the server to request hover // information at a given text document position. Hover(context.Context, *HoverRequest) (*HoverResponse, error) // SignatureHelp request is the signature help request is sent from the client to the server to // request signature information at a given cursor position. SignatureHelp(context.Context, *SignatureHelpRequest) (*SignatureHelpResponse, error) // GotoDeclaration request is the go to declaration request is sent from the client to the server // to resolve the declaration location of a symbol at a given text document position. // // The result type [LocationLinks][LocationLinks] got introduced with version 3.14.0 and depends // on the corresponding client capability `textDocument.declaration.linkSupport`. // // @since 3.14.0 GotoDeclaration(context.Context, *DeclarationRequest) (*DeclarationResponse, error) // GotoDefinition request is the go to definition request is sent from the client to the server to // resolve the definition location of a symbol at a given text document position. // // The result type [LocationLinks][LocationLinks] got introduced with version 3.14.0 and depends // on the corresponding client capability `textDocument.definition.linkSupport`. GotoDefinition(context.Context, *DefinitionRequest) (*DefinitionResponse, error) // GotoTypeDefinition request is the go to type definition request is sent from the client to the // server to resolve the type definition location of a symbol at a given text document position. // // The result type [LocationLinks][LocationLinks] got introduced with version 3.14.0 and depends // on the corresponding client capability `textDocument.typeDefinition.linkSupport`. // // @since 3.6.0 GotoTypeDefinition(context.Context, *TypeDefinitionRequest) (*TypeDefinitionResponse, error) // GotoImplementation request is the go to implementation request is sent from the client to the // server to resolve the implementation location of a symbol at a given text document position. // // The result type [LocationLinks][LocationLinks] got introduced with version 3.14.0 and depends // on the corresponding client capability `textDocument.implementation.linkSupport`. // // @since 3.6.0 GotoImplementation(context.Context, *ImplementationRequest) (*ImplementationResponse, error) // FindReferences request is the references request is sent from the client to the server to // resolve project-wide references for the symbol denoted by the given text document position. FindReferences(context.Context, *ReferenceRequest) (*ReferenceResponse, error) // DocumentHighlights request is the document highlight request is sent from the client to the // server to resolve a document highlights for a given text document position. // // For programming languages this usually highlights all references to the symbol scoped to this // file. However we kept `textDocument/documentHighlight` and `textDocument/references` separate // requests since the first one is allowed to be more fuzzy. // // Symbol matches usually have a DocumentHighlightKind of `Read` or `Write` whereas fuzzy or // textual matches use `Text` as the kind. DocumentHighlights(context.Context, *DocumentHighlightRequest) (*DocumentHighlightsResponse, error) // DocumentSymbols request is the document symbol request is sent from the client to the server. // // The returned result is either // // - SymbolInformation[] which is a flat list of all symbols found in a given text document. Then // neither the symbol’s location range nor the symbol’s container name should be used to infer a // hierarchy. // // - DocumentSymbol[] which is a hierarchy of symbols found in a given text document. DocumentSymbols(context.Context, *DocumentSymbolRequest) (*DocumentSymbolResponse, error) // CodeAction request is the code action request is sent from the client to the server to compute // commands for a given text document and range. // // These commands are typically code fixes to either fix problems or to beautify/refactor code. // // The result of a `textDocument/codeAction` request is an array of `Command` literals which are // typically presented in the user interface. To ensure that a server is useful in many clients // the commands specified in a code actions should be handled by the server and not by the client // (see `workspace/executeCommand` and `ServerCapabilities.executeCommandProvider`). If the client // supports providing edits with a code action then the mode should be used. // // When the command is selected the server should be contacted again (via the // `workspace/executeCommand`) request to execute the command. // // Since version 3.8.0: support for CodeAction literals to enable the following scenarios: // // - the ability to directly return a workspace edit from the code action request. This avoids // having another server roundtrip to execute an actual code action. However server providers // should be aware that if the code action is expensive to compute or the edits are huge it might // still be beneficial if the result is simply a command and the actual edit is only computed when // needed. // // - the ability to group code actions using a kind. Clients are allowed to ignore that // information. However it allows them to better group code action for example into corresponding // menus (e.g. all refactor code actions into a refactor menu). // // Clients need to announce their support for code action literals (e.g. literals of type // `CodeAction`) and code action kinds via the corresponding client capability // `codeAction.codeActionLiteralSupport`. CodeAction(context.Context, *CodeActionRequest) (*CodeActionResponse, error) // CodeLens request is the code lens request is sent from the client to the server to compute code // lenses for a given text document. CodeLens(context.Context, *CodeLensRequest) (*CodeLensResponse, error) // CodeLensResolve request is the code lens resolve request is sent from the client to the server // to resolve the command for a given code lens item. CodeLensResolve(context.Context, *CodeLensResolveRequest) (*CodeLensResolveResponse, error) // DocumentLink request is the document links request is sent from the client to the server to // request the location of links in a document. DocumentLink(context.Context, *DocumentLinkRequest) (*DocumentLinkResponse, error) // DocumentLinkResolve request is the document link resolve request is sent from the client to the // server to resolve the target of a given document link. DocumentLinkResolve(context.Context, *DocumentLinkResolveRequest) (*DocumentLinkResolveResponse, error) // DocumentColor request is the document color request is sent from the client to the server to // list all color references found in a given text document. Along with the range, a color value // in RGB is returned. // // Clients can use the result to decorate color references in an editor. For example: // // - Color boxes showing the actual color next to the reference // // - Show a color picker when a color reference is edited // // @since 3.6.0 DocumentColor(context.Context, *DocumentColorRequest) (*DocumentColorResponse, error) // ColorPresentation request is the color presentation request is sent from the client to the // server to obtain a list of presentations for a color value at a given location. Clients can use // the result to // // - modify a color reference. // - show in a color picker and let users pick one of the presentations // // This request has no special capabilities and registration options since it is send as a resolve // request for the `textDocument/documentColor` request. // // @since 3.6.0 ColorPresentation(context.Context, *ColorPresentationRequest) (*ColorPresentationResponse, error) // DocumentFormatting request is the document formatting request is sent from the client to the // server to format a whole document. DocumentFormatting(context.Context, *DocumentFormattingRequest) (*DocumentFormattingResponse, error) // DocumentRangeFormatting Request is the document range formatting request is sent from the // client to the server to format a given range in a document. DocumentRangeFormatting(context.Context, *DocumentRangeFormattingRequest) (*DocumentRangeFormattingResponse, error) // OnTypeFormatting request is the document on type formatting request is sent from the client to // the server to format parts of the document during typing. OnTypeFormatting(context.Context, *DocumentOnTypeFormattingRequest) (*DocumentOnTypeFormattingResponse, error) // Rename request is the rename request is sent from the client to the server to ask the server to // compute a workspace change so that the client can perform a workspace-wide rename of a symbol. Rename(context.Context, *RenameRequest) (*RenameResponse, error) // PrepareRename request is the prepare rename request is sent from the client to the server to // setup and test the validity of a rename operation at a given location. // // @since 3.12.0 PrepareRename(context.Context, *PrepareRenameRequest) (*PrepareRenameResponse, error) // FoldingRange request is the folding range request is sent from the client to the server to // return all folding ranges found in a given text document. // // @since 3.10.0 FoldingRange(context.Context, *FoldingRangeRequest) (*FoldingRangeResponse, error) // SelectionRange request is the selection range request is sent from the client to the server to // return suggested selection ranges at an array of given positions. // // A selection range is a range around the cursor position which the user might be interested in // selecting. A selection range in the return array is for the position in the provided parameters // at the same index. Therefore positions[i] must be contained in result[i].range. // // Typically, but not necessary, selection ranges correspond to the nodes of the syntax tree. // // @since 3.15.0 SelectionRange(context.Context, *SelectionRangeRequest) (*SelectionRangeResponse, error) // PrepareCallHierarchy request is the call hierarchy request is sent from the client to the // server to return a call hierarchy for the language element of given text document positions. // // The call hierarchy requests are executed in two steps: // // - first a call hierarchy item is resolved for the given text document position // // - for a call hierarchy item the incoming or outgoing call hierarchy items are resolved. // // @since 3.16.0 PrepareCallHierarchy(context.Context, *CallHierarchyPrepareRequest) (*CallHierarchyPrepareResponse, error) // CallHierarchyIncomingCalls request is sent from the client to the server to resolve incoming // calls for a given call hierarchy item. // // The request doesn’t define its own client and server capabilities. It is only issued if a // server registers for the `textDocument/prepareCallHierarchy` request. // // @since 3.16.0 CallHierarchyIncomingCalls(context.Context, *CallHierarchyIncomingCallsRequest) (*CallHierarchyIncomingCallsResponse, error) // CallHierarchyOutgoingCalls is the request is sent from the client to the server to resolve // outgoing calls for a given call hierarchy item. // // The request doesn’t define its own client and server capabilities. It is only issued if a // server registers for the textDocument/prepareCallHierarchy request. // // @since 3.16.0 CallHierarchyOutgoingCalls(context.Context, *CallHierarchyOutgoingCallsRequest) (*CallHierarchyOutgoingCallsResponse, error) // contains filtered or unexported methods }
LanguageServerProtocolServer is the server API for LanguageServerProtocol service. All implementations must embed UnimplementedLanguageServerProtocolServer for forward compatibility
type LocationLinks ¶
type LocationLinks struct { LocationLinks []*LocationLinks `protobuf:"bytes,1,rep,name=location_links,json=locationLinks,proto3" json:"location_links,omitempty"` // contains filtered or unexported fields }
LocationLinks represents a list of LocationLink.
func (*LocationLinks) Descriptor
deprecated
func (*LocationLinks) Descriptor() ([]byte, []int)
Deprecated: Use LocationLinks.ProtoReflect.Descriptor instead.
func (*LocationLinks) GetLocationLinks ¶
func (x *LocationLinks) GetLocationLinks() []*LocationLinks
func (*LocationLinks) ProtoMessage ¶
func (*LocationLinks) ProtoMessage()
func (*LocationLinks) ProtoReflect ¶
func (x *LocationLinks) ProtoReflect() protoreflect.Message
func (*LocationLinks) Reset ¶
func (x *LocationLinks) Reset()
func (*LocationLinks) String ¶
func (x *LocationLinks) String() string
type Locations ¶
type Locations struct { Locations []*Locations `protobuf:"bytes,1,rep,name=locations,proto3" json:"locations,omitempty"` // contains filtered or unexported fields }
Locations represents a list of Location.
func (*Locations) Descriptor
deprecated
func (*Locations) GetLocations ¶
func (*Locations) ProtoMessage ¶
func (*Locations) ProtoMessage()
func (*Locations) ProtoReflect ¶
func (x *Locations) ProtoReflect() protoreflect.Message
type LogMessageRequest ¶
type LogMessageRequest struct { // The message type. See [MessageType][MessageType]. Type MessageType `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.rpc.MessageType" json:"type,omitempty"` // The actual message Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
LogMessageRequest represents a notification params.
func (*LogMessageRequest) Descriptor
deprecated
func (*LogMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use LogMessageRequest.ProtoReflect.Descriptor instead.
func (*LogMessageRequest) GetMessage ¶
func (x *LogMessageRequest) GetMessage() string
func (*LogMessageRequest) GetType ¶
func (x *LogMessageRequest) GetType() MessageType
func (*LogMessageRequest) ProtoMessage ¶
func (*LogMessageRequest) ProtoMessage()
func (*LogMessageRequest) ProtoReflect ¶
func (x *LogMessageRequest) ProtoReflect() protoreflect.Message
func (*LogMessageRequest) Reset ¶
func (x *LogMessageRequest) Reset()
func (*LogMessageRequest) String ¶
func (x *LogMessageRequest) String() string
type LogTraceRequest ¶
type LogTraceRequest struct { // The message to be logged. Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // Optional. Additional information that can be computed if the `trace` configuration is set to // `'verbose'`. Verbose *wrappers.StringValue `protobuf:"bytes,2,opt,name=verbose,proto3" json:"verbose,omitempty"` // contains filtered or unexported fields }
LogTraceRequest represents a `$/logTrace` notification params.
func (*LogTraceRequest) Descriptor
deprecated
func (*LogTraceRequest) Descriptor() ([]byte, []int)
Deprecated: Use LogTraceRequest.ProtoReflect.Descriptor instead.
func (*LogTraceRequest) GetMessage ¶
func (x *LogTraceRequest) GetMessage() string
func (*LogTraceRequest) GetVerbose ¶
func (x *LogTraceRequest) GetVerbose() *wrappers.StringValue
func (*LogTraceRequest) ProtoMessage ¶
func (*LogTraceRequest) ProtoMessage()
func (*LogTraceRequest) ProtoReflect ¶
func (x *LogTraceRequest) ProtoReflect() protoreflect.Message
func (*LogTraceRequest) Reset ¶
func (x *LogTraceRequest) Reset()
func (*LogTraceRequest) String ¶
func (x *LogTraceRequest) String() string
type MarkedString
deprecated
type MarkedString struct { // Types that are assignable to MarkedString: // *MarkedString_Text // *MarkedString_CodeBlock_ MarkedString isMarkedString_MarkedString `protobuf_oneof:"marked_string"` // contains filtered or unexported fields }
MarkedString can be used to render human readable text. It is either a markdown string or a code-block that provides a language and a code snippet. The language identifier is semantically equal to the optional language identifier in fenced code blocks in GitHub issues. See https://help.github.com/articles/creating-and-highlighting-code-blocks/#syntax-highlighting
The pair of a language and a value is an equivalent to markdown:
```${language} ${value} ```
Note that markdown strings will be sanitized - that means html will be escaped.
Deprecated: use MarkupContent instead.
func (*MarkedString) Descriptor
deprecated
func (*MarkedString) Descriptor() ([]byte, []int)
Deprecated: Use MarkedString.ProtoReflect.Descriptor instead.
func (*MarkedString) GetCodeBlock ¶
func (x *MarkedString) GetCodeBlock() *MarkedString_CodeBlock
func (*MarkedString) GetMarkedString ¶
func (m *MarkedString) GetMarkedString() isMarkedString_MarkedString
func (*MarkedString) GetText ¶
func (x *MarkedString) GetText() string
func (*MarkedString) ProtoMessage ¶
func (*MarkedString) ProtoMessage()
func (*MarkedString) ProtoReflect ¶
func (x *MarkedString) ProtoReflect() protoreflect.Message
func (*MarkedString) Reset ¶
func (x *MarkedString) Reset()
func (*MarkedString) String ¶
func (x *MarkedString) String() string
type MarkedString_CodeBlock ¶
type MarkedString_CodeBlock struct { // (-- api-linter: core::0143::standardized-codes=disabled --) Language string `protobuf:"bytes,1,opt,name=language,proto3" json:"language,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*MarkedString_CodeBlock) Descriptor
deprecated
func (*MarkedString_CodeBlock) Descriptor() ([]byte, []int)
Deprecated: Use MarkedString_CodeBlock.ProtoReflect.Descriptor instead.
func (*MarkedString_CodeBlock) GetLanguage ¶
func (x *MarkedString_CodeBlock) GetLanguage() string
func (*MarkedString_CodeBlock) GetValue ¶
func (x *MarkedString_CodeBlock) GetValue() string
func (*MarkedString_CodeBlock) ProtoMessage ¶
func (*MarkedString_CodeBlock) ProtoMessage()
func (*MarkedString_CodeBlock) ProtoReflect ¶
func (x *MarkedString_CodeBlock) ProtoReflect() protoreflect.Message
func (*MarkedString_CodeBlock) Reset ¶
func (x *MarkedString_CodeBlock) Reset()
func (*MarkedString_CodeBlock) String ¶
func (x *MarkedString_CodeBlock) String() string
type MarkedString_CodeBlock_ ¶
type MarkedString_CodeBlock_ struct {
CodeBlock *MarkedString_CodeBlock `protobuf:"bytes,2,opt,name=code_block,json=codeBlock,proto3,oneof"`
}
type MarkedString_Text ¶
type MarkedString_Text struct {
Text string `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
}
type MessageActionItem ¶
type MessageActionItem struct { // A short title like 'Retry', 'Open Log' etc. Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // contains filtered or unexported fields }
MessageActionItem is the message action items to present.
func (*MessageActionItem) Descriptor
deprecated
func (*MessageActionItem) Descriptor() ([]byte, []int)
Deprecated: Use MessageActionItem.ProtoReflect.Descriptor instead.
func (*MessageActionItem) GetTitle ¶
func (x *MessageActionItem) GetTitle() string
func (*MessageActionItem) ProtoMessage ¶
func (*MessageActionItem) ProtoMessage()
func (*MessageActionItem) ProtoReflect ¶
func (x *MessageActionItem) ProtoReflect() protoreflect.Message
func (*MessageActionItem) Reset ¶
func (x *MessageActionItem) Reset()
func (*MessageActionItem) String ¶
func (x *MessageActionItem) String() string
type MessageType ¶
type MessageType int32
MessageType represents a ShowMessage and ShowMessageRequestRequest message type.
const ( // Conventional default for enums. Do not use this. MessageType_MESSAGE_TYPE_UNSPECIFIED MessageType = 0 // An error message. MessageType_ERROR MessageType = 1 // A warning message. MessageType_WARNING MessageType = 2 // An information message. MessageType_INFO MessageType = 3 // A log message. MessageType_LOG MessageType = 4 )
func (MessageType) Descriptor ¶
func (MessageType) Descriptor() protoreflect.EnumDescriptor
func (MessageType) Enum ¶
func (x MessageType) Enum() *MessageType
func (MessageType) EnumDescriptor
deprecated
func (MessageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use MessageType.Descriptor instead.
func (MessageType) Number ¶
func (x MessageType) Number() protoreflect.EnumNumber
func (MessageType) String ¶
func (x MessageType) String() string
func (MessageType) Type ¶
func (MessageType) Type() protoreflect.EnumType
type ParameterInformation ¶
type ParameterInformation struct { // The label of this parameter information. // // Either a string or an inclusive start and exclusive end offsets within its containing // signature label. (see SignatureInformation.label). The offsets are based on a UTF-16 // string representation as `Position` and `Range` does. // // NOTE: a label of type string should be a substring of its containing signature label. // Its intended use case is to highlight the parameter label part in the // `SignatureInformation.label`. // // Types that are assignable to Label: // *ParameterInformation_Name // *ParameterInformation_Offset_ Label isParameterInformation_Label `protobuf_oneof:"label"` // The human-readable doc-comment of this parameter. Will be shown // in the UI but can be omitted. // // Types that are assignable to Documentation: // *ParameterInformation_Markup // *ParameterInformation_MarkupContent Documentation isParameterInformation_Documentation `protobuf_oneof:"documentation"` // contains filtered or unexported fields }
ParameterInformation represents a parameter of a callable-signature. A parameter can have a label and a doc-comment. (-- api-linter: core::0123::resource-annotation=disabled --)
func (*ParameterInformation) Descriptor
deprecated
func (*ParameterInformation) Descriptor() ([]byte, []int)
Deprecated: Use ParameterInformation.ProtoReflect.Descriptor instead.
func (*ParameterInformation) GetDocumentation ¶
func (m *ParameterInformation) GetDocumentation() isParameterInformation_Documentation
func (*ParameterInformation) GetLabel ¶
func (m *ParameterInformation) GetLabel() isParameterInformation_Label
func (*ParameterInformation) GetMarkup ¶
func (x *ParameterInformation) GetMarkup() string
func (*ParameterInformation) GetMarkupContent ¶
func (x *ParameterInformation) GetMarkupContent() *protocol.MarkupContent
func (*ParameterInformation) GetName ¶
func (x *ParameterInformation) GetName() string
func (*ParameterInformation) GetOffset ¶
func (x *ParameterInformation) GetOffset() *ParameterInformation_Offset
func (*ParameterInformation) ProtoMessage ¶
func (*ParameterInformation) ProtoMessage()
func (*ParameterInformation) ProtoReflect ¶
func (x *ParameterInformation) ProtoReflect() protoreflect.Message
func (*ParameterInformation) Reset ¶
func (x *ParameterInformation) Reset()
func (*ParameterInformation) String ¶
func (x *ParameterInformation) String() string
type ParameterInformation_Markup ¶
type ParameterInformation_Markup struct {
Markup string `protobuf:"bytes,3,opt,name=markup,proto3,oneof"`
}
type ParameterInformation_MarkupContent ¶
type ParameterInformation_MarkupContent struct {
MarkupContent *protocol.MarkupContent `protobuf:"bytes,4,opt,name=markup_content,json=markupContent,proto3,oneof"`
}
type ParameterInformation_Name ¶
type ParameterInformation_Name struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3,oneof"`
}
type ParameterInformation_Offset ¶
type ParameterInformation_Offset struct { Start int32 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"` End int32 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` // contains filtered or unexported fields }
func (*ParameterInformation_Offset) Descriptor
deprecated
func (*ParameterInformation_Offset) Descriptor() ([]byte, []int)
Deprecated: Use ParameterInformation_Offset.ProtoReflect.Descriptor instead.
func (*ParameterInformation_Offset) GetEnd ¶
func (x *ParameterInformation_Offset) GetEnd() int32
func (*ParameterInformation_Offset) GetStart ¶
func (x *ParameterInformation_Offset) GetStart() int32
func (*ParameterInformation_Offset) ProtoMessage ¶
func (*ParameterInformation_Offset) ProtoMessage()
func (*ParameterInformation_Offset) ProtoReflect ¶
func (x *ParameterInformation_Offset) ProtoReflect() protoreflect.Message
func (*ParameterInformation_Offset) Reset ¶
func (x *ParameterInformation_Offset) Reset()
func (*ParameterInformation_Offset) String ¶
func (x *ParameterInformation_Offset) String() string
type ParameterInformation_Offset_ ¶
type ParameterInformation_Offset_ struct {
Offset *ParameterInformation_Offset `protobuf:"bytes,2,opt,name=offset,proto3,oneof"`
}
type PartialResultParams ¶
type PartialResultParams struct { // An optional token that a server can use to report partial results (e.g. streaming) to // the client. PartialResultToken int32 `protobuf:"varint,1,opt,name=partial_result_token,json=partialResultToken,proto3" json:"partial_result_token,omitempty"` // contains filtered or unexported fields }
PartialResultParams a parameter literal used to pass a partial result token.
func (*PartialResultParams) Descriptor
deprecated
func (*PartialResultParams) Descriptor() ([]byte, []int)
Deprecated: Use PartialResultParams.ProtoReflect.Descriptor instead.
func (*PartialResultParams) GetPartialResultToken ¶
func (x *PartialResultParams) GetPartialResultToken() int32
func (*PartialResultParams) ProtoMessage ¶
func (*PartialResultParams) ProtoMessage()
func (*PartialResultParams) ProtoReflect ¶
func (x *PartialResultParams) ProtoReflect() protoreflect.Message
func (*PartialResultParams) Reset ¶
func (x *PartialResultParams) Reset()
func (*PartialResultParams) String ¶
func (x *PartialResultParams) String() string
type PrepareRenameRequest ¶
type PrepareRenameRequest struct { // extends TextDocumentPositionParams *protocol.TextDocumentPositionParams `` /* 143-byte string literal not displayed */ // contains filtered or unexported fields }
PrepareRenameRequest is the parameters of a `textDocument/prepareRename` request.
func (*PrepareRenameRequest) Descriptor
deprecated
func (*PrepareRenameRequest) Descriptor() ([]byte, []int)
Deprecated: Use PrepareRenameRequest.ProtoReflect.Descriptor instead.
func (*PrepareRenameRequest) GetTextDocumentPositionParams ¶
func (x *PrepareRenameRequest) GetTextDocumentPositionParams() *protocol.TextDocumentPositionParams
func (*PrepareRenameRequest) ProtoMessage ¶
func (*PrepareRenameRequest) ProtoMessage()
func (*PrepareRenameRequest) ProtoReflect ¶
func (x *PrepareRenameRequest) ProtoReflect() protoreflect.Message
func (*PrepareRenameRequest) Reset ¶
func (x *PrepareRenameRequest) Reset()
func (*PrepareRenameRequest) String ¶
func (x *PrepareRenameRequest) String() string
type PrepareRenameResponse ¶
type PrepareRenameResponse struct { // Types that are assignable to PrepareRenameResponse: // *PrepareRenameResponse_Range // *PrepareRenameResponse_Result_ // *PrepareRenameResponse_Empty // *PrepareRenameResponse_Error PrepareRenameResponse isPrepareRenameResponse_PrepareRenameResponse `protobuf_oneof:"prepare_rename_response"` // contains filtered or unexported fields }
PrepareRenameResponse represents a PrepareRename response.
func (*PrepareRenameResponse) Descriptor
deprecated
func (*PrepareRenameResponse) Descriptor() ([]byte, []int)
Deprecated: Use PrepareRenameResponse.ProtoReflect.Descriptor instead.
func (*PrepareRenameResponse) GetEmpty ¶
func (x *PrepareRenameResponse) GetEmpty() _struct.NullValue
func (*PrepareRenameResponse) GetError ¶
func (x *PrepareRenameResponse) GetError() *protocol.Error
func (*PrepareRenameResponse) GetPrepareRenameResponse ¶
func (m *PrepareRenameResponse) GetPrepareRenameResponse() isPrepareRenameResponse_PrepareRenameResponse
func (*PrepareRenameResponse) GetRange ¶
func (x *PrepareRenameResponse) GetRange() *protocol.Range
func (*PrepareRenameResponse) GetResult ¶
func (x *PrepareRenameResponse) GetResult() *PrepareRenameResponse_Result
func (*PrepareRenameResponse) ProtoMessage ¶
func (*PrepareRenameResponse) ProtoMessage()
func (*PrepareRenameResponse) ProtoReflect ¶
func (x *PrepareRenameResponse) ProtoReflect() protoreflect.Message
func (*PrepareRenameResponse) Reset ¶
func (x *PrepareRenameResponse) Reset()
func (*PrepareRenameResponse) String ¶
func (x *PrepareRenameResponse) String() string
type PrepareRenameResponse_Result ¶
type PrepareRenameResponse_Result struct { Range *protocol.Range `protobuf:"bytes,1,opt,name=range,proto3" json:"range,omitempty"` PlaceHolder string `protobuf:"bytes,2,opt,name=place_holder,json=placeHolder,proto3" json:"place_holder,omitempty"` // contains filtered or unexported fields }
func (*PrepareRenameResponse_Result) Descriptor
deprecated
func (*PrepareRenameResponse_Result) Descriptor() ([]byte, []int)
Deprecated: Use PrepareRenameResponse_Result.ProtoReflect.Descriptor instead.
func (*PrepareRenameResponse_Result) GetPlaceHolder ¶
func (x *PrepareRenameResponse_Result) GetPlaceHolder() string
func (*PrepareRenameResponse_Result) GetRange ¶
func (x *PrepareRenameResponse_Result) GetRange() *protocol.Range
func (*PrepareRenameResponse_Result) ProtoMessage ¶
func (*PrepareRenameResponse_Result) ProtoMessage()
func (*PrepareRenameResponse_Result) ProtoReflect ¶
func (x *PrepareRenameResponse_Result) ProtoReflect() protoreflect.Message
func (*PrepareRenameResponse_Result) Reset ¶
func (x *PrepareRenameResponse_Result) Reset()
func (*PrepareRenameResponse_Result) String ¶
func (x *PrepareRenameResponse_Result) String() string
type PrepareRenameResponse_Result_ ¶
type PrepareRenameResponse_Result_ struct {
Result *PrepareRenameResponse_Result `protobuf:"bytes,2,opt,name=result,proto3,oneof"`
}
type ProgressRequest ¶
type ProgressRequest struct { // Required. The progress token provided by the client or server. Token *ProgressToken `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // Required. The progress data. Value *any.Any `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
ProgressRequest represents a progress notification params.
@since 3.15.0
func (*ProgressRequest) Descriptor
deprecated
func (*ProgressRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProgressRequest.ProtoReflect.Descriptor instead.
func (*ProgressRequest) GetToken ¶
func (x *ProgressRequest) GetToken() *ProgressToken
func (*ProgressRequest) GetValue ¶
func (x *ProgressRequest) GetValue() *any.Any
func (*ProgressRequest) ProtoMessage ¶
func (*ProgressRequest) ProtoMessage()
func (*ProgressRequest) ProtoReflect ¶
func (x *ProgressRequest) ProtoReflect() protoreflect.Message
func (*ProgressRequest) Reset ¶
func (x *ProgressRequest) Reset()
func (*ProgressRequest) String ¶
func (x *ProgressRequest) String() string
type ProgressToken ¶
type ProgressToken struct { // Required. Token int32 `protobuf:"varint,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
ProgressToken is the report progress token.
func (*ProgressToken) Descriptor
deprecated
func (*ProgressToken) Descriptor() ([]byte, []int)
Deprecated: Use ProgressToken.ProtoReflect.Descriptor instead.
func (*ProgressToken) GetToken ¶
func (x *ProgressToken) GetToken() int32
func (*ProgressToken) ProtoMessage ¶
func (*ProgressToken) ProtoMessage()
func (*ProgressToken) ProtoReflect ¶
func (x *ProgressToken) ProtoReflect() protoreflect.Message
func (*ProgressToken) Reset ¶
func (x *ProgressToken) Reset()
func (*ProgressToken) String ¶
func (x *ProgressToken) String() string
type PublishDiagnosticsClientCapabilities ¶
type PublishDiagnosticsClientCapabilities struct { // Optional. Whether the clients accepts diagnostics with related information. RelatedInformation bool `protobuf:"varint,1,opt,name=related_information,json=relatedInformation,proto3" json:"related_information,omitempty"` // Client supports the tag property to provide meta data about a diagnostic. // Clients supporting tags have to handle unknown tags gracefully. // // @since 3.15.0 TagSupport *PublishDiagnosticsClientCapabilities_TagSupport `protobuf:"bytes,3,opt,name=tag_support,json=tagSupport,proto3" json:"tag_support,omitempty"` // Optional. Whether the client interprets the version property of the // `textDocument/publishDiagnostics` notification's parameter. // // @since 3.15.0 VersionSupport bool `protobuf:"varint,4,opt,name=version_support,json=versionSupport,proto3" json:"version_support,omitempty"` // contains filtered or unexported fields }
PublishDiagnosticsClientCapabilities represents a client capabilities of `textDocument/publishDiagnostics` notification.
func (*PublishDiagnosticsClientCapabilities) Descriptor
deprecated
func (*PublishDiagnosticsClientCapabilities) Descriptor() ([]byte, []int)
Deprecated: Use PublishDiagnosticsClientCapabilities.ProtoReflect.Descriptor instead.
func (*PublishDiagnosticsClientCapabilities) GetRelatedInformation ¶
func (x *PublishDiagnosticsClientCapabilities) GetRelatedInformation() bool
func (*PublishDiagnosticsClientCapabilities) GetTagSupport ¶
func (x *PublishDiagnosticsClientCapabilities) GetTagSupport() *PublishDiagnosticsClientCapabilities_TagSupport
func (*PublishDiagnosticsClientCapabilities) GetVersionSupport ¶
func (x *PublishDiagnosticsClientCapabilities) GetVersionSupport() bool
func (*PublishDiagnosticsClientCapabilities) ProtoMessage ¶
func (*PublishDiagnosticsClientCapabilities) ProtoMessage()
func (*PublishDiagnosticsClientCapabilities) ProtoReflect ¶
func (x *PublishDiagnosticsClientCapabilities) ProtoReflect() protoreflect.Message
func (*PublishDiagnosticsClientCapabilities) Reset ¶
func (x *PublishDiagnosticsClientCapabilities) Reset()
func (*PublishDiagnosticsClientCapabilities) String ¶
func (x *PublishDiagnosticsClientCapabilities) String() string
type PublishDiagnosticsClientCapabilities_TagSupport ¶
type PublishDiagnosticsClientCapabilities_TagSupport struct { // The tags supported by the client. ValueSet []protocol.DiagnosticTag `protobuf:"varint,2,rep,packed,name=value_set,json=valueSet,proto3,enum=protocol.DiagnosticTag" json:"value_set,omitempty"` // contains filtered or unexported fields }
func (*PublishDiagnosticsClientCapabilities_TagSupport) Descriptor
deprecated
func (*PublishDiagnosticsClientCapabilities_TagSupport) Descriptor() ([]byte, []int)
Deprecated: Use PublishDiagnosticsClientCapabilities_TagSupport.ProtoReflect.Descriptor instead.
func (*PublishDiagnosticsClientCapabilities_TagSupport) GetValueSet ¶
func (x *PublishDiagnosticsClientCapabilities_TagSupport) GetValueSet() []protocol.DiagnosticTag
func (*PublishDiagnosticsClientCapabilities_TagSupport) ProtoMessage ¶
func (*PublishDiagnosticsClientCapabilities_TagSupport) ProtoMessage()
func (*PublishDiagnosticsClientCapabilities_TagSupport) ProtoReflect ¶
func (x *PublishDiagnosticsClientCapabilities_TagSupport) ProtoReflect() protoreflect.Message
func (*PublishDiagnosticsClientCapabilities_TagSupport) Reset ¶
func (x *PublishDiagnosticsClientCapabilities_TagSupport) Reset()
func (*PublishDiagnosticsClientCapabilities_TagSupport) String ¶
func (x *PublishDiagnosticsClientCapabilities_TagSupport) String() string
type PublishDiagnosticsRequest ¶
type PublishDiagnosticsRequest struct { // The URI for which diagnostic information is reported. Uri *uri.DocumentURI `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` // Optional the version number of the document the diagnostics are published for. // // @since 3.15.0 Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` // An array of diagnostic information items. Diagnostics []*protocol.Diagnostic `protobuf:"bytes,3,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` // contains filtered or unexported fields }
PublishDiagnosticsRequest is the parameters of a `textDocument/publishDiagnostics` notification.
func (*PublishDiagnosticsRequest) Descriptor
deprecated
func (*PublishDiagnosticsRequest) Descriptor() ([]byte, []int)
Deprecated: Use PublishDiagnosticsRequest.ProtoReflect.Descriptor instead.
func (*PublishDiagnosticsRequest) GetDiagnostics ¶
func (x *PublishDiagnosticsRequest) GetDiagnostics() []*protocol.Diagnostic
func (*PublishDiagnosticsRequest) GetUri ¶
func (x *PublishDiagnosticsRequest) GetUri() *uri.DocumentURI
func (*PublishDiagnosticsRequest) GetVersion ¶
func (x *PublishDiagnosticsRequest) GetVersion() int32
func (*PublishDiagnosticsRequest) ProtoMessage ¶
func (*PublishDiagnosticsRequest) ProtoMessage()
func (*PublishDiagnosticsRequest) ProtoReflect ¶
func (x *PublishDiagnosticsRequest) ProtoReflect() protoreflect.Message
func (*PublishDiagnosticsRequest) Reset ¶
func (x *PublishDiagnosticsRequest) Reset()
func (*PublishDiagnosticsRequest) String ¶
func (x *PublishDiagnosticsRequest) String() string
type ReferenceClientCapabilities ¶
type ReferenceClientCapabilities struct { // Optional. Whether references supports dynamic registration. DynamicRegistration bool `protobuf:"varint,1,opt,name=dynamic_registration,json=dynamicRegistration,proto3" json:"dynamic_registration,omitempty"` // contains filtered or unexported fields }
ImplementationClientCapabilities represents a client capabilities of `textDocument/references` request.
func (*ReferenceClientCapabilities) Descriptor
deprecated
func (*ReferenceClientCapabilities) Descriptor() ([]byte, []int)
Deprecated: Use ReferenceClientCapabilities.ProtoReflect.Descriptor instead.
func (*ReferenceClientCapabilities) GetDynamicRegistration ¶
func (x *ReferenceClientCapabilities) GetDynamicRegistration() bool
func (*ReferenceClientCapabilities) ProtoMessage ¶
func (*ReferenceClientCapabilities) ProtoMessage()
func (*ReferenceClientCapabilities) ProtoReflect ¶
func (x *ReferenceClientCapabilities) ProtoReflect() protoreflect.Message
func (*ReferenceClientCapabilities) Reset ¶
func (x *ReferenceClientCapabilities) Reset()
func (*ReferenceClientCapabilities) String ¶
func (x *ReferenceClientCapabilities) String() string
type ReferenceContext ¶
type ReferenceContext struct { // Include the declaration of the current symbol. IncludeDeclaration bool `protobuf:"varint,1,opt,name=include_declaration,json=includeDeclaration,proto3" json:"include_declaration,omitempty"` // contains filtered or unexported fields }
ReferenceContext whether the references supports include the declaration
func (*ReferenceContext) Descriptor
deprecated
func (*ReferenceContext) Descriptor() ([]byte, []int)
Deprecated: Use ReferenceContext.ProtoReflect.Descriptor instead.
func (*ReferenceContext) GetIncludeDeclaration ¶
func (x *ReferenceContext) GetIncludeDeclaration() bool
func (*ReferenceContext) ProtoMessage ¶
func (*ReferenceContext) ProtoMessage()
func (*ReferenceContext) ProtoReflect ¶
func (x *ReferenceContext) ProtoReflect() protoreflect.Message
func (*ReferenceContext) Reset ¶
func (x *ReferenceContext) Reset()
func (*ReferenceContext) String ¶
func (x *ReferenceContext) String() string
type ReferenceOptions ¶
type ReferenceOptions struct { // extends WorkDoneProgressOptions *protocol.WorkDoneProgressOptions `` /* 134-byte string literal not displayed */ // contains filtered or unexported fields }
ReferenceOptions represents a server capabilities option of referenceProvider.
func (*ReferenceOptions) Descriptor
deprecated
func (*ReferenceOptions) Descriptor() ([]byte, []int)
Deprecated: Use ReferenceOptions.ProtoReflect.Descriptor instead.
func (*ReferenceOptions) GetWorkDoneProgressOptions ¶
func (x *ReferenceOptions) GetWorkDoneProgressOptions() *protocol.WorkDoneProgressOptions
func (*ReferenceOptions) ProtoMessage ¶
func (*ReferenceOptions) ProtoMessage()
func (*ReferenceOptions) ProtoReflect ¶
func (x *ReferenceOptions) ProtoReflect() protoreflect.Message
func (*ReferenceOptions) Reset ¶
func (x *ReferenceOptions) Reset()
func (*ReferenceOptions) String ¶
func (x *ReferenceOptions) String() string
type ReferenceRegistrationOptions ¶
type ReferenceRegistrationOptions struct { // extends TextDocumentRegistrationOptions *protocol.TextDocumentRegistrationOptions `` /* 158-byte string literal not displayed */ // extends ReferenceOptions *ReferenceOptions `protobuf:"bytes,2,opt,name=reference_options,json=referenceOptions,proto3" json:"reference_options,omitempty"` // contains filtered or unexported fields }
ReferenceRegistrationOptions represents a registration option of Reference.
func (*ReferenceRegistrationOptions) Descriptor
deprecated
func (*ReferenceRegistrationOptions) Descriptor() ([]byte, []int)
Deprecated: Use ReferenceRegistrationOptions.ProtoReflect.Descriptor instead.
func (*ReferenceRegistrationOptions) GetReferenceOptions ¶
func (x *ReferenceRegistrationOptions) GetReferenceOptions() *ReferenceOptions
func (*ReferenceRegistrationOptions) GetTextDocumentRegistrationOptions ¶
func (x *ReferenceRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
func (*ReferenceRegistrationOptions) ProtoMessage ¶
func (*ReferenceRegistrationOptions) ProtoMessage()
func (*ReferenceRegistrationOptions) ProtoReflect ¶
func (x *ReferenceRegistrationOptions) ProtoReflect() protoreflect.Message
func (*ReferenceRegistrationOptions) Reset ¶
func (x *ReferenceRegistrationOptions) Reset()
func (*ReferenceRegistrationOptions) String ¶
func (x *ReferenceRegistrationOptions) String() string
type ReferenceRequest ¶
type ReferenceRequest struct { // extends TextDocumentPositionParams *protocol.TextDocumentPositionParams `` /* 143-byte string literal not displayed */ // extends WorkDoneProgressParams *WorkDoneProgressParams `` /* 131-byte string literal not displayed */ // extends PartialResultParams *PartialResultParams `protobuf:"bytes,3,opt,name=partial_result_params,json=partialResultParams,proto3" json:"partial_result_params,omitempty"` Context *ReferenceContext `protobuf:"bytes,4,opt,name=context,proto3" json:"context,omitempty"` // contains filtered or unexported fields }
ReferenceRequest is the parameters of a `textDocument/references` request.
func (*ReferenceRequest) Descriptor
deprecated
func (*ReferenceRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReferenceRequest.ProtoReflect.Descriptor instead.
func (*ReferenceRequest) GetContext ¶
func (x *ReferenceRequest) GetContext() *ReferenceContext
func (*ReferenceRequest) GetPartialResultParams ¶
func (x *ReferenceRequest) GetPartialResultParams() *PartialResultParams
func (*ReferenceRequest) GetTextDocumentPositionParams ¶
func (x *ReferenceRequest) GetTextDocumentPositionParams() *protocol.TextDocumentPositionParams
func (*ReferenceRequest) GetWorkDoneProgressParams ¶
func (x *ReferenceRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
func (*ReferenceRequest) ProtoMessage ¶
func (*ReferenceRequest) ProtoMessage()
func (*ReferenceRequest) ProtoReflect ¶
func (x *ReferenceRequest) ProtoReflect() protoreflect.Message
func (*ReferenceRequest) Reset ¶
func (x *ReferenceRequest) Reset()
func (*ReferenceRequest) String ¶
func (x *ReferenceRequest) String() string
type ReferenceResponse ¶
type ReferenceResponse struct { // Types that are assignable to ReferenceResponse: // *ReferenceResponse_Result_ // *ReferenceResponse_PartialResult_ // *ReferenceResponse_Error ReferenceResponse isReferenceResponse_ReferenceResponse `protobuf_oneof:"reference_response"` // contains filtered or unexported fields }
ReferenceResponse represents a Reference response.
func (*ReferenceResponse) Descriptor
deprecated
func (*ReferenceResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReferenceResponse.ProtoReflect.Descriptor instead.
func (*ReferenceResponse) GetError ¶
func (x *ReferenceResponse) GetError() *protocol.Error
func (*ReferenceResponse) GetPartialResult ¶
func (x *ReferenceResponse) GetPartialResult() *ReferenceResponse_PartialResult
func (*ReferenceResponse) GetReferenceResponse ¶
func (m *ReferenceResponse) GetReferenceResponse() isReferenceResponse_ReferenceResponse
func (*ReferenceResponse) GetResult ¶
func (x *ReferenceResponse) GetResult() *ReferenceResponse_Result
func (*ReferenceResponse) ProtoMessage ¶
func (*ReferenceResponse) ProtoMessage()
func (*ReferenceResponse) ProtoReflect ¶
func (x *ReferenceResponse) ProtoReflect() protoreflect.Message
func (*ReferenceResponse) Reset ¶
func (x *ReferenceResponse) Reset()
func (*ReferenceResponse) String ¶
func (x *ReferenceResponse) String() string
type ReferenceResponse_Error ¶
type ReferenceResponse_PartialResult ¶
type ReferenceResponse_PartialResult struct { Locations *Locations `protobuf:"bytes,1,opt,name=locations,proto3" json:"locations,omitempty"` // contains filtered or unexported fields }
func (*ReferenceResponse_PartialResult) Descriptor
deprecated
func (*ReferenceResponse_PartialResult) Descriptor() ([]byte, []int)
Deprecated: Use ReferenceResponse_PartialResult.ProtoReflect.Descriptor instead.
func (*ReferenceResponse_PartialResult) GetLocations ¶
func (x *ReferenceResponse_PartialResult) GetLocations() *Locations
func (*ReferenceResponse_PartialResult) ProtoMessage ¶
func (*ReferenceResponse_PartialResult) ProtoMessage()
func (*ReferenceResponse_PartialResult) ProtoReflect ¶
func (x *ReferenceResponse_PartialResult) ProtoReflect() protoreflect.Message
func (*ReferenceResponse_PartialResult) Reset ¶
func (x *ReferenceResponse_PartialResult) Reset()
func (*ReferenceResponse_PartialResult) String ¶
func (x *ReferenceResponse_PartialResult) String() string
type ReferenceResponse_PartialResult_ ¶
type ReferenceResponse_PartialResult_ struct {
PartialResult *ReferenceResponse_PartialResult `protobuf:"bytes,2,opt,name=partial_result,json=partialResult,proto3,oneof"`
}
type ReferenceResponse_Result ¶
type ReferenceResponse_Result struct { Locations *Locations `protobuf:"bytes,1,opt,name=locations,proto3" json:"locations,omitempty"` Empty _struct.NullValue `protobuf:"varint,2,opt,name=empty,proto3,enum=google.protobuf.NullValue" json:"empty,omitempty"` // contains filtered or unexported fields }
func (*ReferenceResponse_Result) Descriptor
deprecated
func (*ReferenceResponse_Result) Descriptor() ([]byte, []int)
Deprecated: Use ReferenceResponse_Result.ProtoReflect.Descriptor instead.
func (*ReferenceResponse_Result) GetEmpty ¶
func (x *ReferenceResponse_Result) GetEmpty() _struct.NullValue
func (*ReferenceResponse_Result) GetLocations ¶
func (x *ReferenceResponse_Result) GetLocations() *Locations
func (*ReferenceResponse_Result) ProtoMessage ¶
func (*ReferenceResponse_Result) ProtoMessage()
func (*ReferenceResponse_Result) ProtoReflect ¶
func (x *ReferenceResponse_Result) ProtoReflect() protoreflect.Message
func (*ReferenceResponse_Result) Reset ¶
func (x *ReferenceResponse_Result) Reset()
func (*ReferenceResponse_Result) String ¶
func (x *ReferenceResponse_Result) String() string
type ReferenceResponse_Result_ ¶
type ReferenceResponse_Result_ struct {
Result *ReferenceResponse_Result `protobuf:"bytes,1,opt,name=result,proto3,oneof"`
}
type Registration ¶
type Registration struct { // The id used to register the request. The id can be used to deregister // the request again. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The method / capability to register for. Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"` // Options necessary for the registration. RegisterOptions *any.Any `protobuf:"bytes,3,opt,name=register_options,json=registerOptions,proto3" json:"register_options,omitempty"` // contains filtered or unexported fields }
Registration is the general parameters to register for a capability.
func (*Registration) Descriptor
deprecated
func (*Registration) Descriptor() ([]byte, []int)
Deprecated: Use Registration.ProtoReflect.Descriptor instead.
func (*Registration) GetId ¶
func (x *Registration) GetId() string
func (*Registration) GetMethod ¶
func (x *Registration) GetMethod() string
func (*Registration) GetRegisterOptions ¶
func (x *Registration) GetRegisterOptions() *any.Any
func (*Registration) ProtoMessage ¶
func (*Registration) ProtoMessage()
func (*Registration) ProtoReflect ¶
func (x *Registration) ProtoReflect() protoreflect.Message
func (*Registration) Reset ¶
func (x *Registration) Reset()
func (*Registration) String ¶
func (x *Registration) String() string
type RegistrationParams ¶
type RegistrationParams struct { Registrations []*Registration `protobuf:"bytes,1,rep,name=registrations,proto3" json:"registrations,omitempty"` // contains filtered or unexported fields }
RegistrationParams represents a `client/registerCapability` request params.
func (*RegistrationParams) Descriptor
deprecated
func (*RegistrationParams) Descriptor() ([]byte, []int)
Deprecated: Use RegistrationParams.ProtoReflect.Descriptor instead.
func (*RegistrationParams) GetRegistrations ¶
func (x *RegistrationParams) GetRegistrations() []*Registration
func (*RegistrationParams) ProtoMessage ¶
func (*RegistrationParams) ProtoMessage()
func (*RegistrationParams) ProtoReflect ¶
func (x *RegistrationParams) ProtoReflect() protoreflect.Message
func (*RegistrationParams) Reset ¶
func (x *RegistrationParams) Reset()
func (*RegistrationParams) String ¶
func (x *RegistrationParams) String() string
type RenameClientCapabilities ¶
type RenameClientCapabilities struct { // Optional. Whether rename supports dynamic registration. DynamicRegistration bool `protobuf:"varint,1,opt,name=dynamic_registration,json=dynamicRegistration,proto3" json:"dynamic_registration,omitempty"` // Optional. Client supports testing for validity of rename operations // before execution. // // @since version 3.12.0 PrepareSupport bool `protobuf:"varint,2,opt,name=prepare_support,json=prepareSupport,proto3" json:"prepare_support,omitempty"` // contains filtered or unexported fields }
RenameClientCapabilities represents a client capabilities of `textDocument/rename` request.
func (*RenameClientCapabilities) Descriptor
deprecated
func (*RenameClientCapabilities) Descriptor() ([]byte, []int)
Deprecated: Use RenameClientCapabilities.ProtoReflect.Descriptor instead.
func (*RenameClientCapabilities) GetDynamicRegistration ¶
func (x *RenameClientCapabilities) GetDynamicRegistration() bool
func (*RenameClientCapabilities) GetPrepareSupport ¶
func (x *RenameClientCapabilities) GetPrepareSupport() bool
func (*RenameClientCapabilities) ProtoMessage ¶
func (*RenameClientCapabilities) ProtoMessage()
func (*RenameClientCapabilities) ProtoReflect ¶
func (x *RenameClientCapabilities) ProtoReflect() protoreflect.Message
func (*RenameClientCapabilities) Reset ¶
func (x *RenameClientCapabilities) Reset()
func (*RenameClientCapabilities) String ¶
func (x *RenameClientCapabilities) String() string
type RenameOptions ¶
type RenameOptions struct { // extends WorkDoneProgressOptions *protocol.WorkDoneProgressOptions `` /* 134-byte string literal not displayed */ // Optional. Renames should be checked and tested before being executed. PrepareProvider bool `protobuf:"varint,2,opt,name=prepare_provider,json=prepareProvider,proto3" json:"prepare_provider,omitempty"` // contains filtered or unexported fields }
RenameOptions represents a server capabilities option of renameProvider.
func (*RenameOptions) Descriptor
deprecated
func (*RenameOptions) Descriptor() ([]byte, []int)
Deprecated: Use RenameOptions.ProtoReflect.Descriptor instead.
func (*RenameOptions) GetPrepareProvider ¶
func (x *RenameOptions) GetPrepareProvider() bool
func (*RenameOptions) GetWorkDoneProgressOptions ¶
func (x *RenameOptions) GetWorkDoneProgressOptions() *protocol.WorkDoneProgressOptions
func (*RenameOptions) ProtoMessage ¶
func (*RenameOptions) ProtoMessage()
func (*RenameOptions) ProtoReflect ¶
func (x *RenameOptions) ProtoReflect() protoreflect.Message
func (*RenameOptions) Reset ¶
func (x *RenameOptions) Reset()
func (*RenameOptions) String ¶
func (x *RenameOptions) String() string
type RenameRegistrationOptions ¶
type RenameRegistrationOptions struct { // extends TextDocumentRegistrationOptions *protocol.TextDocumentRegistrationOptions `` /* 158-byte string literal not displayed */ // extends RenameOptions *RenameOptions `protobuf:"bytes,2,opt,name=rename_options,json=renameOptions,proto3" json:"rename_options,omitempty"` // contains filtered or unexported fields }
RenameRegistrationOptions represents a registration option of Rename.
func (*RenameRegistrationOptions) Descriptor
deprecated
func (*RenameRegistrationOptions) Descriptor() ([]byte, []int)
Deprecated: Use RenameRegistrationOptions.ProtoReflect.Descriptor instead.
func (*RenameRegistrationOptions) GetRenameOptions ¶
func (x *RenameRegistrationOptions) GetRenameOptions() *RenameOptions
func (*RenameRegistrationOptions) GetTextDocumentRegistrationOptions ¶
func (x *RenameRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
func (*RenameRegistrationOptions) ProtoMessage ¶
func (*RenameRegistrationOptions) ProtoMessage()
func (*RenameRegistrationOptions) ProtoReflect ¶
func (x *RenameRegistrationOptions) ProtoReflect() protoreflect.Message
func (*RenameRegistrationOptions) Reset ¶
func (x *RenameRegistrationOptions) Reset()
func (*RenameRegistrationOptions) String ¶
func (x *RenameRegistrationOptions) String() string
type RenameRequest ¶
type RenameRequest struct { // extends TextDocumentPositionParams *protocol.TextDocumentPositionParams `` /* 143-byte string literal not displayed */ // extends WorkDoneProgressParams *WorkDoneProgressParams `` /* 131-byte string literal not displayed */ // The new name of the symbol. If the given name is not valid the // request must return a [ResponseError](#ResponseError) with an // appropriate message set. // // (-- api-linter: core::0122::name-suffix=disabled --) NewName string `protobuf:"bytes,3,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"` // contains filtered or unexported fields }
RenameRequest is the parameters of a `textDocument/rename` request.
func (*RenameRequest) Descriptor
deprecated
func (*RenameRequest) Descriptor() ([]byte, []int)
Deprecated: Use RenameRequest.ProtoReflect.Descriptor instead.
func (*RenameRequest) GetNewName ¶
func (x *RenameRequest) GetNewName() string
func (*RenameRequest) GetTextDocumentPositionParams ¶
func (x *RenameRequest) GetTextDocumentPositionParams() *protocol.TextDocumentPositionParams
func (*RenameRequest) GetWorkDoneProgressParams ¶
func (x *RenameRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
func (*RenameRequest) ProtoMessage ¶
func (*RenameRequest) ProtoMessage()
func (*RenameRequest) ProtoReflect ¶
func (x *RenameRequest) ProtoReflect() protoreflect.Message
func (*RenameRequest) Reset ¶
func (x *RenameRequest) Reset()
func (*RenameRequest) String ¶
func (x *RenameRequest) String() string
type RenameResponse ¶
type RenameResponse struct { // Types that are assignable to RenameResponse: // *RenameResponse_WorkspaceEdit // *RenameResponse_Empty // *RenameResponse_Error RenameResponse isRenameResponse_RenameResponse `protobuf_oneof:"rename_response"` // contains filtered or unexported fields }
RenameResponse represents a Rename response.
func (*RenameResponse) Descriptor
deprecated
func (*RenameResponse) Descriptor() ([]byte, []int)
Deprecated: Use RenameResponse.ProtoReflect.Descriptor instead.
func (*RenameResponse) GetEmpty ¶
func (x *RenameResponse) GetEmpty() _struct.NullValue
func (*RenameResponse) GetError ¶
func (x *RenameResponse) GetError() *protocol.Error
func (*RenameResponse) GetRenameResponse ¶
func (m *RenameResponse) GetRenameResponse() isRenameResponse_RenameResponse
func (*RenameResponse) GetWorkspaceEdit ¶
func (x *RenameResponse) GetWorkspaceEdit() *protocol.WorkspaceEdit
func (*RenameResponse) ProtoMessage ¶
func (*RenameResponse) ProtoMessage()
func (*RenameResponse) ProtoReflect ¶
func (x *RenameResponse) ProtoReflect() protoreflect.Message
func (*RenameResponse) Reset ¶
func (x *RenameResponse) Reset()
func (*RenameResponse) String ¶
func (x *RenameResponse) String() string
type RenameResponse_Empty ¶
type RenameResponse_Error ¶
type RenameResponse_WorkspaceEdit ¶
type RenameResponse_WorkspaceEdit struct {
WorkspaceEdit *protocol.WorkspaceEdit `protobuf:"bytes,1,opt,name=workspace_edit,json=workspaceEdit,proto3,oneof"`
}
type SaveOptions ¶
type SaveOptions struct { // Optional. The client is supposed to include the content on save. IncludeText bool `protobuf:"varint,1,opt,name=include_text,json=includeText,proto3" json:"include_text,omitempty"` // contains filtered or unexported fields }
SaveOptions represents a server capabilities option of textDocumentSync.save.
func (*SaveOptions) Descriptor
deprecated
func (*SaveOptions) Descriptor() ([]byte, []int)
Deprecated: Use SaveOptions.ProtoReflect.Descriptor instead.
func (*SaveOptions) GetIncludeText ¶
func (x *SaveOptions) GetIncludeText() bool
func (*SaveOptions) ProtoMessage ¶
func (*SaveOptions) ProtoMessage()
func (*SaveOptions) ProtoReflect ¶
func (x *SaveOptions) ProtoReflect() protoreflect.Message
func (*SaveOptions) Reset ¶
func (x *SaveOptions) Reset()
func (*SaveOptions) String ¶
func (x *SaveOptions) String() string
type SelectionRange ¶
type SelectionRange struct { // The [range][Range] of this selection range. Range *protocol.Range `protobuf:"bytes,1,opt,name=range,proto3" json:"range,omitempty"` // The parent selection range containing this range. Therefore `parent.range` must contain // `this.range`. Parent *SelectionRange `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"` // contains filtered or unexported fields }
SelectionRange represents a range of selection.
func (*SelectionRange) Descriptor
deprecated
func (*SelectionRange) Descriptor() ([]byte, []int)
Deprecated: Use SelectionRange.ProtoReflect.Descriptor instead.
func (*SelectionRange) GetParent ¶
func (x *SelectionRange) GetParent() *SelectionRange
func (*SelectionRange) GetRange ¶
func (x *SelectionRange) GetRange() *protocol.Range
func (*SelectionRange) ProtoMessage ¶
func (*SelectionRange) ProtoMessage()
func (*SelectionRange) ProtoReflect ¶
func (x *SelectionRange) ProtoReflect() protoreflect.Message
func (*SelectionRange) Reset ¶
func (x *SelectionRange) Reset()
func (*SelectionRange) String ¶
func (x *SelectionRange) String() string
type SelectionRangeClientCapabilities ¶
type SelectionRangeClientCapabilities struct { // Optional. Whether implementatirn supports dynamic registration for selection range providers. // If this is set to `true` the client supports the new `SelectionRangeRegistrationOptions` return // value for the corresponding server capability as well. DynamicRegistration bool `protobuf:"varint,1,opt,name=dynamic_registration,json=dynamicRegistration,proto3" json:"dynamic_registration,omitempty"` // contains filtered or unexported fields }
FoldingRangeClientCapabilities represents a client capabilities of `textDocument/selectionRange` request.
func (*SelectionRangeClientCapabilities) Descriptor
deprecated
func (*SelectionRangeClientCapabilities) Descriptor() ([]byte, []int)
Deprecated: Use SelectionRangeClientCapabilities.ProtoReflect.Descriptor instead.
func (*SelectionRangeClientCapabilities) GetDynamicRegistration ¶
func (x *SelectionRangeClientCapabilities) GetDynamicRegistration() bool
func (*SelectionRangeClientCapabilities) ProtoMessage ¶
func (*SelectionRangeClientCapabilities) ProtoMessage()
func (*SelectionRangeClientCapabilities) ProtoReflect ¶
func (x *SelectionRangeClientCapabilities) ProtoReflect() protoreflect.Message
func (*SelectionRangeClientCapabilities) Reset ¶
func (x *SelectionRangeClientCapabilities) Reset()
func (*SelectionRangeClientCapabilities) String ¶
func (x *SelectionRangeClientCapabilities) String() string
type SelectionRangeOptions ¶
type SelectionRangeOptions struct { // extends WorkDoneProgressOptions *protocol.WorkDoneProgressOptions `` /* 134-byte string literal not displayed */ // contains filtered or unexported fields }
SelectionRangeOptions represents a server capabilities option of selectionRangeProvider.
func (*SelectionRangeOptions) Descriptor
deprecated
func (*SelectionRangeOptions) Descriptor() ([]byte, []int)
Deprecated: Use SelectionRangeOptions.ProtoReflect.Descriptor instead.
func (*SelectionRangeOptions) GetWorkDoneProgressOptions ¶
func (x *SelectionRangeOptions) GetWorkDoneProgressOptions() *protocol.WorkDoneProgressOptions
func (*SelectionRangeOptions) ProtoMessage ¶
func (*SelectionRangeOptions) ProtoMessage()
func (*SelectionRangeOptions) ProtoReflect ¶
func (x *SelectionRangeOptions) ProtoReflect() protoreflect.Message
func (*SelectionRangeOptions) Reset ¶
func (x *SelectionRangeOptions) Reset()
func (*SelectionRangeOptions) String ¶
func (x *SelectionRangeOptions) String() string
type SelectionRangeRegistrationOptions ¶
type SelectionRangeRegistrationOptions struct { SelectionRangeOptions *SelectionRangeOptions `` /* 126-byte string literal not displayed */ // extends TextDocumentRegistrationOptions *protocol.TextDocumentRegistrationOptions `` /* 158-byte string literal not displayed */ // extends StaticRegistrationOptions *protocol.StaticRegistrationOptions `` /* 138-byte string literal not displayed */ // contains filtered or unexported fields }
SelectionRangeRegistrationOptions represents a registration option of SelectionRange.
func (*SelectionRangeRegistrationOptions) Descriptor
deprecated
func (*SelectionRangeRegistrationOptions) Descriptor() ([]byte, []int)
Deprecated: Use SelectionRangeRegistrationOptions.ProtoReflect.Descriptor instead.
func (*SelectionRangeRegistrationOptions) GetSelectionRangeOptions ¶
func (x *SelectionRangeRegistrationOptions) GetSelectionRangeOptions() *SelectionRangeOptions
func (*SelectionRangeRegistrationOptions) GetStaticRegistrationOptions ¶
func (x *SelectionRangeRegistrationOptions) GetStaticRegistrationOptions() *protocol.StaticRegistrationOptions
func (*SelectionRangeRegistrationOptions) GetTextDocumentRegistrationOptions ¶
func (x *SelectionRangeRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
func (*SelectionRangeRegistrationOptions) ProtoMessage ¶
func (*SelectionRangeRegistrationOptions) ProtoMessage()
func (*SelectionRangeRegistrationOptions) ProtoReflect ¶
func (x *SelectionRangeRegistrationOptions) ProtoReflect() protoreflect.Message
func (*SelectionRangeRegistrationOptions) Reset ¶
func (x *SelectionRangeRegistrationOptions) Reset()
func (*SelectionRangeRegistrationOptions) String ¶
func (x *SelectionRangeRegistrationOptions) String() string
type SelectionRangeRequest ¶
type SelectionRangeRequest struct { // extends WorkDoneProgressParams *WorkDoneProgressParams `` /* 131-byte string literal not displayed */ // extends PartialResultParams *PartialResultParams `protobuf:"bytes,2,opt,name=partial_result_params,json=partialResultParams,proto3" json:"partial_result_params,omitempty"` // The text document. TextDocument *protocol.TextDocumentIdentifier `protobuf:"bytes,3,opt,name=text_document,json=textDocument,proto3" json:"text_document,omitempty"` // The positions inside the text document. Positions []*protocol.Position `protobuf:"bytes,4,rep,name=positions,proto3" json:"positions,omitempty"` // contains filtered or unexported fields }
SelectionRangeRequest is the parameters of a `textDocument/selectionRange` request.
func (*SelectionRangeRequest) Descriptor
deprecated
func (*SelectionRangeRequest) Descriptor() ([]byte, []int)
Deprecated: Use SelectionRangeRequest.ProtoReflect.Descriptor instead.
func (*SelectionRangeRequest) GetPartialResultParams ¶
func (x *SelectionRangeRequest) GetPartialResultParams() *PartialResultParams
func (*SelectionRangeRequest) GetPositions ¶
func (x *SelectionRangeRequest) GetPositions() []*protocol.Position
func (*SelectionRangeRequest) GetTextDocument ¶
func (x *SelectionRangeRequest) GetTextDocument() *protocol.TextDocumentIdentifier
func (*SelectionRangeRequest) GetWorkDoneProgressParams ¶
func (x *SelectionRangeRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
func (*SelectionRangeRequest) ProtoMessage ¶
func (*SelectionRangeRequest) ProtoMessage()
func (*SelectionRangeRequest) ProtoReflect ¶
func (x *SelectionRangeRequest) ProtoReflect() protoreflect.Message
func (*SelectionRangeRequest) Reset ¶
func (x *SelectionRangeRequest) Reset()
func (*SelectionRangeRequest) String ¶
func (x *SelectionRangeRequest) String() string
type SelectionRangeResponse ¶
type SelectionRangeResponse struct { // Types that are assignable to SelectionRangeResponse: // *SelectionRangeResponse_Result_ // *SelectionRangeResponse_PartialResult_ // *SelectionRangeResponse_Error SelectionRangeResponse isSelectionRangeResponse_SelectionRangeResponse `protobuf_oneof:"selection_range_response"` // contains filtered or unexported fields }
SelectionRangeResponse represents a SelectionRangeResponse response.
func (*SelectionRangeResponse) Descriptor
deprecated
func (*SelectionRangeResponse) Descriptor() ([]byte, []int)
Deprecated: Use SelectionRangeResponse.ProtoReflect.Descriptor instead.
func (*SelectionRangeResponse) GetError ¶
func (x *SelectionRangeResponse) GetError() *protocol.Error
func (*SelectionRangeResponse) GetPartialResult ¶
func (x *SelectionRangeResponse) GetPartialResult() *SelectionRangeResponse_PartialResult
func (*SelectionRangeResponse) GetResult ¶
func (x *SelectionRangeResponse) GetResult() *SelectionRangeResponse_Result
func (*SelectionRangeResponse) GetSelectionRangeResponse ¶
func (m *SelectionRangeResponse) GetSelectionRangeResponse() isSelectionRangeResponse_SelectionRangeResponse
func (*SelectionRangeResponse) ProtoMessage ¶
func (*SelectionRangeResponse) ProtoMessage()
func (*SelectionRangeResponse) ProtoReflect ¶
func (x *SelectionRangeResponse) ProtoReflect() protoreflect.Message
func (*SelectionRangeResponse) Reset ¶
func (x *SelectionRangeResponse) Reset()
func (*SelectionRangeResponse) String ¶
func (x *SelectionRangeResponse) String() string
type SelectionRangeResponse_PartialResult ¶
type SelectionRangeResponse_PartialResult struct { SelectionRanges []*SelectionRange `protobuf:"bytes,1,rep,name=selection_ranges,json=selectionRanges,proto3" json:"selection_ranges,omitempty"` // contains filtered or unexported fields }
func (*SelectionRangeResponse_PartialResult) Descriptor
deprecated
func (*SelectionRangeResponse_PartialResult) Descriptor() ([]byte, []int)
Deprecated: Use SelectionRangeResponse_PartialResult.ProtoReflect.Descriptor instead.
func (*SelectionRangeResponse_PartialResult) GetSelectionRanges ¶
func (x *SelectionRangeResponse_PartialResult) GetSelectionRanges() []*SelectionRange
func (*SelectionRangeResponse_PartialResult) ProtoMessage ¶
func (*SelectionRangeResponse_PartialResult) ProtoMessage()
func (*SelectionRangeResponse_PartialResult) ProtoReflect ¶
func (x *SelectionRangeResponse_PartialResult) ProtoReflect() protoreflect.Message
func (*SelectionRangeResponse_PartialResult) Reset ¶
func (x *SelectionRangeResponse_PartialResult) Reset()
func (*SelectionRangeResponse_PartialResult) String ¶
func (x *SelectionRangeResponse_PartialResult) String() string
type SelectionRangeResponse_PartialResult_ ¶
type SelectionRangeResponse_PartialResult_ struct {
PartialResult *SelectionRangeResponse_PartialResult `protobuf:"bytes,2,opt,name=partial_result,json=partialResult,proto3,oneof"`
}
type SelectionRangeResponse_Result ¶
type SelectionRangeResponse_Result struct { SelectionRanges []*SelectionRange `protobuf:"bytes,1,rep,name=selection_ranges,json=selectionRanges,proto3" json:"selection_ranges,omitempty"` Empty _struct.NullValue `protobuf:"varint,2,opt,name=empty,proto3,enum=google.protobuf.NullValue" json:"empty,omitempty"` // contains filtered or unexported fields }
func (*SelectionRangeResponse_Result) Descriptor
deprecated
func (*SelectionRangeResponse_Result) Descriptor() ([]byte, []int)
Deprecated: Use SelectionRangeResponse_Result.ProtoReflect.Descriptor instead.
func (*SelectionRangeResponse_Result) GetEmpty ¶
func (x *SelectionRangeResponse_Result) GetEmpty() _struct.NullValue
func (*SelectionRangeResponse_Result) GetSelectionRanges ¶
func (x *SelectionRangeResponse_Result) GetSelectionRanges() []*SelectionRange
func (*SelectionRangeResponse_Result) ProtoMessage ¶
func (*SelectionRangeResponse_Result) ProtoMessage()
func (*SelectionRangeResponse_Result) ProtoReflect ¶
func (x *SelectionRangeResponse_Result) ProtoReflect() protoreflect.Message
func (*SelectionRangeResponse_Result) Reset ¶
func (x *SelectionRangeResponse_Result) Reset()
func (*SelectionRangeResponse_Result) String ¶
func (x *SelectionRangeResponse_Result) String() string
type SelectionRangeResponse_Result_ ¶
type SelectionRangeResponse_Result_ struct {
Result *SelectionRangeResponse_Result `protobuf:"bytes,1,opt,name=result,proto3,oneof"`
}
type SemanticTokenModifiers ¶
type SemanticTokenModifiers int32
SemanticTokenModifiers represents a semantic token modifiers.
(-- api-linter: core::0192::only-leading-comments=disabled --)
const ( // Conventional default for enums. Do not use this. SemanticTokenModifiers_SEMANTIC_TOKEN_MODIFIERS_UNSPECIFIED SemanticTokenModifiers = 0 SemanticTokenModifiers_DECLARATION SemanticTokenModifiers = 1 // 'declaration', SemanticTokenModifiers_DEFINITION SemanticTokenModifiers = 2 // 'definition', SemanticTokenModifiers_READONLY SemanticTokenModifiers = 3 // 'readonly', SemanticTokenModifiers_STATIC SemanticTokenModifiers = 4 // 'static', SemanticTokenModifiers_DEPRECATED SemanticTokenModifiers = 5 // 'deprecated', SemanticTokenModifiers_ABSTRACT SemanticTokenModifiers = 6 // 'abstract', SemanticTokenModifiers_ASYNC SemanticTokenModifiers = 7 // 'async', SemanticTokenModifiers_MODIFICATION SemanticTokenModifiers = 8 // 'modification', SemanticTokenModifiers_DOCUMENTATION SemanticTokenModifiers = 9 // 'documentation', SemanticTokenModifiers_DEFAULT_LIBRARY SemanticTokenModifiers = 10 // 'defaultLibrary' )
func (SemanticTokenModifiers) Descriptor ¶
func (SemanticTokenModifiers) Descriptor() protoreflect.EnumDescriptor
func (SemanticTokenModifiers) Enum ¶
func (x SemanticTokenModifiers) Enum() *SemanticTokenModifiers
func (SemanticTokenModifiers) EnumDescriptor
deprecated
func (SemanticTokenModifiers) EnumDescriptor() ([]byte, []int)
Deprecated: Use SemanticTokenModifiers.Descriptor instead.
func (SemanticTokenModifiers) Number ¶
func (x SemanticTokenModifiers) Number() protoreflect.EnumNumber
func (SemanticTokenModifiers) String ¶
func (x SemanticTokenModifiers) String() string
func (SemanticTokenModifiers) Type ¶
func (SemanticTokenModifiers) Type() protoreflect.EnumType
type SemanticTokenTypes ¶
type SemanticTokenTypes int32
SemanticTokenTypes represents a semantic token type.
(-- api-linter: core::0192::only-leading-comments=disabled --)
const ( // Conventional default for enums. Do not use this. SemanticTokenTypes_SEMANTIC_TOKEN_TYPES_UNSPECIFIED SemanticTokenTypes = 0 SemanticTokenTypes_NAMESPACE SemanticTokenTypes = 1 // 'namespace', SemanticTokenTypes_TYPE SemanticTokenTypes = 2 // 'type', SemanticTokenTypes_CLASS SemanticTokenTypes = 3 // 'class', SemanticTokenTypes_ENUM SemanticTokenTypes = 4 // 'enum', SemanticTokenTypes_INTERFACE SemanticTokenTypes = 5 // 'interface', SemanticTokenTypes_STRUCT SemanticTokenTypes = 6 // 'struct', SemanticTokenTypes_TYPE_PARAMETER SemanticTokenTypes = 7 // 'typeParameter', SemanticTokenTypes_PARAMETER SemanticTokenTypes = 8 // 'parameter', SemanticTokenTypes_VARIABLE SemanticTokenTypes = 9 // 'variable', SemanticTokenTypes_PROPERTY SemanticTokenTypes = 10 // 'property', SemanticTokenTypes_ENUMMEMBER SemanticTokenTypes = 11 // 'enumMember', SemanticTokenTypes_EVENT SemanticTokenTypes = 12 // 'event', SemanticTokenTypes_FUNCTION SemanticTokenTypes = 13 // 'function', SemanticTokenTypes_MEMBER SemanticTokenTypes = 14 // 'member', SemanticTokenTypes_MACRO SemanticTokenTypes = 15 // 'macro', SemanticTokenTypes_KEYWORD SemanticTokenTypes = 16 // 'keyword', SemanticTokenTypes_MODIFIER SemanticTokenTypes = 17 // 'modifier', SemanticTokenTypes_COMMENT SemanticTokenTypes = 18 // 'comment', SemanticTokenTypes_STRING SemanticTokenTypes = 19 // 'string', SemanticTokenTypes_NUMBER SemanticTokenTypes = 20 // 'number', SemanticTokenTypes_REGEXP SemanticTokenTypes = 21 // 'regexp', SemanticTokenTypes_OPERATOR SemanticTokenTypes = 22 // 'operator' )
func (SemanticTokenTypes) Descriptor ¶
func (SemanticTokenTypes) Descriptor() protoreflect.EnumDescriptor
func (SemanticTokenTypes) Enum ¶
func (x SemanticTokenTypes) Enum() *SemanticTokenTypes
func (SemanticTokenTypes) EnumDescriptor
deprecated
func (SemanticTokenTypes) EnumDescriptor() ([]byte, []int)
Deprecated: Use SemanticTokenTypes.Descriptor instead.
func (SemanticTokenTypes) Number ¶
func (x SemanticTokenTypes) Number() protoreflect.EnumNumber
func (SemanticTokenTypes) String ¶
func (x SemanticTokenTypes) String() string
func (SemanticTokenTypes) Type ¶
func (SemanticTokenTypes) Type() protoreflect.EnumType
type SemanticTokens ¶
type SemanticTokens struct { // An optional result id. If provided and clients support delta updating // the client will include the result id in the next semantic token request. // A server can then instead of computing all semantic tokens again simply // send a delta. ResultId *wrappers.StringValue `protobuf:"bytes,1,opt,name=result_id,json=resultId,proto3" json:"result_id,omitempty"` // The actual tokens. Data []int32 `protobuf:"varint,2,rep,packed,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
SemanticTokens represents a list of semantic token.
@since 3.16.0
func (*SemanticTokens) Descriptor
deprecated
func (*SemanticTokens) Descriptor() ([]byte, []int)
Deprecated: Use SemanticTokens.ProtoReflect.Descriptor instead.
func (*SemanticTokens) GetData ¶
func (x *SemanticTokens) GetData() []int32
func (*SemanticTokens) GetResultId ¶
func (x *SemanticTokens) GetResultId() *wrappers.StringValue
func (*SemanticTokens) ProtoMessage ¶
func (*SemanticTokens) ProtoMessage()
func (*SemanticTokens) ProtoReflect ¶
func (x *SemanticTokens) ProtoReflect() protoreflect.Message
func (*SemanticTokens) Reset ¶
func (x *SemanticTokens) Reset()
func (*SemanticTokens) String ¶
func (x *SemanticTokens) String() string
type SemanticTokensClientCapabilities ¶
type SemanticTokensClientCapabilities struct { // Optional. Whether implementation supports dynamic registration. If this is set to `true` // the client supports the new // `([TextDocumentRegistrationOptions][TextDocumentRegistrationOptions] & // [StaticRegistrationOptions][StaticRegistrationOptions])` return value for the corresponding // server capability as well. DynamicRegistration bool `protobuf:"varint,1,opt,name=dynamic_registration,json=dynamicRegistration,proto3" json:"dynamic_registration,omitempty"` // Which requests the client supports and might send to the server. Requests *SemanticTokensClientCapabilities_Requests `protobuf:"bytes,2,opt,name=requests,proto3" json:"requests,omitempty"` // The token types that the client supports. TokenTypes []SemanticTokenTypes `` /* 136-byte string literal not displayed */ // The token modifiers that the client supports. TokenModifiers []SemanticTokenModifiers `` /* 152-byte string literal not displayed */ // The formats the clients supports. Formats []TokenFormat `protobuf:"varint,5,rep,packed,name=formats,proto3,enum=protocol.rpc.TokenFormat" json:"formats,omitempty"` // contains filtered or unexported fields }
SemanticTokensClientCapabilities represents a client capabilities of `textDocument/semanticTokens/*` request.
@since 3.16.0
func (*SemanticTokensClientCapabilities) Descriptor
deprecated
func (*SemanticTokensClientCapabilities) Descriptor() ([]byte, []int)
Deprecated: Use SemanticTokensClientCapabilities.ProtoReflect.Descriptor instead.
func (*SemanticTokensClientCapabilities) GetDynamicRegistration ¶
func (x *SemanticTokensClientCapabilities) GetDynamicRegistration() bool
func (*SemanticTokensClientCapabilities) GetFormats ¶
func (x *SemanticTokensClientCapabilities) GetFormats() []TokenFormat
func (*SemanticTokensClientCapabilities) GetRequests ¶
func (x *SemanticTokensClientCapabilities) GetRequests() *SemanticTokensClientCapabilities_Requests
func (*SemanticTokensClientCapabilities) GetTokenModifiers ¶
func (x *SemanticTokensClientCapabilities) GetTokenModifiers() []SemanticTokenModifiers
func (*SemanticTokensClientCapabilities) GetTokenTypes ¶
func (x *SemanticTokensClientCapabilities) GetTokenTypes() []SemanticTokenTypes
func (*SemanticTokensClientCapabilities) ProtoMessage ¶
func (*SemanticTokensClientCapabilities) ProtoMessage()
func (*SemanticTokensClientCapabilities) ProtoReflect ¶
func (x *SemanticTokensClientCapabilities) ProtoReflect() protoreflect.Message
func (*SemanticTokensClientCapabilities) Reset ¶
func (x *SemanticTokensClientCapabilities) Reset()
func (*SemanticTokensClientCapabilities) String ¶
func (x *SemanticTokensClientCapabilities) String() string
type SemanticTokensClientCapabilities_Requests ¶
type SemanticTokensClientCapabilities_Requests struct { // Types that are assignable to Range: // *SemanticTokensClientCapabilities_Requests_EnableRange // *SemanticTokensClientCapabilities_Requests_Empty Range isSemanticTokensClientCapabilities_Requests_Range `protobuf_oneof:"range"` // Types that are assignable to Full: // *SemanticTokensClientCapabilities_Requests_EnableFull // *SemanticTokensClientCapabilities_Requests_Delta Full isSemanticTokensClientCapabilities_Requests_Full `protobuf_oneof:"full"` // contains filtered or unexported fields }
func (*SemanticTokensClientCapabilities_Requests) Descriptor
deprecated
func (*SemanticTokensClientCapabilities_Requests) Descriptor() ([]byte, []int)
Deprecated: Use SemanticTokensClientCapabilities_Requests.ProtoReflect.Descriptor instead.
func (*SemanticTokensClientCapabilities_Requests) GetDelta ¶
func (x *SemanticTokensClientCapabilities_Requests) GetDelta() bool
func (*SemanticTokensClientCapabilities_Requests) GetEmpty ¶
func (x *SemanticTokensClientCapabilities_Requests) GetEmpty() _struct.NullValue
func (*SemanticTokensClientCapabilities_Requests) GetEnableFull ¶
func (x *SemanticTokensClientCapabilities_Requests) GetEnableFull() bool
func (*SemanticTokensClientCapabilities_Requests) GetEnableRange ¶
func (x *SemanticTokensClientCapabilities_Requests) GetEnableRange() bool
func (*SemanticTokensClientCapabilities_Requests) GetFull ¶
func (m *SemanticTokensClientCapabilities_Requests) GetFull() isSemanticTokensClientCapabilities_Requests_Full
func (*SemanticTokensClientCapabilities_Requests) GetRange ¶
func (m *SemanticTokensClientCapabilities_Requests) GetRange() isSemanticTokensClientCapabilities_Requests_Range
func (*SemanticTokensClientCapabilities_Requests) ProtoMessage ¶
func (*SemanticTokensClientCapabilities_Requests) ProtoMessage()
func (*SemanticTokensClientCapabilities_Requests) ProtoReflect ¶
func (x *SemanticTokensClientCapabilities_Requests) ProtoReflect() protoreflect.Message
func (*SemanticTokensClientCapabilities_Requests) Reset ¶
func (x *SemanticTokensClientCapabilities_Requests) Reset()
func (*SemanticTokensClientCapabilities_Requests) String ¶
func (x *SemanticTokensClientCapabilities_Requests) String() string
type SemanticTokensClientCapabilities_Requests_Delta ¶
type SemanticTokensClientCapabilities_Requests_Delta struct {
Delta bool `protobuf:"varint,5,opt,name=delta,proto3,oneof"`
}
type SemanticTokensClientCapabilities_Requests_EnableFull ¶
type SemanticTokensClientCapabilities_Requests_EnableFull struct {
EnableFull bool `protobuf:"varint,4,opt,name=enable_full,json=enableFull,proto3,oneof"`
}
type SemanticTokensClientCapabilities_Requests_EnableRange ¶
type SemanticTokensClientCapabilities_Requests_EnableRange struct {
EnableRange bool `protobuf:"varint,2,opt,name=enable_range,json=enableRange,proto3,oneof"`
}
type SemanticTokensDelta ¶
type SemanticTokensDelta struct { // readonly ResultId string `protobuf:"bytes,1,opt,name=result_id,json=resultId,proto3" json:"result_id,omitempty"` // The semantic token edits to transform a previous result into a new result. Edits []*SemanticTokensEdit `protobuf:"bytes,2,rep,name=edits,proto3" json:"edits,omitempty"` // contains filtered or unexported fields }
SemanticTokensDelta represents a list of semantic delta token.
func (*SemanticTokensDelta) Descriptor
deprecated
func (*SemanticTokensDelta) Descriptor() ([]byte, []int)
Deprecated: Use SemanticTokensDelta.ProtoReflect.Descriptor instead.
func (*SemanticTokensDelta) GetEdits ¶
func (x *SemanticTokensDelta) GetEdits() []*SemanticTokensEdit
func (*SemanticTokensDelta) GetResultId ¶
func (x *SemanticTokensDelta) GetResultId() string
func (*SemanticTokensDelta) ProtoMessage ¶
func (*SemanticTokensDelta) ProtoMessage()
func (*SemanticTokensDelta) ProtoReflect ¶
func (x *SemanticTokensDelta) ProtoReflect() protoreflect.Message
func (*SemanticTokensDelta) Reset ¶
func (x *SemanticTokensDelta) Reset()
func (*SemanticTokensDelta) String ¶
func (x *SemanticTokensDelta) String() string
type SemanticTokensDeltaParams ¶
type SemanticTokensDeltaParams struct { // extends WorkDoneProgressParams *WorkDoneProgressParams `` /* 131-byte string literal not displayed */ // extends PartialResultParams *PartialResultParams `protobuf:"bytes,2,opt,name=partial_result_params,json=partialResultParams,proto3" json:"partial_result_params,omitempty"` // The text document. TextDocument *protocol.TextDocumentIdentifier `protobuf:"bytes,3,opt,name=text_document,json=textDocument,proto3" json:"text_document,omitempty"` // The previous result id. PreviousResultId string `protobuf:"bytes,4,opt,name=previous_result_id,json=previousResultId,proto3" json:"previous_result_id,omitempty"` // contains filtered or unexported fields }
SemanticTokensDeltaParams is the parameters of a `textDocument/semanticTokens/full/delta` request.
@since 3.16.0
func (*SemanticTokensDeltaParams) Descriptor
deprecated
func (*SemanticTokensDeltaParams) Descriptor() ([]byte, []int)
Deprecated: Use SemanticTokensDeltaParams.ProtoReflect.Descriptor instead.
func (*SemanticTokensDeltaParams) GetPartialResultParams ¶
func (x *SemanticTokensDeltaParams) GetPartialResultParams() *PartialResultParams
func (*SemanticTokensDeltaParams) GetPreviousResultId ¶
func (x *SemanticTokensDeltaParams) GetPreviousResultId() string
func (*SemanticTokensDeltaParams) GetTextDocument ¶
func (x *SemanticTokensDeltaParams) GetTextDocument() *protocol.TextDocumentIdentifier
func (*SemanticTokensDeltaParams) GetWorkDoneProgressParams ¶
func (x *SemanticTokensDeltaParams) GetWorkDoneProgressParams() *WorkDoneProgressParams
func (*SemanticTokensDeltaParams) ProtoMessage ¶
func (*SemanticTokensDeltaParams) ProtoMessage()
func (*SemanticTokensDeltaParams) ProtoReflect ¶
func (x *SemanticTokensDeltaParams) ProtoReflect() protoreflect.Message
func (*SemanticTokensDeltaParams) Reset ¶
func (x *SemanticTokensDeltaParams) Reset()
func (*SemanticTokensDeltaParams) String ¶
func (x *SemanticTokensDeltaParams) String() string
type SemanticTokensDeltaPartialResult ¶
type SemanticTokensDeltaPartialResult struct { Edits []*SemanticTokensEdit `protobuf:"bytes,2,rep,name=edits,proto3" json:"edits,omitempty"` // contains filtered or unexported fields }
SemanticTokensDeltaPartialResult represents a partial result of `textDocument/semanticTokens/full/delta` request.
func (*SemanticTokensDeltaPartialResult) Descriptor
deprecated
func (*SemanticTokensDeltaPartialResult) Descriptor() ([]byte, []int)
Deprecated: Use SemanticTokensDeltaPartialResult.ProtoReflect.Descriptor instead.
func (*SemanticTokensDeltaPartialResult) GetEdits ¶
func (x *SemanticTokensDeltaPartialResult) GetEdits() []*SemanticTokensEdit
func (*SemanticTokensDeltaPartialResult) ProtoMessage ¶
func (*SemanticTokensDeltaPartialResult) ProtoMessage()
func (*SemanticTokensDeltaPartialResult) ProtoReflect ¶
func (x *SemanticTokensDeltaPartialResult) ProtoReflect() protoreflect.Message
func (*SemanticTokensDeltaPartialResult) Reset ¶
func (x *SemanticTokensDeltaPartialResult) Reset()
func (*SemanticTokensDeltaPartialResult) String ¶
func (x *SemanticTokensDeltaPartialResult) String() string
type SemanticTokensEdit ¶
type SemanticTokensEdit struct { // The start offset of the edit. Start int32 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"` // The count of elements to remove. DeleteCount int32 `protobuf:"varint,2,opt,name=delete_count,json=deleteCount,proto3" json:"delete_count,omitempty"` // The elements to insert. Data []int32 `protobuf:"varint,3,rep,packed,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
SemanticTokensEdit represents a semantic token edit.
func (*SemanticTokensEdit) Descriptor
deprecated
func (*SemanticTokensEdit) Descriptor() ([]byte, []int)
Deprecated: Use SemanticTokensEdit.ProtoReflect.Descriptor instead.
func (*SemanticTokensEdit) GetData ¶
func (x *SemanticTokensEdit) GetData() []int32
func (*SemanticTokensEdit) GetDeleteCount ¶
func (x *SemanticTokensEdit) GetDeleteCount() int32
func (*SemanticTokensEdit) GetStart ¶
func (x *SemanticTokensEdit) GetStart() int32
func (*SemanticTokensEdit) ProtoMessage ¶
func (*SemanticTokensEdit) ProtoMessage()
func (*SemanticTokensEdit) ProtoReflect ¶
func (x *SemanticTokensEdit) ProtoReflect() protoreflect.Message
func (*SemanticTokensEdit) Reset ¶
func (x *SemanticTokensEdit) Reset()
func (*SemanticTokensEdit) String ¶
func (x *SemanticTokensEdit) String() string
type SemanticTokensLegend ¶
type SemanticTokensLegend struct { // The token types a server uses. TokenTypes []SemanticTokenTypes `` /* 136-byte string literal not displayed */ // The token modifiers a server uses. TokenModifiers []SemanticTokenModifiers `` /* 152-byte string literal not displayed */ // contains filtered or unexported fields }
SemanticTokensLegend represents a legend of semantic tokens.
@since 3.16.0
func (*SemanticTokensLegend) Descriptor
deprecated
func (*SemanticTokensLegend) Descriptor() ([]byte, []int)
Deprecated: Use SemanticTokensLegend.ProtoReflect.Descriptor instead.
func (*SemanticTokensLegend) GetTokenModifiers ¶
func (x *SemanticTokensLegend) GetTokenModifiers() []SemanticTokenModifiers
func (*SemanticTokensLegend) GetTokenTypes ¶
func (x *SemanticTokensLegend) GetTokenTypes() []SemanticTokenTypes
func (*SemanticTokensLegend) ProtoMessage ¶
func (*SemanticTokensLegend) ProtoMessage()
func (*SemanticTokensLegend) ProtoReflect ¶
func (x *SemanticTokensLegend) ProtoReflect() protoreflect.Message
func (*SemanticTokensLegend) Reset ¶
func (x *SemanticTokensLegend) Reset()
func (*SemanticTokensLegend) String ¶
func (x *SemanticTokensLegend) String() string
type SemanticTokensOptions ¶
type SemanticTokensOptions struct { // extends WorkDoneProgressOptions *protocol.WorkDoneProgressOptions `` /* 134-byte string literal not displayed */ // The legend used by the server Legend *SemanticTokensLegend `protobuf:"bytes,2,opt,name=legend,proto3" json:"legend,omitempty"` // Types that are assignable to Range: // *SemanticTokensOptions_EnableRange // *SemanticTokensOptions_Empty Range isSemanticTokensOptions_Range `protobuf_oneof:"range"` // Types that are assignable to Full: // *SemanticTokensOptions_EnableFull // *SemanticTokensOptions_Delta Full isSemanticTokensOptions_Full `protobuf_oneof:"full"` // contains filtered or unexported fields }
SemanticTokensOptions represents a server capabilities option of semanticTokensProvider.
@since 3.16.0
func (*SemanticTokensOptions) Descriptor
deprecated
func (*SemanticTokensOptions) Descriptor() ([]byte, []int)
Deprecated: Use SemanticTokensOptions.ProtoReflect.Descriptor instead.
func (*SemanticTokensOptions) GetDelta ¶
func (x *SemanticTokensOptions) GetDelta() bool
func (*SemanticTokensOptions) GetEmpty ¶
func (x *SemanticTokensOptions) GetEmpty() _struct.NullValue
func (*SemanticTokensOptions) GetEnableFull ¶
func (x *SemanticTokensOptions) GetEnableFull() bool
func (*SemanticTokensOptions) GetEnableRange ¶
func (x *SemanticTokensOptions) GetEnableRange() bool
func (*SemanticTokensOptions) GetFull ¶
func (m *SemanticTokensOptions) GetFull() isSemanticTokensOptions_Full
func (*SemanticTokensOptions) GetLegend ¶
func (x *SemanticTokensOptions) GetLegend() *SemanticTokensLegend
func (*SemanticTokensOptions) GetRange ¶
func (m *SemanticTokensOptions) GetRange() isSemanticTokensOptions_Range
func (*SemanticTokensOptions) GetWorkDoneProgressOptions ¶
func (x *SemanticTokensOptions) GetWorkDoneProgressOptions() *protocol.WorkDoneProgressOptions
func (*SemanticTokensOptions) ProtoMessage ¶
func (*SemanticTokensOptions) ProtoMessage()
func (*SemanticTokensOptions) ProtoReflect ¶
func (x *SemanticTokensOptions) ProtoReflect() protoreflect.Message
func (*SemanticTokensOptions) Reset ¶
func (x *SemanticTokensOptions) Reset()
func (*SemanticTokensOptions) String ¶
func (x *SemanticTokensOptions) String() string
type SemanticTokensOptions_Delta ¶
type SemanticTokensOptions_Delta struct {
Delta bool `protobuf:"varint,6,opt,name=delta,proto3,oneof"`
}
type SemanticTokensOptions_EnableFull ¶
type SemanticTokensOptions_EnableFull struct {
EnableFull bool `protobuf:"varint,5,opt,name=enable_full,json=enableFull,proto3,oneof"`
}
type SemanticTokensOptions_EnableRange ¶
type SemanticTokensOptions_EnableRange struct {
EnableRange bool `protobuf:"varint,3,opt,name=enable_range,json=enableRange,proto3,oneof"`
}
type SemanticTokensParams ¶
type SemanticTokensParams struct { // extends WorkDoneProgressParams *WorkDoneProgressParams `` /* 131-byte string literal not displayed */ // extends PartialResultParams *PartialResultParams `protobuf:"bytes,2,opt,name=partial_result_params,json=partialResultParams,proto3" json:"partial_result_params,omitempty"` // The text document. TextDocument *protocol.TextDocumentIdentifier `protobuf:"bytes,3,opt,name=text_document,json=textDocument,proto3" json:"text_document,omitempty"` // contains filtered or unexported fields }
SemanticTokensParams is the parameters of a `textDocument/semanticTokens/full` request.
@since 3.16.0
func (*SemanticTokensParams) Descriptor
deprecated
func (*SemanticTokensParams) Descriptor() ([]byte, []int)
Deprecated: Use SemanticTokensParams.ProtoReflect.Descriptor instead.
func (*SemanticTokensParams) GetPartialResultParams ¶
func (x *SemanticTokensParams) GetPartialResultParams() *PartialResultParams
func (*SemanticTokensParams) GetTextDocument ¶
func (x *SemanticTokensParams) GetTextDocument() *protocol.TextDocumentIdentifier
func (*SemanticTokensParams) GetWorkDoneProgressParams ¶
func (x *SemanticTokensParams) GetWorkDoneProgressParams() *WorkDoneProgressParams
func (*SemanticTokensParams) ProtoMessage ¶
func (*SemanticTokensParams) ProtoMessage()
func (*SemanticTokensParams) ProtoReflect ¶
func (x *SemanticTokensParams) ProtoReflect() protoreflect.Message
func (*SemanticTokensParams) Reset ¶
func (x *SemanticTokensParams) Reset()
func (*SemanticTokensParams) String ¶
func (x *SemanticTokensParams) String() string
type SemanticTokensPartialResult ¶
type SemanticTokensPartialResult struct { Data []int32 `protobuf:"varint,1,rep,packed,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
SemanticTokensPartialResult represents a partial result of `textDocument/semanticTokens/full` request.
@since 3.16.0
func (*SemanticTokensPartialResult) Descriptor
deprecated
func (*SemanticTokensPartialResult) Descriptor() ([]byte, []int)
Deprecated: Use SemanticTokensPartialResult.ProtoReflect.Descriptor instead.
func (*SemanticTokensPartialResult) GetData ¶
func (x *SemanticTokensPartialResult) GetData() []int32
func (*SemanticTokensPartialResult) ProtoMessage ¶
func (*SemanticTokensPartialResult) ProtoMessage()
func (*SemanticTokensPartialResult) ProtoReflect ¶
func (x *SemanticTokensPartialResult) ProtoReflect() protoreflect.Message
func (*SemanticTokensPartialResult) Reset ¶
func (x *SemanticTokensPartialResult) Reset()
func (*SemanticTokensPartialResult) String ¶
func (x *SemanticTokensPartialResult) String() string
type SemanticTokensRegistrationOptions ¶
type SemanticTokensRegistrationOptions struct { // extends TextDocumentRegistrationOptions *protocol.TextDocumentRegistrationOptions `` /* 158-byte string literal not displayed */ SemanticTokensOptions *SemanticTokensOptions `` /* 126-byte string literal not displayed */ // extends StaticRegistrationOptions *protocol.StaticRegistrationOptions `` /* 138-byte string literal not displayed */ // contains filtered or unexported fields }
SemanticTokensRegistrationOptions represents a registration option of SemanticTokens.
@since 3.16.0
func (*SemanticTokensRegistrationOptions) Descriptor
deprecated
func (*SemanticTokensRegistrationOptions) Descriptor() ([]byte, []int)
Deprecated: Use SemanticTokensRegistrationOptions.ProtoReflect.Descriptor instead.
func (*SemanticTokensRegistrationOptions) GetSemanticTokensOptions ¶
func (x *SemanticTokensRegistrationOptions) GetSemanticTokensOptions() *SemanticTokensOptions
func (*SemanticTokensRegistrationOptions) GetStaticRegistrationOptions ¶
func (x *SemanticTokensRegistrationOptions) GetStaticRegistrationOptions() *protocol.StaticRegistrationOptions
func (*SemanticTokensRegistrationOptions) GetTextDocumentRegistrationOptions ¶
func (x *SemanticTokensRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
func (*SemanticTokensRegistrationOptions) ProtoMessage ¶
func (*SemanticTokensRegistrationOptions) ProtoMessage()
func (*SemanticTokensRegistrationOptions) ProtoReflect ¶
func (x *SemanticTokensRegistrationOptions) ProtoReflect() protoreflect.Message
func (*SemanticTokensRegistrationOptions) Reset ¶
func (x *SemanticTokensRegistrationOptions) Reset()
func (*SemanticTokensRegistrationOptions) String ¶
func (x *SemanticTokensRegistrationOptions) String() string
type ServerCapabilities ¶
type ServerCapabilities struct { // Defines how text documents are synced. Is either a detailed structure defining each // notification or for backwards compatibility the TextDocumentSyncKind number. If omitted it // defaults to `TextDocumentSyncKind.None`. // // optional // // Types that are assignable to TextDocumentSync: // *ServerCapabilities_TextDocumentSyncOptions // *ServerCapabilities_TextDocumentSyncKind TextDocumentSync isServerCapabilities_TextDocumentSync `protobuf_oneof:"text_document_sync"` // Optional. The server provides completion support. CompletionProvider *CompletionOptions `protobuf:"bytes,3,opt,name=completion_provider,json=completionProvider,proto3" json:"completion_provider,omitempty"` // The server provides hover support. // // optional // // Types that are assignable to HoverProvider: // *ServerCapabilities_EnableHoverProvider // *ServerCapabilities_HoverOptions HoverProvider isServerCapabilities_HoverProvider `protobuf_oneof:"hover_provider"` // Optional. The server provides signature help support. SignatureHelpProvider *SignatureHelpOptions `` /* 126-byte string literal not displayed */ // The server provides go to declaration support. // // @since 3.14.0 // // optional // // Types that are assignable to DeclarationProvider: // *ServerCapabilities_EnableDeclarationProvider // *ServerCapabilities_DeclarationOptions // *ServerCapabilities_DeclarationRegistrationOptions DeclarationProvider isServerCapabilities_DeclarationProvider `protobuf_oneof:"declaration_provider"` // The server provides goto definition support. // // optional // // Types that are assignable to DefinitionProvider: // *ServerCapabilities_EnableDefinitionProvider // *ServerCapabilities_DefinitionOptions DefinitionProvider isServerCapabilities_DefinitionProvider `protobuf_oneof:"definition_provider"` // The server provides goto type definition support. // // @since 3.6.0 // // optional // // Types that are assignable to TypeDefinitionProvider: // *ServerCapabilities_EnableTypeDefinitionProvider // *ServerCapabilities_TypeDefinitionOptions // *ServerCapabilities_TypeDefinitionRegistrationOptions TypeDefinitionProvider isServerCapabilities_TypeDefinitionProvider `protobuf_oneof:"type_definition_provider"` // The server provides goto implementation support. // // @since 3.6.0 // // optional // // Types that are assignable to ImplementationProvider: // *ServerCapabilities_EnableImplementationProvider // *ServerCapabilities_ImplementationOptions // *ServerCapabilities_ImplementationRegistrationOptions ImplementationProvider isServerCapabilities_ImplementationProvider `protobuf_oneof:"implementation_provider"` // The server provides find references support. // // optional // // Types that are assignable to ReferencesProvider: // *ServerCapabilities_EnableReferencesProvider // *ServerCapabilities_ReferenceOptions ReferencesProvider isServerCapabilities_ReferencesProvider `protobuf_oneof:"references_provider"` // The server provides document highlight support. // // optional // // Types that are assignable to DocumentHighlightProvider: // *ServerCapabilities_EnableDocumentHighlightProvider // *ServerCapabilities_DocumentHighlightOptions DocumentHighlightProvider isServerCapabilities_DocumentHighlightProvider `protobuf_oneof:"document_highlight_provider"` // The server provides document symbol support. // // optional // // Types that are assignable to DocumentSymbolProvider: // *ServerCapabilities_EnableDocumentSymbolProvider // *ServerCapabilities_DocumentSymbolOptions DocumentSymbolProvider isServerCapabilities_DocumentSymbolProvider `protobuf_oneof:"document_symbol_provider"` // The server provides code actions. The `CodeActionOptions` return type is only // valid if the client signals code action literal support via the property // `textDocument.codeAction.codeActionLiteralSupport`. // // optional // // Types that are assignable to CodeActionProvider: // *ServerCapabilities_EnableCodeActionProvider // *ServerCapabilities_CodeActionOptions CodeActionProvider isServerCapabilities_CodeActionProvider `protobuf_oneof:"code_action_provider"` // Optional. The server provides code lens. CodelensProvider *CodeLensOptions `protobuf:"bytes,26,opt,name=codelens_provider,json=codelensProvider,proto3" json:"codelens_provider,omitempty"` // Optional. The server provides document link support. DocumentLinkProvider *DocumentLinkOptions `protobuf:"bytes,27,opt,name=document_link_provider,json=documentLinkProvider,proto3" json:"document_link_provider,omitempty"` // The server provides color provider support. // // @since 3.6.0 // // optional // // Types that are assignable to ColorProvider: // *ServerCapabilities_EnableColorProvider // *ServerCapabilities_DocumentColorOptions // *ServerCapabilities_DocumentColorRegistrationOptions ColorProvider isServerCapabilities_ColorProvider `protobuf_oneof:"color_provider"` // The server provides document formatting. // // optional // // Types that are assignable to DocumentFormattingProvider: // *ServerCapabilities_EnableDocumentFormattingProvider // *ServerCapabilities_DocumentFormattingOptions DocumentFormattingProvider isServerCapabilities_DocumentFormattingProvider `protobuf_oneof:"document_formatting_provider"` // The server provides document range formatting. // // optional // // Types that are assignable to DocumentRangeFormattingProvider: // *ServerCapabilities_EnableDocumentRangeFormattingProvider // *ServerCapabilities_DocumentRangeFormattingOptions DocumentRangeFormattingProvider isServerCapabilities_DocumentRangeFormattingProvider `protobuf_oneof:"document_range_formatting_provider"` // Optional. The server provides document formatting on typing. DocumentOnTypeFormattingProvider *DocumentOnTypeFormattingOptions `` /* 164-byte string literal not displayed */ // The server provides rename support. RenameOptions may only be // specified if the client states that it supports `prepareSupport` in its initial // `initialize` request. // // optional // // Types that are assignable to RenameProvider: // *ServerCapabilities_EnableRenameProvider // *ServerCapabilities_RenameOptions RenameProvider isServerCapabilities_RenameProvider `protobuf_oneof:"rename_provider"` // The server provides folding provider support. // // @since 3.10.0 // // optional // // Types that are assignable to FoldingRangeProvider: // *ServerCapabilities_EnableFoldingRangeProvider // *ServerCapabilities_FoldingRangeOptions // *ServerCapabilities_FoldingRangeRegistrationOptions FoldingRangeProvider isServerCapabilities_FoldingRangeProvider `protobuf_oneof:"folding_range_provider"` // Optional. The server provides execute command support. ExecuteCommandProvider *ExecuteCommandOptions `` /* 130-byte string literal not displayed */ // The server provides selection range support. // // @since 3.15.0 // // optional // // Types that are assignable to SelectionRangeProvider: // *ServerCapabilities_EnableSelectionRangeProvider // *ServerCapabilities_SelectionRangeOptions // *ServerCapabilities_SelectionRangeRegistrationOptions SelectionRangeProvider isServerCapabilities_SelectionRangeProvider `protobuf_oneof:"selection_range_provider"` // The server provides workspace symbol support. WorkspaceSymbolProvider bool `` /* 134-byte string literal not displayed */ // Optional. Workspace *ServerCapabilities_Workspace `protobuf:"bytes,46,opt,name=workspace,proto3" json:"workspace,omitempty"` // Optional. Experimental server capabilities. Experimental *any.Any `protobuf:"bytes,47,opt,name=experimental,proto3" json:"experimental,omitempty"` // contains filtered or unexported fields }
ServerCapabilities is the signal of server capabilities.
func (*ServerCapabilities) Descriptor
deprecated
func (*ServerCapabilities) Descriptor() ([]byte, []int)
Deprecated: Use ServerCapabilities.ProtoReflect.Descriptor instead.
func (*ServerCapabilities) GetCodeActionOptions ¶
func (x *ServerCapabilities) GetCodeActionOptions() *CodeActionOptions
func (*ServerCapabilities) GetCodeActionProvider ¶
func (m *ServerCapabilities) GetCodeActionProvider() isServerCapabilities_CodeActionProvider
func (*ServerCapabilities) GetCodelensProvider ¶
func (x *ServerCapabilities) GetCodelensProvider() *CodeLensOptions
func (*ServerCapabilities) GetColorProvider ¶
func (m *ServerCapabilities) GetColorProvider() isServerCapabilities_ColorProvider
func (*ServerCapabilities) GetCompletionProvider ¶
func (x *ServerCapabilities) GetCompletionProvider() *CompletionOptions
func (*ServerCapabilities) GetDeclarationOptions ¶
func (x *ServerCapabilities) GetDeclarationOptions() *DeclarationOptions
func (*ServerCapabilities) GetDeclarationProvider ¶
func (m *ServerCapabilities) GetDeclarationProvider() isServerCapabilities_DeclarationProvider
func (*ServerCapabilities) GetDeclarationRegistrationOptions ¶
func (x *ServerCapabilities) GetDeclarationRegistrationOptions() *DeclarationRegistrationOptions
func (*ServerCapabilities) GetDefinitionOptions ¶
func (x *ServerCapabilities) GetDefinitionOptions() *DefinitionOptions
func (*ServerCapabilities) GetDefinitionProvider ¶
func (m *ServerCapabilities) GetDefinitionProvider() isServerCapabilities_DefinitionProvider
func (*ServerCapabilities) GetDocumentColorOptions ¶
func (x *ServerCapabilities) GetDocumentColorOptions() *DocumentColorOptions
func (*ServerCapabilities) GetDocumentColorRegistrationOptions ¶
func (x *ServerCapabilities) GetDocumentColorRegistrationOptions() *DocumentColorRegistrationOptions
func (*ServerCapabilities) GetDocumentFormattingOptions ¶
func (x *ServerCapabilities) GetDocumentFormattingOptions() *DocumentFormattingOptions
func (*ServerCapabilities) GetDocumentFormattingProvider ¶
func (m *ServerCapabilities) GetDocumentFormattingProvider() isServerCapabilities_DocumentFormattingProvider
func (*ServerCapabilities) GetDocumentHighlightOptions ¶
func (x *ServerCapabilities) GetDocumentHighlightOptions() *DocumentHighlightOptions
func (*ServerCapabilities) GetDocumentHighlightProvider ¶
func (m *ServerCapabilities) GetDocumentHighlightProvider() isServerCapabilities_DocumentHighlightProvider
func (*ServerCapabilities) GetDocumentLinkProvider ¶
func (x *ServerCapabilities) GetDocumentLinkProvider() *DocumentLinkOptions
func (*ServerCapabilities) GetDocumentOnTypeFormattingProvider ¶
func (x *ServerCapabilities) GetDocumentOnTypeFormattingProvider() *DocumentOnTypeFormattingOptions
func (*ServerCapabilities) GetDocumentRangeFormattingOptions ¶
func (x *ServerCapabilities) GetDocumentRangeFormattingOptions() *DocumentRangeFormattingOptions
func (*ServerCapabilities) GetDocumentRangeFormattingProvider ¶
func (m *ServerCapabilities) GetDocumentRangeFormattingProvider() isServerCapabilities_DocumentRangeFormattingProvider
func (*ServerCapabilities) GetDocumentSymbolOptions ¶
func (x *ServerCapabilities) GetDocumentSymbolOptions() *DocumentSymbolOptions
func (*ServerCapabilities) GetDocumentSymbolProvider ¶
func (m *ServerCapabilities) GetDocumentSymbolProvider() isServerCapabilities_DocumentSymbolProvider
func (*ServerCapabilities) GetEnableCodeActionProvider ¶
func (x *ServerCapabilities) GetEnableCodeActionProvider() bool
func (*ServerCapabilities) GetEnableColorProvider ¶
func (x *ServerCapabilities) GetEnableColorProvider() bool
func (*ServerCapabilities) GetEnableDeclarationProvider ¶
func (x *ServerCapabilities) GetEnableDeclarationProvider() bool
func (*ServerCapabilities) GetEnableDefinitionProvider ¶
func (x *ServerCapabilities) GetEnableDefinitionProvider() bool
func (*ServerCapabilities) GetEnableDocumentFormattingProvider ¶
func (x *ServerCapabilities) GetEnableDocumentFormattingProvider() bool
func (*ServerCapabilities) GetEnableDocumentHighlightProvider ¶
func (x *ServerCapabilities) GetEnableDocumentHighlightProvider() bool
func (*ServerCapabilities) GetEnableDocumentRangeFormattingProvider ¶
func (x *ServerCapabilities) GetEnableDocumentRangeFormattingProvider() bool
func (*ServerCapabilities) GetEnableDocumentSymbolProvider ¶
func (x *ServerCapabilities) GetEnableDocumentSymbolProvider() bool
func (*ServerCapabilities) GetEnableFoldingRangeProvider ¶
func (x *ServerCapabilities) GetEnableFoldingRangeProvider() bool
func (*ServerCapabilities) GetEnableHoverProvider ¶
func (x *ServerCapabilities) GetEnableHoverProvider() bool
func (*ServerCapabilities) GetEnableImplementationProvider ¶
func (x *ServerCapabilities) GetEnableImplementationProvider() bool
func (*ServerCapabilities) GetEnableReferencesProvider ¶
func (x *ServerCapabilities) GetEnableReferencesProvider() bool
func (*ServerCapabilities) GetEnableRenameProvider ¶
func (x *ServerCapabilities) GetEnableRenameProvider() bool
func (*ServerCapabilities) GetEnableSelectionRangeProvider ¶
func (x *ServerCapabilities) GetEnableSelectionRangeProvider() bool
func (*ServerCapabilities) GetEnableTypeDefinitionProvider ¶
func (x *ServerCapabilities) GetEnableTypeDefinitionProvider() bool
func (*ServerCapabilities) GetExecuteCommandProvider ¶
func (x *ServerCapabilities) GetExecuteCommandProvider() *ExecuteCommandOptions
func (*ServerCapabilities) GetExperimental ¶
func (x *ServerCapabilities) GetExperimental() *any.Any
func (*ServerCapabilities) GetFoldingRangeOptions ¶
func (x *ServerCapabilities) GetFoldingRangeOptions() *FoldingRangeOptions
func (*ServerCapabilities) GetFoldingRangeProvider ¶
func (m *ServerCapabilities) GetFoldingRangeProvider() isServerCapabilities_FoldingRangeProvider
func (*ServerCapabilities) GetFoldingRangeRegistrationOptions ¶
func (x *ServerCapabilities) GetFoldingRangeRegistrationOptions() *FoldingRangeRegistrationOptions
func (*ServerCapabilities) GetHoverOptions ¶
func (x *ServerCapabilities) GetHoverOptions() *HoverOptions
func (*ServerCapabilities) GetHoverProvider ¶
func (m *ServerCapabilities) GetHoverProvider() isServerCapabilities_HoverProvider
func (*ServerCapabilities) GetImplementationOptions ¶
func (x *ServerCapabilities) GetImplementationOptions() *ImplementationOptions
func (*ServerCapabilities) GetImplementationProvider ¶
func (m *ServerCapabilities) GetImplementationProvider() isServerCapabilities_ImplementationProvider
func (*ServerCapabilities) GetImplementationRegistrationOptions ¶
func (x *ServerCapabilities) GetImplementationRegistrationOptions() *ImplementationRegistrationOptions
func (*ServerCapabilities) GetReferenceOptions ¶
func (x *ServerCapabilities) GetReferenceOptions() *ReferenceOptions
func (*ServerCapabilities) GetReferencesProvider ¶
func (m *ServerCapabilities) GetReferencesProvider() isServerCapabilities_ReferencesProvider
func (*ServerCapabilities) GetRenameOptions ¶
func (x *ServerCapabilities) GetRenameOptions() *RenameOptions
func (*ServerCapabilities) GetRenameProvider ¶
func (m *ServerCapabilities) GetRenameProvider() isServerCapabilities_RenameProvider
func (*ServerCapabilities) GetSelectionRangeOptions ¶
func (x *ServerCapabilities) GetSelectionRangeOptions() *SelectionRangeOptions
func (*ServerCapabilities) GetSelectionRangeProvider ¶
func (m *ServerCapabilities) GetSelectionRangeProvider() isServerCapabilities_SelectionRangeProvider
func (*ServerCapabilities) GetSelectionRangeRegistrationOptions ¶
func (x *ServerCapabilities) GetSelectionRangeRegistrationOptions() *SelectionRangeRegistrationOptions
func (*ServerCapabilities) GetSignatureHelpProvider ¶
func (x *ServerCapabilities) GetSignatureHelpProvider() *SignatureHelpOptions
func (*ServerCapabilities) GetTextDocumentSync ¶
func (m *ServerCapabilities) GetTextDocumentSync() isServerCapabilities_TextDocumentSync
func (*ServerCapabilities) GetTextDocumentSyncKind ¶
func (x *ServerCapabilities) GetTextDocumentSyncKind() TextDocumentSyncKind
func (*ServerCapabilities) GetTextDocumentSyncOptions ¶
func (x *ServerCapabilities) GetTextDocumentSyncOptions() *TextDocumentSyncOptions
func (*ServerCapabilities) GetTypeDefinitionOptions ¶
func (x *ServerCapabilities) GetTypeDefinitionOptions() *TypeDefinitionOptions
func (*ServerCapabilities) GetTypeDefinitionProvider ¶
func (m *ServerCapabilities) GetTypeDefinitionProvider() isServerCapabilities_TypeDefinitionProvider
func (*ServerCapabilities) GetTypeDefinitionRegistrationOptions ¶
func (x *ServerCapabilities) GetTypeDefinitionRegistrationOptions() *TypeDefinitionRegistrationOptions
func (*ServerCapabilities) GetWorkspace ¶
func (x *ServerCapabilities) GetWorkspace() *ServerCapabilities_Workspace
func (*ServerCapabilities) GetWorkspaceSymbolProvider ¶
func (x *ServerCapabilities) GetWorkspaceSymbolProvider() bool
func (*ServerCapabilities) ProtoMessage ¶
func (*ServerCapabilities) ProtoMessage()
func (*ServerCapabilities) ProtoReflect ¶
func (x *ServerCapabilities) ProtoReflect() protoreflect.Message
func (*ServerCapabilities) Reset ¶
func (x *ServerCapabilities) Reset()
func (*ServerCapabilities) String ¶
func (x *ServerCapabilities) String() string
type ServerCapabilities_CodeActionOptions ¶
type ServerCapabilities_CodeActionOptions struct {
CodeActionOptions *CodeActionOptions `protobuf:"bytes,25,opt,name=code_action_options,json=codeActionOptions,proto3,oneof"`
}
type ServerCapabilities_DeclarationOptions ¶
type ServerCapabilities_DeclarationOptions struct {
DeclarationOptions *DeclarationOptions `protobuf:"bytes,8,opt,name=declaration_options,json=declarationOptions,proto3,oneof"`
}
type ServerCapabilities_DeclarationRegistrationOptions ¶
type ServerCapabilities_DeclarationRegistrationOptions struct {
DeclarationRegistrationOptions *DeclarationRegistrationOptions `protobuf:"bytes,9,opt,name=declaration_registration_options,json=declarationRegistrationOptions,proto3,oneof"`
}
type ServerCapabilities_DefinitionOptions ¶
type ServerCapabilities_DefinitionOptions struct {
DefinitionOptions *DefinitionOptions `protobuf:"bytes,11,opt,name=definition_options,json=definitionOptions,proto3,oneof"`
}
type ServerCapabilities_DocumentColorOptions ¶
type ServerCapabilities_DocumentColorOptions struct {
DocumentColorOptions *DocumentColorOptions `protobuf:"bytes,29,opt,name=document_color_options,json=documentColorOptions,proto3,oneof"`
}
type ServerCapabilities_DocumentColorRegistrationOptions ¶
type ServerCapabilities_DocumentColorRegistrationOptions struct {
DocumentColorRegistrationOptions *DocumentColorRegistrationOptions `protobuf:"bytes,30,opt,name=document_color_registration_options,json=documentColorRegistrationOptions,proto3,oneof"`
}
type ServerCapabilities_DocumentFormattingOptions ¶
type ServerCapabilities_DocumentFormattingOptions struct {
DocumentFormattingOptions *DocumentFormattingOptions `protobuf:"bytes,32,opt,name=document_formatting_options,json=documentFormattingOptions,proto3,oneof"`
}
type ServerCapabilities_DocumentHighlightOptions ¶
type ServerCapabilities_DocumentHighlightOptions struct {
DocumentHighlightOptions *DocumentHighlightOptions `protobuf:"bytes,21,opt,name=document_highlight_options,json=documentHighlightOptions,proto3,oneof"`
}
type ServerCapabilities_DocumentRangeFormattingOptions ¶
type ServerCapabilities_DocumentRangeFormattingOptions struct {
DocumentRangeFormattingOptions *DocumentRangeFormattingOptions `protobuf:"bytes,34,opt,name=document_range_formatting_options,json=documentRangeFormattingOptions,proto3,oneof"`
}
type ServerCapabilities_DocumentSymbolOptions ¶
type ServerCapabilities_DocumentSymbolOptions struct {
DocumentSymbolOptions *DocumentSymbolOptions `protobuf:"bytes,23,opt,name=document_symbol_options,json=documentSymbolOptions,proto3,oneof"`
}
type ServerCapabilities_EnableCodeActionProvider ¶
type ServerCapabilities_EnableCodeActionProvider struct {
EnableCodeActionProvider bool `protobuf:"varint,24,opt,name=enable_code_action_provider,json=enableCodeActionProvider,proto3,oneof"`
}
type ServerCapabilities_EnableColorProvider ¶
type ServerCapabilities_EnableColorProvider struct {
EnableColorProvider bool `protobuf:"varint,28,opt,name=enable_color_provider,json=enableColorProvider,proto3,oneof"`
}
type ServerCapabilities_EnableDeclarationProvider ¶
type ServerCapabilities_EnableDeclarationProvider struct {
EnableDeclarationProvider bool `protobuf:"varint,7,opt,name=enable_declaration_provider,json=enableDeclarationProvider,proto3,oneof"`
}
type ServerCapabilities_EnableDefinitionProvider ¶
type ServerCapabilities_EnableDefinitionProvider struct {
EnableDefinitionProvider bool `protobuf:"varint,10,opt,name=enable_definition_provider,json=enableDefinitionProvider,proto3,oneof"`
}
type ServerCapabilities_EnableDocumentFormattingProvider ¶
type ServerCapabilities_EnableDocumentFormattingProvider struct {
EnableDocumentFormattingProvider bool `protobuf:"varint,31,opt,name=enable_document_formatting_provider,json=enableDocumentFormattingProvider,proto3,oneof"`
}
type ServerCapabilities_EnableDocumentHighlightProvider ¶
type ServerCapabilities_EnableDocumentHighlightProvider struct {
EnableDocumentHighlightProvider bool `protobuf:"varint,20,opt,name=enable_document_highlight_provider,json=enableDocumentHighlightProvider,proto3,oneof"`
}
type ServerCapabilities_EnableDocumentRangeFormattingProvider ¶
type ServerCapabilities_EnableDocumentRangeFormattingProvider struct {
EnableDocumentRangeFormattingProvider bool `` /* 127-byte string literal not displayed */
}
type ServerCapabilities_EnableDocumentSymbolProvider ¶
type ServerCapabilities_EnableDocumentSymbolProvider struct {
EnableDocumentSymbolProvider bool `protobuf:"varint,22,opt,name=enable_document_symbol_provider,json=enableDocumentSymbolProvider,proto3,oneof"`
}
type ServerCapabilities_EnableFoldingRangeProvider ¶
type ServerCapabilities_EnableFoldingRangeProvider struct {
EnableFoldingRangeProvider bool `protobuf:"varint,38,opt,name=enable_folding_range_provider,json=enableFoldingRangeProvider,proto3,oneof"`
}
type ServerCapabilities_EnableHoverProvider ¶
type ServerCapabilities_EnableHoverProvider struct {
EnableHoverProvider bool `protobuf:"varint,4,opt,name=enable_hover_provider,json=enableHoverProvider,proto3,oneof"`
}
type ServerCapabilities_EnableImplementationProvider ¶
type ServerCapabilities_EnableImplementationProvider struct {
EnableImplementationProvider bool `protobuf:"varint,15,opt,name=enable_implementation_provider,json=enableImplementationProvider,proto3,oneof"`
}
type ServerCapabilities_EnableReferencesProvider ¶
type ServerCapabilities_EnableReferencesProvider struct {
EnableReferencesProvider bool `protobuf:"varint,18,opt,name=enable_references_provider,json=enableReferencesProvider,proto3,oneof"`
}
type ServerCapabilities_EnableRenameProvider ¶
type ServerCapabilities_EnableRenameProvider struct {
EnableRenameProvider bool `protobuf:"varint,36,opt,name=enable_rename_provider,json=enableRenameProvider,proto3,oneof"`
}
type ServerCapabilities_EnableSelectionRangeProvider ¶
type ServerCapabilities_EnableSelectionRangeProvider struct {
EnableSelectionRangeProvider bool `protobuf:"varint,42,opt,name=enable_selection_range_provider,json=enableSelectionRangeProvider,proto3,oneof"`
}
type ServerCapabilities_EnableTypeDefinitionProvider ¶
type ServerCapabilities_EnableTypeDefinitionProvider struct {
EnableTypeDefinitionProvider bool `protobuf:"varint,12,opt,name=enable_type_definition_provider,json=enableTypeDefinitionProvider,proto3,oneof"`
}
type ServerCapabilities_FoldingRangeOptions ¶
type ServerCapabilities_FoldingRangeOptions struct {
FoldingRangeOptions *FoldingRangeOptions `protobuf:"bytes,39,opt,name=folding_range_options,json=foldingRangeOptions,proto3,oneof"`
}
type ServerCapabilities_FoldingRangeRegistrationOptions ¶
type ServerCapabilities_FoldingRangeRegistrationOptions struct {
FoldingRangeRegistrationOptions *FoldingRangeRegistrationOptions `protobuf:"bytes,40,opt,name=folding_range_registration_options,json=foldingRangeRegistrationOptions,proto3,oneof"`
}
type ServerCapabilities_HoverOptions ¶
type ServerCapabilities_HoverOptions struct {
HoverOptions *HoverOptions `protobuf:"bytes,5,opt,name=hover_options,json=hoverOptions,proto3,oneof"`
}
type ServerCapabilities_ImplementationOptions ¶
type ServerCapabilities_ImplementationOptions struct {
ImplementationOptions *ImplementationOptions `protobuf:"bytes,16,opt,name=implementation_options,json=implementationOptions,proto3,oneof"`
}
type ServerCapabilities_ImplementationRegistrationOptions ¶
type ServerCapabilities_ImplementationRegistrationOptions struct {
ImplementationRegistrationOptions *ImplementationRegistrationOptions `protobuf:"bytes,17,opt,name=implementation_registration_options,json=implementationRegistrationOptions,proto3,oneof"`
}
type ServerCapabilities_ReferenceOptions ¶
type ServerCapabilities_ReferenceOptions struct {
ReferenceOptions *ReferenceOptions `protobuf:"bytes,19,opt,name=reference_options,json=referenceOptions,proto3,oneof"`
}
type ServerCapabilities_RenameOptions ¶
type ServerCapabilities_RenameOptions struct {
RenameOptions *RenameOptions `protobuf:"bytes,37,opt,name=rename_options,json=renameOptions,proto3,oneof"`
}
type ServerCapabilities_SelectionRangeOptions ¶
type ServerCapabilities_SelectionRangeOptions struct {
SelectionRangeOptions *SelectionRangeOptions `protobuf:"bytes,43,opt,name=selection_range_options,json=selectionRangeOptions,proto3,oneof"`
}
type ServerCapabilities_SelectionRangeRegistrationOptions ¶
type ServerCapabilities_SelectionRangeRegistrationOptions struct {
SelectionRangeRegistrationOptions *SelectionRangeRegistrationOptions `protobuf:"bytes,44,opt,name=selection_range_registration_options,json=selectionRangeRegistrationOptions,proto3,oneof"`
}
type ServerCapabilities_TextDocumentSyncKind ¶
type ServerCapabilities_TextDocumentSyncKind struct {
TextDocumentSyncKind TextDocumentSyncKind `` /* 130-byte string literal not displayed */
}
type ServerCapabilities_TextDocumentSyncOptions ¶
type ServerCapabilities_TextDocumentSyncOptions struct {
TextDocumentSyncOptions *TextDocumentSyncOptions `protobuf:"bytes,1,opt,name=text_document_sync_options,json=textDocumentSyncOptions,proto3,oneof"`
}
type ServerCapabilities_TypeDefinitionOptions ¶
type ServerCapabilities_TypeDefinitionOptions struct {
TypeDefinitionOptions *TypeDefinitionOptions `protobuf:"bytes,13,opt,name=type_definition_options,json=typeDefinitionOptions,proto3,oneof"`
}
type ServerCapabilities_TypeDefinitionRegistrationOptions ¶
type ServerCapabilities_TypeDefinitionRegistrationOptions struct {
TypeDefinitionRegistrationOptions *TypeDefinitionRegistrationOptions `protobuf:"bytes,14,opt,name=type_definition_registration_options,json=typeDefinitionRegistrationOptions,proto3,oneof"`
}
type ServerCapabilities_Workspace ¶
type ServerCapabilities_Workspace struct { // Optional. The server supports workspace folder. // // @since 3.6.0 WorkspaceFolders *WorkspaceFoldersServerCapabilities `protobuf:"bytes,1,opt,name=workspace_folders,json=workspaceFolders,proto3" json:"workspace_folders,omitempty"` // contains filtered or unexported fields }
Workspace specific server capabilities
func (*ServerCapabilities_Workspace) Descriptor
deprecated
func (*ServerCapabilities_Workspace) Descriptor() ([]byte, []int)
Deprecated: Use ServerCapabilities_Workspace.ProtoReflect.Descriptor instead.
func (*ServerCapabilities_Workspace) GetWorkspaceFolders ¶
func (x *ServerCapabilities_Workspace) GetWorkspaceFolders() *WorkspaceFoldersServerCapabilities
func (*ServerCapabilities_Workspace) ProtoMessage ¶
func (*ServerCapabilities_Workspace) ProtoMessage()
func (*ServerCapabilities_Workspace) ProtoReflect ¶
func (x *ServerCapabilities_Workspace) ProtoReflect() protoreflect.Message
func (*ServerCapabilities_Workspace) Reset ¶
func (x *ServerCapabilities_Workspace) Reset()
func (*ServerCapabilities_Workspace) String ¶
func (x *ServerCapabilities_Workspace) String() string
type SetTraceRequest ¶
type SetTraceRequest struct { // The new value that should be assigned to the trace setting. Value protocol.TraceValue `protobuf:"varint,1,opt,name=value,proto3,enum=protocol.TraceValue" json:"value,omitempty"` // contains filtered or unexported fields }
SetTraceRequest represents a `$/setTrace` notification params.
func (*SetTraceRequest) Descriptor
deprecated
func (*SetTraceRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetTraceRequest.ProtoReflect.Descriptor instead.
func (*SetTraceRequest) GetValue ¶
func (x *SetTraceRequest) GetValue() protocol.TraceValue
func (*SetTraceRequest) ProtoMessage ¶
func (*SetTraceRequest) ProtoMessage()
func (*SetTraceRequest) ProtoReflect ¶
func (x *SetTraceRequest) ProtoReflect() protoreflect.Message
func (*SetTraceRequest) Reset ¶
func (x *SetTraceRequest) Reset()
func (*SetTraceRequest) String ¶
func (x *SetTraceRequest) String() string
type ShowMessageRequestParams ¶
type ShowMessageRequestParams struct { // The message type. See [MessageType][MessageType]. Type MessageType `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.rpc.MessageType" json:"type,omitempty"` // The actual message. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
ShowMessageRequestParams represents a `window/showMessage` notification params.
func (*ShowMessageRequestParams) Descriptor
deprecated
func (*ShowMessageRequestParams) Descriptor() ([]byte, []int)
Deprecated: Use ShowMessageRequestParams.ProtoReflect.Descriptor instead.
func (*ShowMessageRequestParams) GetMessage ¶
func (x *ShowMessageRequestParams) GetMessage() string
func (*ShowMessageRequestParams) GetType ¶
func (x *ShowMessageRequestParams) GetType() MessageType
func (*ShowMessageRequestParams) ProtoMessage ¶
func (*ShowMessageRequestParams) ProtoMessage()
func (*ShowMessageRequestParams) ProtoReflect ¶
func (x *ShowMessageRequestParams) ProtoReflect() protoreflect.Message
func (*ShowMessageRequestParams) Reset ¶
func (x *ShowMessageRequestParams) Reset()
func (*ShowMessageRequestParams) String ¶
func (x *ShowMessageRequestParams) String() string
type ShowMessageRequestRequest ¶
type ShowMessageRequestRequest struct { // The message type. See [MessageType][MessageType]. Type MessageType `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.rpc.MessageType" json:"type,omitempty"` // The actual message. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // The message action items to present. Actions []*MessageActionItem `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty"` // contains filtered or unexported fields }
ShowMessageRequestRequest represents a `window/showMessageRequest` request params.
func (*ShowMessageRequestRequest) Descriptor
deprecated
func (*ShowMessageRequestRequest) Descriptor() ([]byte, []int)
Deprecated: Use ShowMessageRequestRequest.ProtoReflect.Descriptor instead.
func (*ShowMessageRequestRequest) GetActions ¶
func (x *ShowMessageRequestRequest) GetActions() []*MessageActionItem
func (*ShowMessageRequestRequest) GetMessage ¶
func (x *ShowMessageRequestRequest) GetMessage() string
func (*ShowMessageRequestRequest) GetType ¶
func (x *ShowMessageRequestRequest) GetType() MessageType
func (*ShowMessageRequestRequest) ProtoMessage ¶
func (*ShowMessageRequestRequest) ProtoMessage()
func (*ShowMessageRequestRequest) ProtoReflect ¶
func (x *ShowMessageRequestRequest) ProtoReflect() protoreflect.Message
func (*ShowMessageRequestRequest) Reset ¶
func (x *ShowMessageRequestRequest) Reset()
func (*ShowMessageRequestRequest) String ¶
func (x *ShowMessageRequestRequest) String() string
type ShowMessageResponse ¶
type ShowMessageResponse struct { // Types that are assignable to ShowMessageResponse: // *ShowMessageResponse_MessageActionItem // *ShowMessageResponse_Empty // *ShowMessageResponse_Error ShowMessageResponse isShowMessageResponse_ShowMessageResponse `protobuf_oneof:"show_message_response"` // contains filtered or unexported fields }
ShowMessageResponse represents a ShowMessage response.
func (*ShowMessageResponse) Descriptor
deprecated
func (*ShowMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use ShowMessageResponse.ProtoReflect.Descriptor instead.
func (*ShowMessageResponse) GetEmpty ¶
func (x *ShowMessageResponse) GetEmpty() _struct.NullValue
func (*ShowMessageResponse) GetError ¶
func (x *ShowMessageResponse) GetError() *protocol.Error
func (*ShowMessageResponse) GetMessageActionItem ¶
func (x *ShowMessageResponse) GetMessageActionItem() *MessageActionItem
func (*ShowMessageResponse) GetShowMessageResponse ¶
func (m *ShowMessageResponse) GetShowMessageResponse() isShowMessageResponse_ShowMessageResponse
func (*ShowMessageResponse) ProtoMessage ¶
func (*ShowMessageResponse) ProtoMessage()
func (*ShowMessageResponse) ProtoReflect ¶
func (x *ShowMessageResponse) ProtoReflect() protoreflect.Message
func (*ShowMessageResponse) Reset ¶
func (x *ShowMessageResponse) Reset()
func (*ShowMessageResponse) String ¶
func (x *ShowMessageResponse) String() string
type ShowMessageResponse_MessageActionItem ¶
type ShowMessageResponse_MessageActionItem struct {
MessageActionItem *MessageActionItem `protobuf:"bytes,1,opt,name=message_action_item,json=messageActionItem,proto3,oneof"`
}
type SignatureHelp ¶
type SignatureHelp struct { // One or more signatures. If no signatures are available the signature help // request should return `null`. Signatures []*SignatureInformation `protobuf:"bytes,1,rep,name=signatures,proto3" json:"signatures,omitempty"` // The active signature. If omitted or the value lies outside the // range of `signatures` the value defaults to zero or is ignore if // the `SignatureHelp` as no signatures. // // Whenever possible implementors should make an active decision about // the active signature and shouldn't rely on a default value. // // In future version of the protocol this property might become // mandatory to better express this. ActiveSignature *wrappers.Int32Value `protobuf:"bytes,2,opt,name=active_signature,json=activeSignature,proto3" json:"active_signature,omitempty"` // The active parameter of the active signature. If omitted or the value // lies outside the range of `signatures[activeSignature].parameters` // defaults to 0 if the active signature has parameters. If // the active signature has no parameters it is ignored. // In future version of the protocol this property might become // mandatory to better express the active parameter if the // active signature does have any. ActiveParameter *wrappers.Int32Value `protobuf:"bytes,3,opt,name=active_parameter,json=activeParameter,proto3" json:"active_parameter,omitempty"` // contains filtered or unexported fields }
SignatureHelp represents the signature of something callable. There can be multiple signature but only one active and only one active parameter.
func (*SignatureHelp) Descriptor
deprecated
func (*SignatureHelp) Descriptor() ([]byte, []int)
Deprecated: Use SignatureHelp.ProtoReflect.Descriptor instead.
func (*SignatureHelp) GetActiveParameter ¶
func (x *SignatureHelp) GetActiveParameter() *wrappers.Int32Value
func (*SignatureHelp) GetActiveSignature ¶
func (x *SignatureHelp) GetActiveSignature() *wrappers.Int32Value
func (*SignatureHelp) GetSignatures ¶
func (x *SignatureHelp) GetSignatures() []*SignatureInformation
func (*SignatureHelp) ProtoMessage ¶
func (*SignatureHelp) ProtoMessage()
func (*SignatureHelp) ProtoReflect ¶
func (x *SignatureHelp) ProtoReflect() protoreflect.Message
func (*SignatureHelp) Reset ¶
func (x *SignatureHelp) Reset()
func (*SignatureHelp) String ¶
func (x *SignatureHelp) String() string
type SignatureHelpClientCapabilities ¶
type SignatureHelpClientCapabilities struct { // Optional. Whether signature help supports dynamic registration. DynamicRegistration bool `protobuf:"varint,1,opt,name=dynamic_registration,json=dynamicRegistration,proto3" json:"dynamic_registration,omitempty"` SignatureInformation *SignatureHelpClientCapabilities_SignatureInformation `protobuf:"bytes,2,opt,name=signature_information,json=signatureInformation,proto3" json:"signature_information,omitempty"` // Optional. The client supports to send additional context information for a // `textDocument/signatureHelp` request. A client that opts into // contextSupport will also support the `retriggerCharacters` on // `SignatureHelpOptions`. // // @since 3.15.0 ContextSupport bool `protobuf:"varint,3,opt,name=context_support,json=contextSupport,proto3" json:"context_support,omitempty"` // contains filtered or unexported fields }
SignatureHelpClientCapabilities represents a client capabilities of `textDocument/signatureHelp` request.
func (*SignatureHelpClientCapabilities) Descriptor
deprecated
func (*SignatureHelpClientCapabilities) Descriptor() ([]byte, []int)
Deprecated: Use SignatureHelpClientCapabilities.ProtoReflect.Descriptor instead.
func (*SignatureHelpClientCapabilities) GetContextSupport ¶
func (x *SignatureHelpClientCapabilities) GetContextSupport() bool
func (*SignatureHelpClientCapabilities) GetDynamicRegistration ¶
func (x *SignatureHelpClientCapabilities) GetDynamicRegistration() bool
func (*SignatureHelpClientCapabilities) GetSignatureInformation ¶
func (x *SignatureHelpClientCapabilities) GetSignatureInformation() *SignatureHelpClientCapabilities_SignatureInformation
func (*SignatureHelpClientCapabilities) ProtoMessage ¶
func (*SignatureHelpClientCapabilities) ProtoMessage()
func (*SignatureHelpClientCapabilities) ProtoReflect ¶
func (x *SignatureHelpClientCapabilities) ProtoReflect() protoreflect.Message
func (*SignatureHelpClientCapabilities) Reset ¶
func (x *SignatureHelpClientCapabilities) Reset()
func (*SignatureHelpClientCapabilities) String ¶
func (x *SignatureHelpClientCapabilities) String() string
type SignatureHelpClientCapabilities_SignatureInformation ¶
type SignatureHelpClientCapabilities_SignatureInformation struct { // Client supports the follow content formats for the documentation // property. The order describes the preferred format of the client. DocumentationFormat []protocol.MarkupKind `` /* 151-byte string literal not displayed */ // Client capabilities specific to parameter information. ParameterInformation *SignatureHelpClientCapabilities_SignatureInformation_ParameterInformation `protobuf:"bytes,2,opt,name=parameter_information,json=parameterInformation,proto3" json:"parameter_information,omitempty"` // Optional. The client support the `activeParameter` property on `SignatureInformation` // literal. // // @since 3.16.0 - proposed state ActiveParameterSupport bool `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
The client supports the following `SignatureInformation` specific properties.
func (*SignatureHelpClientCapabilities_SignatureInformation) Descriptor
deprecated
func (*SignatureHelpClientCapabilities_SignatureInformation) Descriptor() ([]byte, []int)
Deprecated: Use SignatureHelpClientCapabilities_SignatureInformation.ProtoReflect.Descriptor instead.
func (*SignatureHelpClientCapabilities_SignatureInformation) GetActiveParameterSupport ¶
func (x *SignatureHelpClientCapabilities_SignatureInformation) GetActiveParameterSupport() bool
func (*SignatureHelpClientCapabilities_SignatureInformation) GetDocumentationFormat ¶
func (x *SignatureHelpClientCapabilities_SignatureInformation) GetDocumentationFormat() []protocol.MarkupKind
func (*SignatureHelpClientCapabilities_SignatureInformation) GetParameterInformation ¶
func (x *SignatureHelpClientCapabilities_SignatureInformation) GetParameterInformation() *SignatureHelpClientCapabilities_SignatureInformation_ParameterInformation
func (*SignatureHelpClientCapabilities_SignatureInformation) ProtoMessage ¶
func (*SignatureHelpClientCapabilities_SignatureInformation) ProtoMessage()
func (*SignatureHelpClientCapabilities_SignatureInformation) ProtoReflect ¶
func (x *SignatureHelpClientCapabilities_SignatureInformation) ProtoReflect() protoreflect.Message
func (*SignatureHelpClientCapabilities_SignatureInformation) Reset ¶
func (x *SignatureHelpClientCapabilities_SignatureInformation) Reset()
func (*SignatureHelpClientCapabilities_SignatureInformation) String ¶
func (x *SignatureHelpClientCapabilities_SignatureInformation) String() string
type SignatureHelpClientCapabilities_SignatureInformation_ParameterInformation ¶
type SignatureHelpClientCapabilities_SignatureInformation_ParameterInformation struct { // Optional. The client supports processing label offsets instead of a // simple label string. // // @since 3.14.0 LabelOffsetSupport bool `protobuf:"varint,1,opt,name=label_offset_support,json=labelOffsetSupport,proto3" json:"label_offset_support,omitempty"` // contains filtered or unexported fields }
func (*SignatureHelpClientCapabilities_SignatureInformation_ParameterInformation) Descriptor
deprecated
func (*SignatureHelpClientCapabilities_SignatureInformation_ParameterInformation) Descriptor() ([]byte, []int)
Deprecated: Use SignatureHelpClientCapabilities_SignatureInformation_ParameterInformation.ProtoReflect.Descriptor instead.
func (*SignatureHelpClientCapabilities_SignatureInformation_ParameterInformation) GetLabelOffsetSupport ¶
func (x *SignatureHelpClientCapabilities_SignatureInformation_ParameterInformation) GetLabelOffsetSupport() bool
func (*SignatureHelpClientCapabilities_SignatureInformation_ParameterInformation) ProtoMessage ¶
func (*SignatureHelpClientCapabilities_SignatureInformation_ParameterInformation) ProtoMessage()
func (*SignatureHelpClientCapabilities_SignatureInformation_ParameterInformation) ProtoReflect ¶
func (x *SignatureHelpClientCapabilities_SignatureInformation_ParameterInformation) ProtoReflect() protoreflect.Message
func (*SignatureHelpClientCapabilities_SignatureInformation_ParameterInformation) String ¶
func (x *SignatureHelpClientCapabilities_SignatureInformation_ParameterInformation) String() string
type SignatureHelpContext ¶
type SignatureHelpContext struct { // Action that caused signature help to be triggered. TriggerKind SignatureHelpContext_SignatureHelpTriggerKind `` /* 159-byte string literal not displayed */ // Character that caused signature help to be triggered. // // This is undefined when `trigger_kind !== SignatureHelpTriggerKind.TriggerCharacter` TriggerCharacter string `protobuf:"bytes,2,opt,name=trigger_character,json=triggerCharacter,proto3" json:"trigger_character,omitempty"` // `true` if signature help was already showing when it was triggered. // // Retriggers occur when the signature help is already active and can be caused by actions such as // typing a trigger character, a cursor move, or document content changes. IsRetrigger bool `protobuf:"varint,3,opt,name=is_retrigger,json=isRetrigger,proto3" json:"is_retrigger,omitempty"` // The currently active `SignatureHelp`. // // The `activeSignatureHelp` has its `SignatureHelp.activeSignature` field updated based on // the user navigating through available signatures. ActiveSignatureHelp *SignatureHelp `protobuf:"bytes,4,opt,name=active_signature_help,json=activeSignatureHelp,proto3" json:"active_signature_help,omitempty"` // contains filtered or unexported fields }
Additional information about the context in which a signature help request was triggered.
@since 3.15.0
func (*SignatureHelpContext) Descriptor
deprecated
func (*SignatureHelpContext) Descriptor() ([]byte, []int)
Deprecated: Use SignatureHelpContext.ProtoReflect.Descriptor instead.
func (*SignatureHelpContext) GetActiveSignatureHelp ¶
func (x *SignatureHelpContext) GetActiveSignatureHelp() *SignatureHelp
func (*SignatureHelpContext) GetIsRetrigger ¶
func (x *SignatureHelpContext) GetIsRetrigger() bool
func (*SignatureHelpContext) GetTriggerCharacter ¶
func (x *SignatureHelpContext) GetTriggerCharacter() string
func (*SignatureHelpContext) GetTriggerKind ¶
func (x *SignatureHelpContext) GetTriggerKind() SignatureHelpContext_SignatureHelpTriggerKind
func (*SignatureHelpContext) ProtoMessage ¶
func (*SignatureHelpContext) ProtoMessage()
func (*SignatureHelpContext) ProtoReflect ¶
func (x *SignatureHelpContext) ProtoReflect() protoreflect.Message
func (*SignatureHelpContext) Reset ¶
func (x *SignatureHelpContext) Reset()
func (*SignatureHelpContext) String ¶
func (x *SignatureHelpContext) String() string
type SignatureHelpContext_SignatureHelpTriggerKind ¶
type SignatureHelpContext_SignatureHelpTriggerKind int32
SignatureHelpTriggerKind how a signature help was triggered.
@since 3.15.0
const ( // Conventional default for enums. Do not use this. SignatureHelpContext_SIGNATURE_HELP_TRIGGER_KIND_UNSPECIFIED SignatureHelpContext_SignatureHelpTriggerKind = 0 // Signature help was invoked manually by the user or by a command. SignatureHelpContext_INVOKED SignatureHelpContext_SignatureHelpTriggerKind = 1 // Signature help was triggered by a trigger character. SignatureHelpContext_TRIGGER_CHARACTER SignatureHelpContext_SignatureHelpTriggerKind = 2 // Signature help was triggered by the cursor moving or by the document content changing. SignatureHelpContext_CONTENT_CHANGE SignatureHelpContext_SignatureHelpTriggerKind = 3 )
func (SignatureHelpContext_SignatureHelpTriggerKind) Descriptor ¶
func (SignatureHelpContext_SignatureHelpTriggerKind) Descriptor() protoreflect.EnumDescriptor
func (SignatureHelpContext_SignatureHelpTriggerKind) EnumDescriptor
deprecated
func (SignatureHelpContext_SignatureHelpTriggerKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use SignatureHelpContext_SignatureHelpTriggerKind.Descriptor instead.
func (SignatureHelpContext_SignatureHelpTriggerKind) Number ¶
func (x SignatureHelpContext_SignatureHelpTriggerKind) Number() protoreflect.EnumNumber
func (SignatureHelpContext_SignatureHelpTriggerKind) String ¶
func (x SignatureHelpContext_SignatureHelpTriggerKind) String() string
type SignatureHelpOptions ¶
type SignatureHelpOptions struct { // extends WorkDoneProgressOptions *protocol.WorkDoneProgressOptions `` /* 134-byte string literal not displayed */ // The characters that trigger signature help // automatically. TriggerCharacters []string `protobuf:"bytes,2,rep,name=trigger_characters,json=triggerCharacters,proto3" json:"trigger_characters,omitempty"` // List of characters that re-trigger signature help. // // These trigger characters are only active when signature help is already showing. All trigger // characters are also counted as re-trigger characters. // // @since 3.15.0 RetriggerCharacters []string `protobuf:"bytes,3,rep,name=retrigger_characters,json=retriggerCharacters,proto3" json:"retrigger_characters,omitempty"` // contains filtered or unexported fields }
SignatureHelpOptions represents a server capabilities option of signatureHelpProvider.
func (*SignatureHelpOptions) Descriptor
deprecated
func (*SignatureHelpOptions) Descriptor() ([]byte, []int)
Deprecated: Use SignatureHelpOptions.ProtoReflect.Descriptor instead.
func (*SignatureHelpOptions) GetRetriggerCharacters ¶
func (x *SignatureHelpOptions) GetRetriggerCharacters() []string
func (*SignatureHelpOptions) GetTriggerCharacters ¶
func (x *SignatureHelpOptions) GetTriggerCharacters() []string
func (*SignatureHelpOptions) GetWorkDoneProgressOptions ¶
func (x *SignatureHelpOptions) GetWorkDoneProgressOptions() *protocol.WorkDoneProgressOptions
func (*SignatureHelpOptions) ProtoMessage ¶
func (*SignatureHelpOptions) ProtoMessage()
func (*SignatureHelpOptions) ProtoReflect ¶
func (x *SignatureHelpOptions) ProtoReflect() protoreflect.Message
func (*SignatureHelpOptions) Reset ¶
func (x *SignatureHelpOptions) Reset()
func (*SignatureHelpOptions) String ¶
func (x *SignatureHelpOptions) String() string
type SignatureHelpRegistrationOptions ¶
type SignatureHelpRegistrationOptions struct { // extends TextDocumentRegistrationOptions *protocol.TextDocumentRegistrationOptions `` /* 158-byte string literal not displayed */ // extends SignatureHelpOptions *SignatureHelpOptions `protobuf:"bytes,2,opt,name=signature_help_options,json=signatureHelpOptions,proto3" json:"signature_help_options,omitempty"` // contains filtered or unexported fields }
SignatureHelpRegistrationOptions represents a registration option of SignatureHelp.
func (*SignatureHelpRegistrationOptions) Descriptor
deprecated
func (*SignatureHelpRegistrationOptions) Descriptor() ([]byte, []int)
Deprecated: Use SignatureHelpRegistrationOptions.ProtoReflect.Descriptor instead.
func (*SignatureHelpRegistrationOptions) GetSignatureHelpOptions ¶
func (x *SignatureHelpRegistrationOptions) GetSignatureHelpOptions() *SignatureHelpOptions
func (*SignatureHelpRegistrationOptions) GetTextDocumentRegistrationOptions ¶
func (x *SignatureHelpRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
func (*SignatureHelpRegistrationOptions) ProtoMessage ¶
func (*SignatureHelpRegistrationOptions) ProtoMessage()
func (*SignatureHelpRegistrationOptions) ProtoReflect ¶
func (x *SignatureHelpRegistrationOptions) ProtoReflect() protoreflect.Message
func (*SignatureHelpRegistrationOptions) Reset ¶
func (x *SignatureHelpRegistrationOptions) Reset()
func (*SignatureHelpRegistrationOptions) String ¶
func (x *SignatureHelpRegistrationOptions) String() string
type SignatureHelpRequest ¶
type SignatureHelpRequest struct { // extends TextDocumentPositionParams *protocol.TextDocumentPositionParams `` /* 143-byte string literal not displayed */ // extends WorkDoneProgressParams *WorkDoneProgressParams `` /* 131-byte string literal not displayed */ // The signature help context. This is only available if the client specifies // to send this using the client capability `textDocument.signatureHelp.contextSupport === true` // // @since 3.15.0 Context *SignatureHelpContext `protobuf:"bytes,3,opt,name=context,proto3" json:"context,omitempty"` // contains filtered or unexported fields }
SignatureHelpRequest is the parameters of a `textDocument/signatureHelp` request.
func (*SignatureHelpRequest) Descriptor
deprecated
func (*SignatureHelpRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignatureHelpRequest.ProtoReflect.Descriptor instead.
func (*SignatureHelpRequest) GetContext ¶
func (x *SignatureHelpRequest) GetContext() *SignatureHelpContext
func (*SignatureHelpRequest) GetTextDocumentPositionParams ¶
func (x *SignatureHelpRequest) GetTextDocumentPositionParams() *protocol.TextDocumentPositionParams
func (*SignatureHelpRequest) GetWorkDoneProgressParams ¶
func (x *SignatureHelpRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
func (*SignatureHelpRequest) ProtoMessage ¶
func (*SignatureHelpRequest) ProtoMessage()
func (*SignatureHelpRequest) ProtoReflect ¶
func (x *SignatureHelpRequest) ProtoReflect() protoreflect.Message
func (*SignatureHelpRequest) Reset ¶
func (x *SignatureHelpRequest) Reset()
func (*SignatureHelpRequest) String ¶
func (x *SignatureHelpRequest) String() string
type SignatureHelpResponse ¶
type SignatureHelpResponse struct { // Types that are assignable to CompletionItemResolveResponse: // *SignatureHelpResponse_SignatureHelp // *SignatureHelpResponse_Empty // *SignatureHelpResponse_Error CompletionItemResolveResponse isSignatureHelpResponse_CompletionItemResolveResponse `protobuf_oneof:"completion_item_resolve_response"` // contains filtered or unexported fields }
SignatureHelpResponse represents a SignatureHelp response.
func (*SignatureHelpResponse) Descriptor
deprecated
func (*SignatureHelpResponse) Descriptor() ([]byte, []int)
Deprecated: Use SignatureHelpResponse.ProtoReflect.Descriptor instead.
func (*SignatureHelpResponse) GetCompletionItemResolveResponse ¶
func (m *SignatureHelpResponse) GetCompletionItemResolveResponse() isSignatureHelpResponse_CompletionItemResolveResponse
func (*SignatureHelpResponse) GetEmpty ¶
func (x *SignatureHelpResponse) GetEmpty() _struct.NullValue
func (*SignatureHelpResponse) GetError ¶
func (x *SignatureHelpResponse) GetError() *protocol.Error
func (*SignatureHelpResponse) GetSignatureHelp ¶
func (x *SignatureHelpResponse) GetSignatureHelp() *SignatureHelp
func (*SignatureHelpResponse) ProtoMessage ¶
func (*SignatureHelpResponse) ProtoMessage()
func (*SignatureHelpResponse) ProtoReflect ¶
func (x *SignatureHelpResponse) ProtoReflect() protoreflect.Message
func (*SignatureHelpResponse) Reset ¶
func (x *SignatureHelpResponse) Reset()
func (*SignatureHelpResponse) String ¶
func (x *SignatureHelpResponse) String() string
type SignatureHelpResponse_SignatureHelp ¶
type SignatureHelpResponse_SignatureHelp struct {
SignatureHelp *SignatureHelp `protobuf:"bytes,1,opt,name=signature_help,json=signatureHelp,proto3,oneof"`
}
type SignatureInformation ¶
type SignatureInformation struct { // The label of this signature. Will be shown in // the UI. Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` // The human-readable doc-comment of this signature. Will be shown // in the UI but can be omitted. // // Types that are assignable to Documentation: // *SignatureInformation_Markup // *SignatureInformation_MarkupContent Documentation isSignatureInformation_Documentation `protobuf_oneof:"documentation"` // The parameters of this signature. Parameters []*ParameterInformation `protobuf:"bytes,4,rep,name=parameters,proto3" json:"parameters,omitempty"` // The index of the active parameter. // // If provided, this is used in place of `SignatureHelp.activeParameter`. // // @since 3.16.0 - proposed state ActiveParameter *wrappers.Int32Value `protobuf:"bytes,5,opt,name=active_parameter,json=activeParameter,proto3" json:"active_parameter,omitempty"` // contains filtered or unexported fields }
SignatureInformation represents the signature of something callable. A signature can have a label, like a function-name, a doc-comment, and a set of parameters.
func (*SignatureInformation) Descriptor
deprecated
func (*SignatureInformation) Descriptor() ([]byte, []int)
Deprecated: Use SignatureInformation.ProtoReflect.Descriptor instead.
func (*SignatureInformation) GetActiveParameter ¶
func (x *SignatureInformation) GetActiveParameter() *wrappers.Int32Value
func (*SignatureInformation) GetDocumentation ¶
func (m *SignatureInformation) GetDocumentation() isSignatureInformation_Documentation
func (*SignatureInformation) GetLabel ¶
func (x *SignatureInformation) GetLabel() string
func (*SignatureInformation) GetMarkup ¶
func (x *SignatureInformation) GetMarkup() string
func (*SignatureInformation) GetMarkupContent ¶
func (x *SignatureInformation) GetMarkupContent() *protocol.MarkupContent
func (*SignatureInformation) GetParameters ¶
func (x *SignatureInformation) GetParameters() []*ParameterInformation
func (*SignatureInformation) ProtoMessage ¶
func (*SignatureInformation) ProtoMessage()
func (*SignatureInformation) ProtoReflect ¶
func (x *SignatureInformation) ProtoReflect() protoreflect.Message
func (*SignatureInformation) Reset ¶
func (x *SignatureInformation) Reset()
func (*SignatureInformation) String ¶
func (x *SignatureInformation) String() string
type SignatureInformation_Markup ¶
type SignatureInformation_Markup struct {
Markup string `protobuf:"bytes,2,opt,name=markup,proto3,oneof"`
}
type SignatureInformation_MarkupContent ¶
type SignatureInformation_MarkupContent struct {
MarkupContent *protocol.MarkupContent `protobuf:"bytes,3,opt,name=markup_content,json=markupContent,proto3,oneof"`
}
type SymbolInformation ¶
type SymbolInformation struct { // The name of this symbol. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The kind of this symbol. Kind SymbolKind `protobuf:"varint,2,opt,name=kind,proto3,enum=protocol.rpc.SymbolKind" json:"kind,omitempty"` // Optional. Indicates if this symbol is deprecated. Deprecated bool `protobuf:"varint,3,opt,name=deprecated,proto3" json:"deprecated,omitempty"` // The location of this symbol. The location's range is used by a tool // to reveal the location in the editor. If the symbol is selected in the // tool the range's start information is used to position the cursor. So // the range usually spans more then the actual symbol's name and does // normally include things like visibility modifiers. // // The range doesn't have to denote a node range in the sense of a abstract // syntax tree. It can therefore not be used to re-construct a hierarchy of // the symbols. Location *protocol.Location `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"` // Optional. The name of the symbol containing this symbol. This information is for // user interface purposes (e.g. to render a qualifier in the user interface // if necessary). It can't be used to re-infer a hierarchy for the document // symbols. // (-- api-linter: core::0123::resource-annotation=disabled // api-linter: core::0122::name-suffix=disabled --) ContainerName string `protobuf:"bytes,5,opt,name=container_name,json=containerName,proto3" json:"container_name,omitempty"` // contains filtered or unexported fields }
SymbolInformation represents information about programming constructs like variables, classes, interfaces etc. (-- api-linter: core::0123::resource-annotation=disabled --)
func (*SymbolInformation) Descriptor
deprecated
func (*SymbolInformation) Descriptor() ([]byte, []int)
Deprecated: Use SymbolInformation.ProtoReflect.Descriptor instead.
func (*SymbolInformation) GetContainerName ¶
func (x *SymbolInformation) GetContainerName() string
func (*SymbolInformation) GetDeprecated ¶
func (x *SymbolInformation) GetDeprecated() bool
func (*SymbolInformation) GetKind ¶
func (x *SymbolInformation) GetKind() SymbolKind
func (*SymbolInformation) GetLocation ¶
func (x *SymbolInformation) GetLocation() *protocol.Location
func (*SymbolInformation) GetName ¶
func (x *SymbolInformation) GetName() string
func (*SymbolInformation) ProtoMessage ¶
func (*SymbolInformation) ProtoMessage()
func (*SymbolInformation) ProtoReflect ¶
func (x *SymbolInformation) ProtoReflect() protoreflect.Message
func (*SymbolInformation) Reset ¶
func (x *SymbolInformation) Reset()
func (*SymbolInformation) String ¶
func (x *SymbolInformation) String() string
type SymbolKind ¶
type SymbolKind int32
SymbolKind is a symbol kind.
const ( // Conventional default for enums. Do not use this. SymbolKind_SYMBOL_KIND_UNSPECIFIED SymbolKind = 0 SymbolKind_SYMBOL_FILE SymbolKind = 1 SymbolKind_SYMBOL_MODULE SymbolKind = 2 SymbolKind_SYMBOL_NAMESPACE SymbolKind = 3 SymbolKind_SYMBOL_PACKAGE SymbolKind = 4 SymbolKind_SYMBOL_CLASS SymbolKind = 5 SymbolKind_SYMBOL_METHOD SymbolKind = 6 SymbolKind_SYMBOL_PROPERTY SymbolKind = 7 SymbolKind_SYMBOL_FIELD SymbolKind = 8 SymbolKind_SYMBOL_CONSTRUCTOR SymbolKind = 9 SymbolKind_SYMBOL_ENUM SymbolKind = 10 SymbolKind_SYMBOL_INTERFACE SymbolKind = 11 SymbolKind_SYMBOL_FUNCTION SymbolKind = 12 SymbolKind_SYMBOL_VARIABLE SymbolKind = 13 SymbolKind_SYMBOL_CONSTANT SymbolKind = 14 SymbolKind_SYMBOL_STRING SymbolKind = 15 SymbolKind_SYMBOL_NUMBER SymbolKind = 16 SymbolKind_SYMBOL_BOOLEAN SymbolKind = 17 SymbolKind_SYMBOL_ARRAY SymbolKind = 18 SymbolKind_SYMBOL_OBJECT SymbolKind = 19 SymbolKind_SYMBOL_KEY SymbolKind = 20 SymbolKind_SYMBOL_NULL SymbolKind = 21 SymbolKind_SYMBOL_ENUMMEMBER SymbolKind = 22 SymbolKind_SYMBOL_STRUCT SymbolKind = 23 SymbolKind_SYMBOL_EVENT SymbolKind = 24 SymbolKind_SYMBOL_OPERATOR SymbolKind = 25 SymbolKind_SYMBOL_TYPEPARAMETER SymbolKind = 26 )
func (SymbolKind) Descriptor ¶
func (SymbolKind) Descriptor() protoreflect.EnumDescriptor
func (SymbolKind) Enum ¶
func (x SymbolKind) Enum() *SymbolKind
func (SymbolKind) EnumDescriptor
deprecated
func (SymbolKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use SymbolKind.Descriptor instead.
func (SymbolKind) Number ¶
func (x SymbolKind) Number() protoreflect.EnumNumber
func (SymbolKind) String ¶
func (x SymbolKind) String() string
func (SymbolKind) Type ¶
func (SymbolKind) Type() protoreflect.EnumType
type SymbolTag ¶
type SymbolTag int32
SymbolTag are extra annotations that tweak the rendering of a symbol.
@since 3.15
func (SymbolTag) Descriptor ¶
func (SymbolTag) Descriptor() protoreflect.EnumDescriptor
func (SymbolTag) EnumDescriptor
deprecated
func (SymbolTag) Number ¶
func (x SymbolTag) Number() protoreflect.EnumNumber
func (SymbolTag) Type ¶
func (SymbolTag) Type() protoreflect.EnumType
type TelemetryParams ¶
type TelemetryParams struct { // Optional. Params *any.Any `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
TelemetryParams represents a `telemetry/event` notification params.
func (*TelemetryParams) Descriptor
deprecated
func (*TelemetryParams) Descriptor() ([]byte, []int)
Deprecated: Use TelemetryParams.ProtoReflect.Descriptor instead.
func (*TelemetryParams) GetParams ¶
func (x *TelemetryParams) GetParams() *any.Any
func (*TelemetryParams) ProtoMessage ¶
func (*TelemetryParams) ProtoMessage()
func (*TelemetryParams) ProtoReflect ¶
func (x *TelemetryParams) ProtoReflect() protoreflect.Message
func (*TelemetryParams) Reset ¶
func (x *TelemetryParams) Reset()
func (*TelemetryParams) String ¶
func (x *TelemetryParams) String() string
type TextDocumentChangeRegistrationOptions ¶
type TextDocumentChangeRegistrationOptions struct { // extends TextDocumentRegistrationOptions *protocol.TextDocumentRegistrationOptions `` /* 158-byte string literal not displayed */ // How documents are synced to the server. See TextDocumentSyncKind.Full // and TextDocumentSyncKind.Incremental. SyncKind TextDocumentSyncKind `protobuf:"varint,2,opt,name=sync_kind,json=syncKind,proto3,enum=protocol.rpc.TextDocumentSyncKind" json:"sync_kind,omitempty"` // contains filtered or unexported fields }
TextDocumentChangeRegistrationOptions describe options to be used when registering for text document change events.
func (*TextDocumentChangeRegistrationOptions) Descriptor
deprecated
func (*TextDocumentChangeRegistrationOptions) Descriptor() ([]byte, []int)
Deprecated: Use TextDocumentChangeRegistrationOptions.ProtoReflect.Descriptor instead.
func (*TextDocumentChangeRegistrationOptions) GetSyncKind ¶
func (x *TextDocumentChangeRegistrationOptions) GetSyncKind() TextDocumentSyncKind
func (*TextDocumentChangeRegistrationOptions) GetTextDocumentRegistrationOptions ¶
func (x *TextDocumentChangeRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
func (*TextDocumentChangeRegistrationOptions) ProtoMessage ¶
func (*TextDocumentChangeRegistrationOptions) ProtoMessage()
func (*TextDocumentChangeRegistrationOptions) ProtoReflect ¶
func (x *TextDocumentChangeRegistrationOptions) ProtoReflect() protoreflect.Message
func (*TextDocumentChangeRegistrationOptions) Reset ¶
func (x *TextDocumentChangeRegistrationOptions) Reset()
func (*TextDocumentChangeRegistrationOptions) String ¶
func (x *TextDocumentChangeRegistrationOptions) String() string
type TextDocumentClientCapabilities ¶
type TextDocumentClientCapabilities struct { Synchronization *TextDocumentSyncClientCapabilities `protobuf:"bytes,1,opt,name=synchronization,proto3" json:"synchronization,omitempty"` // Capabilities specific to the `textDocument/completion` request. Completion *CompletionClientCapabilities `protobuf:"bytes,2,opt,name=completion,proto3" json:"completion,omitempty"` // Capabilities specific to the `textDocument/hover` request. Hover *HoverClientCapabilities `protobuf:"bytes,3,opt,name=hover,proto3" json:"hover,omitempty"` // Capabilities specific to the `textDocument/signatureHelp` request. SignatureHelp *SignatureHelpClientCapabilities `protobuf:"bytes,4,opt,name=signature_help,json=signatureHelp,proto3" json:"signature_help,omitempty"` // Capabilities specific to the `textDocument/declaration` request. // // @since 3.14.0 Declaration *DeclarationClientCapabilities `protobuf:"bytes,5,opt,name=declaration,proto3" json:"declaration,omitempty"` // Capabilities specific to the `textDocument/definition` request. Definition *DefinitionClientCapabilities `protobuf:"bytes,6,opt,name=definition,proto3" json:"definition,omitempty"` // Capabilities specific to the `textDocument/typeDefinition` request. // // @since 3.6.0 TypeDefinition *TypeDefinitionClientCapabilities `protobuf:"bytes,7,opt,name=type_definition,json=typeDefinition,proto3" json:"type_definition,omitempty"` // Capabilities specific to the `textDocument/implementation` request. // // @since 3.6.0 Implementation *ImplementationClientCapabilities `protobuf:"bytes,8,opt,name=implementation,proto3" json:"implementation,omitempty"` // Capabilities specific to the `textDocument/references` request. References *ReferenceClientCapabilities `protobuf:"bytes,9,opt,name=references,proto3" json:"references,omitempty"` // Capabilities specific to the `textDocument/documentHighlight` request. DocumentHighlight *DocumentHighlightClientCapabilities `protobuf:"bytes,10,opt,name=document_highlight,json=documentHighlight,proto3" json:"document_highlight,omitempty"` // Capabilities specific to the `textDocument/documentSymbol` request. DocumentSymbol *DocumentSymbolClientCapabilities `protobuf:"bytes,11,opt,name=document_symbol,json=documentSymbol,proto3" json:"document_symbol,omitempty"` // Capabilities specific to the `textDocument/codeAction` request. CodeAction *CodeActionClientCapabilities `protobuf:"bytes,12,opt,name=code_action,json=codeAction,proto3" json:"code_action,omitempty"` // Capabilities specific to the `textDocument/codeLens` request. CodeLens *CodeLensClientCapabilities `protobuf:"bytes,13,opt,name=code_lens,json=codeLens,proto3" json:"code_lens,omitempty"` // Capabilities specific to the `textDocument/documentLink` request. DocumentLink *DocumentLinkClientCapabilities `protobuf:"bytes,14,opt,name=document_link,json=documentLink,proto3" json:"document_link,omitempty"` // Capabilities specific to the `textDocument/documentColor` and the // `textDocument/colorPresentation` request. // // @since 3.6.0 ColorProvider *DocumentColorClientCapabilities `protobuf:"bytes,15,opt,name=color_provider,json=colorProvider,proto3" json:"color_provider,omitempty"` // Capabilities specific to the `textDocument/formatting` request. Formatting *DocumentFormattingClientCapabilities `protobuf:"bytes,16,opt,name=formatting,proto3" json:"formatting,omitempty"` // Capabilities specific to the `textDocument/rangeFormatting` request. RangeFormatting *DocumentRangeFormattingClientCapabilities `protobuf:"bytes,17,opt,name=range_formatting,json=rangeFormatting,proto3" json:"range_formatting,omitempty"` // Capabilities specific to the `textDocument/onTypeFormatting` request. OnTypeFormatting *DocumentOnTypeFormattingClientCapabilities `protobuf:"bytes,18,opt,name=on_type_formatting,json=onTypeFormatting,proto3" json:"on_type_formatting,omitempty"` // Capabilities specific to the `textDocument/rename` request. Rename *RenameClientCapabilities `protobuf:"bytes,19,opt,name=rename,proto3" json:"rename,omitempty"` // Capabilities specific to the `textDocument/publishDiagnostics` notification. PublishDiagnostics *PublishDiagnosticsClientCapabilities `protobuf:"bytes,20,opt,name=publish_diagnostics,json=publishDiagnostics,proto3" json:"publish_diagnostics,omitempty"` // Capabilities specific to the `textDocument/foldingRange` request. // // @since 3.10.0 FoldingRange *FoldingRangeClientCapabilities `protobuf:"bytes,21,opt,name=folding_range,json=foldingRange,proto3" json:"folding_range,omitempty"` // Capabilities specific to the `textDocument/selectionRange` request. // // @since 3.15.0 SelectionRange *SelectionRangeClientCapabilities `protobuf:"bytes,22,opt,name=selection_range,json=selectionRange,proto3" json:"selection_range,omitempty"` // contains filtered or unexported fields }
TextDocumentClientCapabilities define capabilities the editor / tool provides on text documents.
func (*TextDocumentClientCapabilities) Descriptor
deprecated
func (*TextDocumentClientCapabilities) Descriptor() ([]byte, []int)
Deprecated: Use TextDocumentClientCapabilities.ProtoReflect.Descriptor instead.
func (*TextDocumentClientCapabilities) GetCodeAction ¶
func (x *TextDocumentClientCapabilities) GetCodeAction() *CodeActionClientCapabilities
func (*TextDocumentClientCapabilities) GetCodeLens ¶
func (x *TextDocumentClientCapabilities) GetCodeLens() *CodeLensClientCapabilities
func (*TextDocumentClientCapabilities) GetColorProvider ¶
func (x *TextDocumentClientCapabilities) GetColorProvider() *DocumentColorClientCapabilities
func (*TextDocumentClientCapabilities) GetCompletion ¶
func (x *TextDocumentClientCapabilities) GetCompletion() *CompletionClientCapabilities
func (*TextDocumentClientCapabilities) GetDeclaration ¶
func (x *TextDocumentClientCapabilities) GetDeclaration() *DeclarationClientCapabilities
func (*TextDocumentClientCapabilities) GetDefinition ¶
func (x *TextDocumentClientCapabilities) GetDefinition() *DefinitionClientCapabilities
func (*TextDocumentClientCapabilities) GetDocumentHighlight ¶
func (x *TextDocumentClientCapabilities) GetDocumentHighlight() *DocumentHighlightClientCapabilities
func (*TextDocumentClientCapabilities) GetDocumentLink ¶
func (x *TextDocumentClientCapabilities) GetDocumentLink() *DocumentLinkClientCapabilities
func (*TextDocumentClientCapabilities) GetDocumentSymbol ¶
func (x *TextDocumentClientCapabilities) GetDocumentSymbol() *DocumentSymbolClientCapabilities
func (*TextDocumentClientCapabilities) GetFoldingRange ¶
func (x *TextDocumentClientCapabilities) GetFoldingRange() *FoldingRangeClientCapabilities
func (*TextDocumentClientCapabilities) GetFormatting ¶
func (x *TextDocumentClientCapabilities) GetFormatting() *DocumentFormattingClientCapabilities
func (*TextDocumentClientCapabilities) GetHover ¶
func (x *TextDocumentClientCapabilities) GetHover() *HoverClientCapabilities
func (*TextDocumentClientCapabilities) GetImplementation ¶
func (x *TextDocumentClientCapabilities) GetImplementation() *ImplementationClientCapabilities
func (*TextDocumentClientCapabilities) GetOnTypeFormatting ¶
func (x *TextDocumentClientCapabilities) GetOnTypeFormatting() *DocumentOnTypeFormattingClientCapabilities
func (*TextDocumentClientCapabilities) GetPublishDiagnostics ¶
func (x *TextDocumentClientCapabilities) GetPublishDiagnostics() *PublishDiagnosticsClientCapabilities
func (*TextDocumentClientCapabilities) GetRangeFormatting ¶
func (x *TextDocumentClientCapabilities) GetRangeFormatting() *DocumentRangeFormattingClientCapabilities
func (*TextDocumentClientCapabilities) GetReferences ¶
func (x *TextDocumentClientCapabilities) GetReferences() *ReferenceClientCapabilities
func (*TextDocumentClientCapabilities) GetRename ¶
func (x *TextDocumentClientCapabilities) GetRename() *RenameClientCapabilities
func (*TextDocumentClientCapabilities) GetSelectionRange ¶
func (x *TextDocumentClientCapabilities) GetSelectionRange() *SelectionRangeClientCapabilities
func (*TextDocumentClientCapabilities) GetSignatureHelp ¶
func (x *TextDocumentClientCapabilities) GetSignatureHelp() *SignatureHelpClientCapabilities
func (*TextDocumentClientCapabilities) GetSynchronization ¶
func (x *TextDocumentClientCapabilities) GetSynchronization() *TextDocumentSyncClientCapabilities
func (*TextDocumentClientCapabilities) GetTypeDefinition ¶
func (x *TextDocumentClientCapabilities) GetTypeDefinition() *TypeDefinitionClientCapabilities
func (*TextDocumentClientCapabilities) ProtoMessage ¶
func (*TextDocumentClientCapabilities) ProtoMessage()
func (*TextDocumentClientCapabilities) ProtoReflect ¶
func (x *TextDocumentClientCapabilities) ProtoReflect() protoreflect.Message
func (*TextDocumentClientCapabilities) Reset ¶
func (x *TextDocumentClientCapabilities) Reset()
func (*TextDocumentClientCapabilities) String ¶
func (x *TextDocumentClientCapabilities) String() string
type TextDocumentContentChangeEvent ¶
type TextDocumentContentChangeEvent struct { // Types that are assignable to TextDocumentContentChangeEvent: // *TextDocumentContentChangeEvent_ContentChangeEvent_ // *TextDocumentContentChangeEvent_Text TextDocumentContentChangeEvent isTextDocumentContentChangeEvent_TextDocumentContentChangeEvent `protobuf_oneof:"text_document_content_change_event"` // contains filtered or unexported fields }
TextDocumentContentChangeEvent an event describing a change to a text document. If range and rangeLength are omitted the new text is considered to be the full content of the document.
func (*TextDocumentContentChangeEvent) Descriptor
deprecated
func (*TextDocumentContentChangeEvent) Descriptor() ([]byte, []int)
Deprecated: Use TextDocumentContentChangeEvent.ProtoReflect.Descriptor instead.
func (*TextDocumentContentChangeEvent) GetContentChangeEvent ¶
func (x *TextDocumentContentChangeEvent) GetContentChangeEvent() *TextDocumentContentChangeEvent_ContentChangeEvent
func (*TextDocumentContentChangeEvent) GetText ¶
func (x *TextDocumentContentChangeEvent) GetText() string
func (*TextDocumentContentChangeEvent) GetTextDocumentContentChangeEvent ¶
func (m *TextDocumentContentChangeEvent) GetTextDocumentContentChangeEvent() isTextDocumentContentChangeEvent_TextDocumentContentChangeEvent
func (*TextDocumentContentChangeEvent) ProtoMessage ¶
func (*TextDocumentContentChangeEvent) ProtoMessage()
func (*TextDocumentContentChangeEvent) ProtoReflect ¶
func (x *TextDocumentContentChangeEvent) ProtoReflect() protoreflect.Message
func (*TextDocumentContentChangeEvent) Reset ¶
func (x *TextDocumentContentChangeEvent) Reset()
func (*TextDocumentContentChangeEvent) String ¶
func (x *TextDocumentContentChangeEvent) String() string
type TextDocumentContentChangeEvent_ContentChangeEvent ¶
type TextDocumentContentChangeEvent_ContentChangeEvent struct { // The range of the document that changed. Range *protocol.Range `protobuf:"bytes,1,opt,name=range,proto3" json:"range,omitempty"` // The optional length of the range that got replaced. // // Use range instead. // // Deprecated: Do not use. RangeLength int32 `protobuf:"varint,2,opt,name=range_length,json=rangeLength,proto3" json:"range_length,omitempty"` // The new text for the provided range. Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
func (*TextDocumentContentChangeEvent_ContentChangeEvent) Descriptor
deprecated
func (*TextDocumentContentChangeEvent_ContentChangeEvent) Descriptor() ([]byte, []int)
Deprecated: Use TextDocumentContentChangeEvent_ContentChangeEvent.ProtoReflect.Descriptor instead.
func (*TextDocumentContentChangeEvent_ContentChangeEvent) GetRange ¶
func (x *TextDocumentContentChangeEvent_ContentChangeEvent) GetRange() *protocol.Range
func (*TextDocumentContentChangeEvent_ContentChangeEvent) GetRangeLength
deprecated
func (x *TextDocumentContentChangeEvent_ContentChangeEvent) GetRangeLength() int32
Deprecated: Do not use.
func (*TextDocumentContentChangeEvent_ContentChangeEvent) GetText ¶
func (x *TextDocumentContentChangeEvent_ContentChangeEvent) GetText() string
func (*TextDocumentContentChangeEvent_ContentChangeEvent) ProtoMessage ¶
func (*TextDocumentContentChangeEvent_ContentChangeEvent) ProtoMessage()
func (*TextDocumentContentChangeEvent_ContentChangeEvent) ProtoReflect ¶
func (x *TextDocumentContentChangeEvent_ContentChangeEvent) ProtoReflect() protoreflect.Message
func (*TextDocumentContentChangeEvent_ContentChangeEvent) Reset ¶
func (x *TextDocumentContentChangeEvent_ContentChangeEvent) Reset()
func (*TextDocumentContentChangeEvent_ContentChangeEvent) String ¶
func (x *TextDocumentContentChangeEvent_ContentChangeEvent) String() string
type TextDocumentContentChangeEvent_ContentChangeEvent_ ¶
type TextDocumentContentChangeEvent_ContentChangeEvent_ struct {
ContentChangeEvent *TextDocumentContentChangeEvent_ContentChangeEvent `protobuf:"bytes,1,opt,name=content_change_event,json=contentChangeEvent,proto3,oneof"`
}
type TextDocumentContentChangeEvent_Text ¶
type TextDocumentContentChangeEvent_Text struct { // The new text of the whole document. Text string `protobuf:"bytes,2,opt,name=text,proto3,oneof"` }
type TextDocumentSaveReason ¶
type TextDocumentSaveReason int32
TextDocumentSaveReason represents reasons why a text document is saved.
const ( // Conventional default for enums. Do not use this. TextDocumentSaveReason_TEXT_DOCUMENT_SAVE_REASON_UNSPECIFIED TextDocumentSaveReason = 0 // Manually triggered, e.g. by the user pressing save, by starting debugging, // or by an API call. TextDocumentSaveReason_MANUAL TextDocumentSaveReason = 1 // Automatic after a delay. TextDocumentSaveReason_AFTERDELAY TextDocumentSaveReason = 2 // When the editor lost focus. TextDocumentSaveReason_FOCUSOUT TextDocumentSaveReason = 3 )
func (TextDocumentSaveReason) Descriptor ¶
func (TextDocumentSaveReason) Descriptor() protoreflect.EnumDescriptor
func (TextDocumentSaveReason) Enum ¶
func (x TextDocumentSaveReason) Enum() *TextDocumentSaveReason
func (TextDocumentSaveReason) EnumDescriptor
deprecated
func (TextDocumentSaveReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use TextDocumentSaveReason.Descriptor instead.
func (TextDocumentSaveReason) Number ¶
func (x TextDocumentSaveReason) Number() protoreflect.EnumNumber
func (TextDocumentSaveReason) String ¶
func (x TextDocumentSaveReason) String() string
func (TextDocumentSaveReason) Type ¶
func (TextDocumentSaveReason) Type() protoreflect.EnumType
type TextDocumentSaveRegistrationOptions ¶
type TextDocumentSaveRegistrationOptions struct { // extends TextDocumentRegistrationOptions *protocol.TextDocumentRegistrationOptions `` /* 158-byte string literal not displayed */ // Optional. The client is supposed to include the content on save. IncludeText bool `protobuf:"varint,2,opt,name=include_text,json=includeText,proto3" json:"include_text,omitempty"` // contains filtered or unexported fields }
TextDocumentSaveRegistrationOptions represents a registration option of TextDocumentSave.
func (*TextDocumentSaveRegistrationOptions) Descriptor
deprecated
func (*TextDocumentSaveRegistrationOptions) Descriptor() ([]byte, []int)
Deprecated: Use TextDocumentSaveRegistrationOptions.ProtoReflect.Descriptor instead.
func (*TextDocumentSaveRegistrationOptions) GetIncludeText ¶
func (x *TextDocumentSaveRegistrationOptions) GetIncludeText() bool
func (*TextDocumentSaveRegistrationOptions) GetTextDocumentRegistrationOptions ¶
func (x *TextDocumentSaveRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
func (*TextDocumentSaveRegistrationOptions) ProtoMessage ¶
func (*TextDocumentSaveRegistrationOptions) ProtoMessage()
func (*TextDocumentSaveRegistrationOptions) ProtoReflect ¶
func (x *TextDocumentSaveRegistrationOptions) ProtoReflect() protoreflect.Message
func (*TextDocumentSaveRegistrationOptions) Reset ¶
func (x *TextDocumentSaveRegistrationOptions) Reset()
func (*TextDocumentSaveRegistrationOptions) String ¶
func (x *TextDocumentSaveRegistrationOptions) String() string
type TextDocumentSyncClientCapabilities ¶
type TextDocumentSyncClientCapabilities struct { // Optional. Whether text document synchronization supports dynamic registration. DynamicRegistration bool `protobuf:"varint,1,opt,name=dynamic_registration,json=dynamicRegistration,proto3" json:"dynamic_registration,omitempty"` // Optional. The client supports sending will save notifications. WillSave bool `protobuf:"varint,2,opt,name=will_save,json=willSave,proto3" json:"will_save,omitempty"` // Optional. The client supports sending a will save request and // waits for a response providing text edits which will // be applied to the document before it is saved. WillSaveWaitUntil bool `protobuf:"varint,3,opt,name=will_save_wait_until,json=willSaveWaitUntil,proto3" json:"will_save_wait_until,omitempty"` // Optional. The client supports did save notifications. DidSave bool `protobuf:"varint,4,opt,name=did_save,json=didSave,proto3" json:"did_save,omitempty"` // contains filtered or unexported fields }
TextDocumentSyncClientCapabilities represents a client capabilities of `textDocument/didXXX` notification.
func (*TextDocumentSyncClientCapabilities) Descriptor
deprecated
func (*TextDocumentSyncClientCapabilities) Descriptor() ([]byte, []int)
Deprecated: Use TextDocumentSyncClientCapabilities.ProtoReflect.Descriptor instead.
func (*TextDocumentSyncClientCapabilities) GetDidSave ¶
func (x *TextDocumentSyncClientCapabilities) GetDidSave() bool
func (*TextDocumentSyncClientCapabilities) GetDynamicRegistration ¶
func (x *TextDocumentSyncClientCapabilities) GetDynamicRegistration() bool
func (*TextDocumentSyncClientCapabilities) GetWillSave ¶
func (x *TextDocumentSyncClientCapabilities) GetWillSave() bool
func (*TextDocumentSyncClientCapabilities) GetWillSaveWaitUntil ¶
func (x *TextDocumentSyncClientCapabilities) GetWillSaveWaitUntil() bool
func (*TextDocumentSyncClientCapabilities) ProtoMessage ¶
func (*TextDocumentSyncClientCapabilities) ProtoMessage()
func (*TextDocumentSyncClientCapabilities) ProtoReflect ¶
func (x *TextDocumentSyncClientCapabilities) ProtoReflect() protoreflect.Message
func (*TextDocumentSyncClientCapabilities) Reset ¶
func (x *TextDocumentSyncClientCapabilities) Reset()
func (*TextDocumentSyncClientCapabilities) String ¶
func (x *TextDocumentSyncClientCapabilities) String() string
type TextDocumentSyncKind ¶
type TextDocumentSyncKind int32
TextDocumentSyncKind defines how the host (editor) should sync document changes to the language server. (-- api-linter: core::0126::unspecified=disabled --)
const ( // Documents should not be synced at all. TextDocumentSyncKind_NONE TextDocumentSyncKind = 0 // Documents are synced by always sending the full content // of the document. TextDocumentSyncKind_FULL TextDocumentSyncKind = 1 // Documents are synced by sending the full content on open. // After that only incremental updates to the document are // send. TextDocumentSyncKind_INCREMENTAL TextDocumentSyncKind = 2 )
func (TextDocumentSyncKind) Descriptor ¶
func (TextDocumentSyncKind) Descriptor() protoreflect.EnumDescriptor
func (TextDocumentSyncKind) Enum ¶
func (x TextDocumentSyncKind) Enum() *TextDocumentSyncKind
func (TextDocumentSyncKind) EnumDescriptor
deprecated
func (TextDocumentSyncKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use TextDocumentSyncKind.Descriptor instead.
func (TextDocumentSyncKind) Number ¶
func (x TextDocumentSyncKind) Number() protoreflect.EnumNumber
func (TextDocumentSyncKind) String ¶
func (x TextDocumentSyncKind) String() string
func (TextDocumentSyncKind) Type ¶
func (TextDocumentSyncKind) Type() protoreflect.EnumType
type TextDocumentSyncOptions ¶
type TextDocumentSyncOptions struct { // Optional. Open and close notifications are sent to the server. If omitted open close // notification should not be sent. OpenClose bool `protobuf:"varint,1,opt,name=open_close,json=openClose,proto3" json:"open_close,omitempty"` // Optional. Change notifications are sent to the server. See // [TextDocumentSyncKind][TextDocumentSyncKind]. If omitted it defaults to // TextDocumentSyncKind.None. Change TextDocumentSyncKind `protobuf:"varint,2,opt,name=change,proto3,enum=protocol.rpc.TextDocumentSyncKind" json:"change,omitempty"` // Optional. If present will save notifications are sent to the server. If omitted the // notification should not be sent. WillSave bool `protobuf:"varint,3,opt,name=will_save,json=willSave,proto3" json:"will_save,omitempty"` // Optional. If present will save wait until requests are sent to the server. If omitted the // request should not be sent. WillSaveWaitUntil bool `protobuf:"varint,4,opt,name=will_save_wait_until,json=willSaveWaitUntil,proto3" json:"will_save_wait_until,omitempty"` // If present save notifications are sent to the server. If omitted the notification should not be // sent. // // Types that are assignable to Save: // *TextDocumentSyncOptions_Enable // *TextDocumentSyncOptions_SaveOptions Save isTextDocumentSyncOptions_Save `protobuf_oneof:"save"` // contains filtered or unexported fields }
TextDocumentSyncOptions represents a server capabilities option of textDocumentSync.
func (*TextDocumentSyncOptions) Descriptor
deprecated
func (*TextDocumentSyncOptions) Descriptor() ([]byte, []int)
Deprecated: Use TextDocumentSyncOptions.ProtoReflect.Descriptor instead.
func (*TextDocumentSyncOptions) GetChange ¶
func (x *TextDocumentSyncOptions) GetChange() TextDocumentSyncKind
func (*TextDocumentSyncOptions) GetEnable ¶
func (x *TextDocumentSyncOptions) GetEnable() bool
func (*TextDocumentSyncOptions) GetOpenClose ¶
func (x *TextDocumentSyncOptions) GetOpenClose() bool
func (*TextDocumentSyncOptions) GetSave ¶
func (m *TextDocumentSyncOptions) GetSave() isTextDocumentSyncOptions_Save
func (*TextDocumentSyncOptions) GetSaveOptions ¶
func (x *TextDocumentSyncOptions) GetSaveOptions() *SaveOptions
func (*TextDocumentSyncOptions) GetWillSave ¶
func (x *TextDocumentSyncOptions) GetWillSave() bool
func (*TextDocumentSyncOptions) GetWillSaveWaitUntil ¶
func (x *TextDocumentSyncOptions) GetWillSaveWaitUntil() bool
func (*TextDocumentSyncOptions) ProtoMessage ¶
func (*TextDocumentSyncOptions) ProtoMessage()
func (*TextDocumentSyncOptions) ProtoReflect ¶
func (x *TextDocumentSyncOptions) ProtoReflect() protoreflect.Message
func (*TextDocumentSyncOptions) Reset ¶
func (x *TextDocumentSyncOptions) Reset()
func (*TextDocumentSyncOptions) String ¶
func (x *TextDocumentSyncOptions) String() string
type TextDocumentSyncOptions_Enable ¶
type TextDocumentSyncOptions_Enable struct {
Enable bool `protobuf:"varint,5,opt,name=enable,proto3,oneof"`
}
type TextDocumentSyncOptions_SaveOptions ¶
type TextDocumentSyncOptions_SaveOptions struct {
SaveOptions *SaveOptions `protobuf:"bytes,6,opt,name=save_options,json=saveOptions,proto3,oneof"`
}
type TextEdits ¶
type TextEdits struct { TextEdit []*protocol.TextEdit `protobuf:"bytes,1,rep,name=text_edit,json=textEdit,proto3" json:"text_edit,omitempty"` // contains filtered or unexported fields }
TextEdits represents a list of TextEdit.
func (*TextEdits) Descriptor
deprecated
func (*TextEdits) GetTextEdit ¶
func (*TextEdits) ProtoMessage ¶
func (*TextEdits) ProtoMessage()
func (*TextEdits) ProtoReflect ¶
func (x *TextEdits) ProtoReflect() protoreflect.Message
type TokenFormat ¶
type TokenFormat int32
TokenFormat represents a format of token.
const ( // Conventional default for enums. Do not use this. TokenFormat_TOKEN_FORMAT_UNSPECIFIED TokenFormat = 0 // string: 'relative' TokenFormat_RELATIVE TokenFormat = 1 )
func (TokenFormat) Descriptor ¶
func (TokenFormat) Descriptor() protoreflect.EnumDescriptor
func (TokenFormat) Enum ¶
func (x TokenFormat) Enum() *TokenFormat
func (TokenFormat) EnumDescriptor
deprecated
func (TokenFormat) EnumDescriptor() ([]byte, []int)
Deprecated: Use TokenFormat.Descriptor instead.
func (TokenFormat) Number ¶
func (x TokenFormat) Number() protoreflect.EnumNumber
func (TokenFormat) String ¶
func (x TokenFormat) String() string
func (TokenFormat) Type ¶
func (TokenFormat) Type() protoreflect.EnumType
type TypeDefinitionClientCapabilities ¶
type TypeDefinitionClientCapabilities struct { // Optional. Whether implementation supports dynamic registration. If this is set to `true` // the client supports the new `TypeDefinitionRegistrationOptions` return value // for the corresponding server capability as well. DynamicRegistration bool `protobuf:"varint,1,opt,name=dynamic_registration,json=dynamicRegistration,proto3" json:"dynamic_registration,omitempty"` // Optional. The client supports additional metadata in the form of definition links. // // @since 3.14.0 LinkSupport bool `protobuf:"varint,2,opt,name=link_support,json=linkSupport,proto3" json:"link_support,omitempty"` // contains filtered or unexported fields }
TypeDefinitionClientCapabilities represents a client capabilities of `textDocument/typeDefinition` request.
func (*TypeDefinitionClientCapabilities) Descriptor
deprecated
func (*TypeDefinitionClientCapabilities) Descriptor() ([]byte, []int)
Deprecated: Use TypeDefinitionClientCapabilities.ProtoReflect.Descriptor instead.
func (*TypeDefinitionClientCapabilities) GetDynamicRegistration ¶
func (x *TypeDefinitionClientCapabilities) GetDynamicRegistration() bool
func (*TypeDefinitionClientCapabilities) GetLinkSupport ¶
func (x *TypeDefinitionClientCapabilities) GetLinkSupport() bool
func (*TypeDefinitionClientCapabilities) ProtoMessage ¶
func (*TypeDefinitionClientCapabilities) ProtoMessage()
func (*TypeDefinitionClientCapabilities) ProtoReflect ¶
func (x *TypeDefinitionClientCapabilities) ProtoReflect() protoreflect.Message
func (*TypeDefinitionClientCapabilities) Reset ¶
func (x *TypeDefinitionClientCapabilities) Reset()
func (*TypeDefinitionClientCapabilities) String ¶
func (x *TypeDefinitionClientCapabilities) String() string
type TypeDefinitionOptions ¶
type TypeDefinitionOptions struct { // extends WorkDoneProgressOptions *protocol.WorkDoneProgressOptions `` /* 134-byte string literal not displayed */ // contains filtered or unexported fields }
TypeDefinitionOptions represents a server capabilities option of typeDefinitionProvider.
func (*TypeDefinitionOptions) Descriptor
deprecated
func (*TypeDefinitionOptions) Descriptor() ([]byte, []int)
Deprecated: Use TypeDefinitionOptions.ProtoReflect.Descriptor instead.
func (*TypeDefinitionOptions) GetWorkDoneProgressOptions ¶
func (x *TypeDefinitionOptions) GetWorkDoneProgressOptions() *protocol.WorkDoneProgressOptions
func (*TypeDefinitionOptions) ProtoMessage ¶
func (*TypeDefinitionOptions) ProtoMessage()
func (*TypeDefinitionOptions) ProtoReflect ¶
func (x *TypeDefinitionOptions) ProtoReflect() protoreflect.Message
func (*TypeDefinitionOptions) Reset ¶
func (x *TypeDefinitionOptions) Reset()
func (*TypeDefinitionOptions) String ¶
func (x *TypeDefinitionOptions) String() string
type TypeDefinitionRegistrationOptions ¶
type TypeDefinitionRegistrationOptions struct { // extends TextDocumentRegistrationOptions *protocol.TextDocumentRegistrationOptions `` /* 158-byte string literal not displayed */ // extends TypeDefinitionOptions *TypeDefinitionOptions `` /* 126-byte string literal not displayed */ // extends StaticRegistrationOptions *protocol.StaticRegistrationOptions `` /* 138-byte string literal not displayed */ // contains filtered or unexported fields }
TypeDefinitionRegistrationOptions represents a registration option of TypeDefinition.
func (*TypeDefinitionRegistrationOptions) Descriptor
deprecated
func (*TypeDefinitionRegistrationOptions) Descriptor() ([]byte, []int)
Deprecated: Use TypeDefinitionRegistrationOptions.ProtoReflect.Descriptor instead.
func (*TypeDefinitionRegistrationOptions) GetStaticRegistrationOptions ¶
func (x *TypeDefinitionRegistrationOptions) GetStaticRegistrationOptions() *protocol.StaticRegistrationOptions
func (*TypeDefinitionRegistrationOptions) GetTextDocumentRegistrationOptions ¶
func (x *TypeDefinitionRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions
func (*TypeDefinitionRegistrationOptions) GetTypeDefinitionOptions ¶
func (x *TypeDefinitionRegistrationOptions) GetTypeDefinitionOptions() *TypeDefinitionOptions
func (*TypeDefinitionRegistrationOptions) ProtoMessage ¶
func (*TypeDefinitionRegistrationOptions) ProtoMessage()
func (*TypeDefinitionRegistrationOptions) ProtoReflect ¶
func (x *TypeDefinitionRegistrationOptions) ProtoReflect() protoreflect.Message
func (*TypeDefinitionRegistrationOptions) Reset ¶
func (x *TypeDefinitionRegistrationOptions) Reset()
func (*TypeDefinitionRegistrationOptions) String ¶
func (x *TypeDefinitionRegistrationOptions) String() string
type TypeDefinitionRequest ¶
type TypeDefinitionRequest struct { // extends TextDocumentPositionParams *protocol.TextDocumentPositionParams `` /* 143-byte string literal not displayed */ // extends WorkDoneProgressParams *WorkDoneProgressParams `` /* 131-byte string literal not displayed */ // extends PartialResultParams *PartialResultParams `protobuf:"bytes,3,opt,name=partial_result_params,json=partialResultParams,proto3" json:"partial_result_params,omitempty"` // contains filtered or unexported fields }
TypeDefinitionRequest is the parameters of a `textDocument/typeDefinition` request.
func (*TypeDefinitionRequest) Descriptor
deprecated
func (*TypeDefinitionRequest) Descriptor() ([]byte, []int)
Deprecated: Use TypeDefinitionRequest.ProtoReflect.Descriptor instead.
func (*TypeDefinitionRequest) GetPartialResultParams ¶
func (x *TypeDefinitionRequest) GetPartialResultParams() *PartialResultParams
func (*TypeDefinitionRequest) GetTextDocumentPositionParams ¶
func (x *TypeDefinitionRequest) GetTextDocumentPositionParams() *protocol.TextDocumentPositionParams
func (*TypeDefinitionRequest) GetWorkDoneProgressParams ¶
func (x *TypeDefinitionRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams
func (*TypeDefinitionRequest) ProtoMessage ¶
func (*TypeDefinitionRequest) ProtoMessage()
func (*TypeDefinitionRequest) ProtoReflect ¶
func (x *TypeDefinitionRequest) ProtoReflect() protoreflect.Message
func (*TypeDefinitionRequest) Reset ¶
func (x *TypeDefinitionRequest) Reset()
func (*TypeDefinitionRequest) String ¶
func (x *TypeDefinitionRequest) String() string
type TypeDefinitionResponse ¶
type TypeDefinitionResponse struct { // Types that are assignable to TypeDefinitionResponse: // *TypeDefinitionResponse_Result_ // *TypeDefinitionResponse_PartialResult_ // *TypeDefinitionResponse_Error TypeDefinitionResponse isTypeDefinitionResponse_TypeDefinitionResponse `protobuf_oneof:"type_definition_response"` // contains filtered or unexported fields }
TypeDefinitionResponse represents a TypeDefinition response.
func (*TypeDefinitionResponse) Descriptor
deprecated
func (*TypeDefinitionResponse) Descriptor() ([]byte, []int)
Deprecated: Use TypeDefinitionResponse.ProtoReflect.Descriptor instead.
func (*TypeDefinitionResponse) GetError ¶
func (x *TypeDefinitionResponse) GetError() *protocol.Error
func (*TypeDefinitionResponse) GetPartialResult ¶
func (x *TypeDefinitionResponse) GetPartialResult() *TypeDefinitionResponse_PartialResult
func (*TypeDefinitionResponse) GetResult ¶
func (x *TypeDefinitionResponse) GetResult() *TypeDefinitionResponse_Result
func (*TypeDefinitionResponse) GetTypeDefinitionResponse ¶
func (m *TypeDefinitionResponse) GetTypeDefinitionResponse() isTypeDefinitionResponse_TypeDefinitionResponse
func (*TypeDefinitionResponse) ProtoMessage ¶
func (*TypeDefinitionResponse) ProtoMessage()
func (*TypeDefinitionResponse) ProtoReflect ¶
func (x *TypeDefinitionResponse) ProtoReflect() protoreflect.Message
func (*TypeDefinitionResponse) Reset ¶
func (x *TypeDefinitionResponse) Reset()
func (*TypeDefinitionResponse) String ¶
func (x *TypeDefinitionResponse) String() string
type TypeDefinitionResponse_PartialResult ¶
type TypeDefinitionResponse_PartialResult struct { Locations *Locations `protobuf:"bytes,1,opt,name=locations,proto3" json:"locations,omitempty"` LocationLinks *LocationLinks `protobuf:"bytes,2,opt,name=location_links,json=locationLinks,proto3" json:"location_links,omitempty"` // contains filtered or unexported fields }
func (*TypeDefinitionResponse_PartialResult) Descriptor
deprecated
func (*TypeDefinitionResponse_PartialResult) Descriptor() ([]byte, []int)
Deprecated: Use TypeDefinitionResponse_PartialResult.ProtoReflect.Descriptor instead.
func (*TypeDefinitionResponse_PartialResult) GetLocationLinks ¶
func (x *TypeDefinitionResponse_PartialResult) GetLocationLinks() *LocationLinks
func (*TypeDefinitionResponse_PartialResult) GetLocations ¶
func (x *TypeDefinitionResponse_PartialResult) GetLocations() *Locations
func (*TypeDefinitionResponse_PartialResult) ProtoMessage ¶
func (*TypeDefinitionResponse_PartialResult) ProtoMessage()
func (*TypeDefinitionResponse_PartialResult) ProtoReflect ¶
func (x *TypeDefinitionResponse_PartialResult) ProtoReflect() protoreflect.Message
func (*TypeDefinitionResponse_PartialResult) Reset ¶
func (x *TypeDefinitionResponse_PartialResult) Reset()
func (*TypeDefinitionResponse_PartialResult) String ¶
func (x *TypeDefinitionResponse_PartialResult) String() string
type TypeDefinitionResponse_PartialResult_ ¶
type TypeDefinitionResponse_PartialResult_ struct {
PartialResult *TypeDefinitionResponse_PartialResult `protobuf:"bytes,2,opt,name=partial_result,json=partialResult,proto3,oneof"`
}
type TypeDefinitionResponse_Result ¶
type TypeDefinitionResponse_Result struct { Location *protocol.Location `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"` Locations *Locations `protobuf:"bytes,2,opt,name=locations,proto3" json:"locations,omitempty"` LocationLinks *LocationLinks `protobuf:"bytes,3,opt,name=location_links,json=locationLinks,proto3" json:"location_links,omitempty"` Empty _struct.NullValue `protobuf:"varint,4,opt,name=empty,proto3,enum=google.protobuf.NullValue" json:"empty,omitempty"` // contains filtered or unexported fields }
func (*TypeDefinitionResponse_Result) Descriptor
deprecated
func (*TypeDefinitionResponse_Result) Descriptor() ([]byte, []int)
Deprecated: Use TypeDefinitionResponse_Result.ProtoReflect.Descriptor instead.
func (*TypeDefinitionResponse_Result) GetEmpty ¶
func (x *TypeDefinitionResponse_Result) GetEmpty() _struct.NullValue
func (*TypeDefinitionResponse_Result) GetLocation ¶
func (x *TypeDefinitionResponse_Result) GetLocation() *protocol.Location
func (*TypeDefinitionResponse_Result) GetLocationLinks ¶
func (x *TypeDefinitionResponse_Result) GetLocationLinks() *LocationLinks
func (*TypeDefinitionResponse_Result) GetLocations ¶
func (x *TypeDefinitionResponse_Result) GetLocations() *Locations
func (*TypeDefinitionResponse_Result) ProtoMessage ¶
func (*TypeDefinitionResponse_Result) ProtoMessage()
func (*TypeDefinitionResponse_Result) ProtoReflect ¶
func (x *TypeDefinitionResponse_Result) ProtoReflect() protoreflect.Message
func (*TypeDefinitionResponse_Result) Reset ¶
func (x *TypeDefinitionResponse_Result) Reset()
func (*TypeDefinitionResponse_Result) String ¶
func (x *TypeDefinitionResponse_Result) String() string
type TypeDefinitionResponse_Result_ ¶
type TypeDefinitionResponse_Result_ struct {
Result *TypeDefinitionResponse_Result `protobuf:"bytes,1,opt,name=result,proto3,oneof"`
}
type UnimplementedLanguageServerProtocolServer ¶
type UnimplementedLanguageServerProtocolServer struct { }
UnimplementedLanguageServerProtocolServer must be embedded to have forward compatible implementations.
func (*UnimplementedLanguageServerProtocolServer) ApplyEdit ¶
func (*UnimplementedLanguageServerProtocolServer) ApplyEdit(context.Context, *ApplyWorkspaceEditRequest) (*ApplyWorkspaceEditResponse, error)
func (*UnimplementedLanguageServerProtocolServer) CallHierarchyIncomingCalls ¶
func (*UnimplementedLanguageServerProtocolServer) CallHierarchyIncomingCalls(context.Context, *CallHierarchyIncomingCallsRequest) (*CallHierarchyIncomingCallsResponse, error)
func (*UnimplementedLanguageServerProtocolServer) CallHierarchyOutgoingCalls ¶
func (*UnimplementedLanguageServerProtocolServer) CallHierarchyOutgoingCalls(context.Context, *CallHierarchyOutgoingCallsRequest) (*CallHierarchyOutgoingCallsResponse, error)
func (*UnimplementedLanguageServerProtocolServer) Cancel ¶
func (*UnimplementedLanguageServerProtocolServer) Cancel(context.Context, *CancelRequest) (*empty.Empty, error)
func (*UnimplementedLanguageServerProtocolServer) CancelWorkDoneProgress ¶
func (*UnimplementedLanguageServerProtocolServer) CancelWorkDoneProgress(context.Context, *WorkDoneProgressCancelRequest) (*protocol.Error, error)
func (*UnimplementedLanguageServerProtocolServer) CodeAction ¶
func (*UnimplementedLanguageServerProtocolServer) CodeAction(context.Context, *CodeActionRequest) (*CodeActionResponse, error)
func (*UnimplementedLanguageServerProtocolServer) CodeLens ¶
func (*UnimplementedLanguageServerProtocolServer) CodeLens(context.Context, *CodeLensRequest) (*CodeLensResponse, error)
func (*UnimplementedLanguageServerProtocolServer) CodeLensResolve ¶
func (*UnimplementedLanguageServerProtocolServer) CodeLensResolve(context.Context, *CodeLensResolveRequest) (*CodeLensResolveResponse, error)
func (*UnimplementedLanguageServerProtocolServer) ColorPresentation ¶
func (*UnimplementedLanguageServerProtocolServer) ColorPresentation(context.Context, *ColorPresentationRequest) (*ColorPresentationResponse, error)
func (*UnimplementedLanguageServerProtocolServer) Completion ¶
func (*UnimplementedLanguageServerProtocolServer) Completion(context.Context, *CompletionRequest) (*CompletionResponse, error)
func (*UnimplementedLanguageServerProtocolServer) CompletionItemResolve ¶
func (*UnimplementedLanguageServerProtocolServer) CompletionItemResolve(context.Context, *CompletionItemResolveRequest) (*CompletionItemResolveResponse, error)
func (*UnimplementedLanguageServerProtocolServer) Configuration ¶
func (*UnimplementedLanguageServerProtocolServer) Configuration(context.Context, *ConfigurationRequest) (*ConfigurationResponse, error)
func (*UnimplementedLanguageServerProtocolServer) CreateWorkDoneProgress ¶
func (*UnimplementedLanguageServerProtocolServer) CreateWorkDoneProgress(context.Context, *WorkDoneProgressCreateRequest) (*protocol.Error, error)
func (*UnimplementedLanguageServerProtocolServer) DidChangeConfiguration ¶
func (*UnimplementedLanguageServerProtocolServer) DidChangeConfiguration(context.Context, *DidChangeConfigurationRequest) (*empty.Empty, error)
func (*UnimplementedLanguageServerProtocolServer) DidChangeTextDocument ¶
func (*UnimplementedLanguageServerProtocolServer) DidChangeTextDocument(context.Context, *DidChangeTextDocumentRequest) (*empty.Empty, error)
func (*UnimplementedLanguageServerProtocolServer) DidChangeWatchedFiles ¶
func (*UnimplementedLanguageServerProtocolServer) DidChangeWatchedFiles(context.Context, *DidChangeWatchedFilesRequest) (*empty.Empty, error)
func (*UnimplementedLanguageServerProtocolServer) DidChangeWorkspaceFolders ¶
func (*UnimplementedLanguageServerProtocolServer) DidChangeWorkspaceFolders(context.Context, *DidChangeWorkspaceFoldersRequest) (*empty.Empty, error)
func (*UnimplementedLanguageServerProtocolServer) DidCloseTextDocument ¶
func (*UnimplementedLanguageServerProtocolServer) DidCloseTextDocument(context.Context, *DidCloseTextDocumentRequest) (*empty.Empty, error)
func (*UnimplementedLanguageServerProtocolServer) DidOpenTextDocument ¶
func (*UnimplementedLanguageServerProtocolServer) DidOpenTextDocument(context.Context, *DidOpenTextDocumentRequest) (*empty.Empty, error)
func (*UnimplementedLanguageServerProtocolServer) DidSaveTextDocument ¶
func (*UnimplementedLanguageServerProtocolServer) DidSaveTextDocument(context.Context, *DidSaveTextDocumentRequest) (*empty.Empty, error)
func (*UnimplementedLanguageServerProtocolServer) DocumentColor ¶
func (*UnimplementedLanguageServerProtocolServer) DocumentColor(context.Context, *DocumentColorRequest) (*DocumentColorResponse, error)
func (*UnimplementedLanguageServerProtocolServer) DocumentFormatting ¶
func (*UnimplementedLanguageServerProtocolServer) DocumentFormatting(context.Context, *DocumentFormattingRequest) (*DocumentFormattingResponse, error)
func (*UnimplementedLanguageServerProtocolServer) DocumentHighlights ¶
func (*UnimplementedLanguageServerProtocolServer) DocumentHighlights(context.Context, *DocumentHighlightRequest) (*DocumentHighlightsResponse, error)
func (*UnimplementedLanguageServerProtocolServer) DocumentLink ¶
func (*UnimplementedLanguageServerProtocolServer) DocumentLink(context.Context, *DocumentLinkRequest) (*DocumentLinkResponse, error)
func (*UnimplementedLanguageServerProtocolServer) DocumentLinkResolve ¶
func (*UnimplementedLanguageServerProtocolServer) DocumentLinkResolve(context.Context, *DocumentLinkResolveRequest) (*DocumentLinkResolveResponse, error)
func (*UnimplementedLanguageServerProtocolServer) DocumentRangeFormatting ¶
func (*UnimplementedLanguageServerProtocolServer) DocumentRangeFormatting(context.Context, *DocumentRangeFormattingRequest) (*DocumentRangeFormattingResponse, error)
func (*UnimplementedLanguageServerProtocolServer) DocumentSymbols ¶
func (*UnimplementedLanguageServerProtocolServer) DocumentSymbols(context.Context, *DocumentSymbolRequest) (*DocumentSymbolResponse, error)
func (*UnimplementedLanguageServerProtocolServer) ExecuteCommand ¶
func (*UnimplementedLanguageServerProtocolServer) ExecuteCommand(context.Context, *ExecuteCommandParams) (*ExecuteCommandResponse, error)
func (*UnimplementedLanguageServerProtocolServer) FindReferences ¶
func (*UnimplementedLanguageServerProtocolServer) FindReferences(context.Context, *ReferenceRequest) (*ReferenceResponse, error)
func (*UnimplementedLanguageServerProtocolServer) FoldingRange ¶
func (*UnimplementedLanguageServerProtocolServer) FoldingRange(context.Context, *FoldingRangeRequest) (*FoldingRangeResponse, error)
func (*UnimplementedLanguageServerProtocolServer) GotoDeclaration ¶
func (*UnimplementedLanguageServerProtocolServer) GotoDeclaration(context.Context, *DeclarationRequest) (*DeclarationResponse, error)
func (*UnimplementedLanguageServerProtocolServer) GotoDefinition ¶
func (*UnimplementedLanguageServerProtocolServer) GotoDefinition(context.Context, *DefinitionRequest) (*DefinitionResponse, error)
func (*UnimplementedLanguageServerProtocolServer) GotoImplementation ¶
func (*UnimplementedLanguageServerProtocolServer) GotoImplementation(context.Context, *ImplementationRequest) (*ImplementationResponse, error)
func (*UnimplementedLanguageServerProtocolServer) GotoTypeDefinition ¶
func (*UnimplementedLanguageServerProtocolServer) GotoTypeDefinition(context.Context, *TypeDefinitionRequest) (*TypeDefinitionResponse, error)
func (*UnimplementedLanguageServerProtocolServer) Hover ¶
func (*UnimplementedLanguageServerProtocolServer) Hover(context.Context, *HoverRequest) (*HoverResponse, error)
func (*UnimplementedLanguageServerProtocolServer) Initialize ¶
func (*UnimplementedLanguageServerProtocolServer) Initialize(context.Context, *InitializeRequest) (*InitializeResponse, error)
func (*UnimplementedLanguageServerProtocolServer) Initialized ¶
func (*UnimplementedLanguageServerProtocolServer) Initialized(context.Context, *InitializedRequest) (*empty.Empty, error)
func (*UnimplementedLanguageServerProtocolServer) LogMessage ¶
func (*UnimplementedLanguageServerProtocolServer) LogMessage(context.Context, *LogMessageRequest) (*empty.Empty, error)
func (*UnimplementedLanguageServerProtocolServer) LogTrace ¶
func (*UnimplementedLanguageServerProtocolServer) LogTrace(context.Context, *LogTraceRequest) (*empty.Empty, error)
func (*UnimplementedLanguageServerProtocolServer) OnTypeFormatting ¶
func (*UnimplementedLanguageServerProtocolServer) OnTypeFormatting(context.Context, *DocumentOnTypeFormattingRequest) (*DocumentOnTypeFormattingResponse, error)
func (*UnimplementedLanguageServerProtocolServer) PrepareCallHierarchy ¶
func (*UnimplementedLanguageServerProtocolServer) PrepareCallHierarchy(context.Context, *CallHierarchyPrepareRequest) (*CallHierarchyPrepareResponse, error)
func (*UnimplementedLanguageServerProtocolServer) PrepareRename ¶
func (*UnimplementedLanguageServerProtocolServer) PrepareRename(context.Context, *PrepareRenameRequest) (*PrepareRenameResponse, error)
func (*UnimplementedLanguageServerProtocolServer) Progress ¶
func (*UnimplementedLanguageServerProtocolServer) Progress(context.Context, *ProgressRequest) (*empty.Empty, error)
func (*UnimplementedLanguageServerProtocolServer) PublishDiagnostics ¶
func (*UnimplementedLanguageServerProtocolServer) PublishDiagnostics(context.Context, *PublishDiagnosticsRequest) (*empty.Empty, error)
func (*UnimplementedLanguageServerProtocolServer) Rename ¶
func (*UnimplementedLanguageServerProtocolServer) Rename(context.Context, *RenameRequest) (*RenameResponse, error)
func (*UnimplementedLanguageServerProtocolServer) SelectionRange ¶
func (*UnimplementedLanguageServerProtocolServer) SelectionRange(context.Context, *SelectionRangeRequest) (*SelectionRangeResponse, error)
func (*UnimplementedLanguageServerProtocolServer) SetTrace ¶
func (*UnimplementedLanguageServerProtocolServer) SetTrace(context.Context, *SetTraceRequest) (*empty.Empty, error)
func (*UnimplementedLanguageServerProtocolServer) ShowMessage ¶
func (*UnimplementedLanguageServerProtocolServer) ShowMessage(context.Context, *ShowMessageRequestParams) (*empty.Empty, error)
func (*UnimplementedLanguageServerProtocolServer) ShowMessageRequest ¶
func (*UnimplementedLanguageServerProtocolServer) ShowMessageRequest(context.Context, *ShowMessageRequestRequest) (*ShowMessageResponse, error)
func (*UnimplementedLanguageServerProtocolServer) SignatureHelp ¶
func (*UnimplementedLanguageServerProtocolServer) SignatureHelp(context.Context, *SignatureHelpRequest) (*SignatureHelpResponse, error)
func (*UnimplementedLanguageServerProtocolServer) WillSaveTextDocument ¶
func (*UnimplementedLanguageServerProtocolServer) WillSaveTextDocument(context.Context, *WillSaveTextDocumentRequest) (*empty.Empty, error)
func (*UnimplementedLanguageServerProtocolServer) WillSaveWaitUntilTextDocument ¶
func (*UnimplementedLanguageServerProtocolServer) WillSaveWaitUntilTextDocument(context.Context, *WillSaveTextDocumentRequest) (*WillSaveTextDocumentResponse, error)
func (*UnimplementedLanguageServerProtocolServer) WorkspaceFolders ¶
func (*UnimplementedLanguageServerProtocolServer) WorkspaceFolders(context.Context, *empty.Empty) (*WorkspaceFoldersResponse, error)
func (*UnimplementedLanguageServerProtocolServer) WorkspaceSymbols ¶
func (*UnimplementedLanguageServerProtocolServer) WorkspaceSymbols(context.Context, *ConfigurationRequest) (*WorkspaceSymbolsResponse, error)
type Unregistration ¶
type Unregistration struct { // The id used to unregister the request or notification. Usually an id // provided during the register request. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The method / capability to unregister for. Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"` // contains filtered or unexported fields }
Unregistration is the general parameters to unregister a capability.
func (*Unregistration) Descriptor
deprecated
func (*Unregistration) Descriptor() ([]byte, []int)
Deprecated: Use Unregistration.ProtoReflect.Descriptor instead.
func (*Unregistration) GetId ¶
func (x *Unregistration) GetId() string
func (*Unregistration) GetMethod ¶
func (x *Unregistration) GetMethod() string
func (*Unregistration) ProtoMessage ¶
func (*Unregistration) ProtoMessage()
func (*Unregistration) ProtoReflect ¶
func (x *Unregistration) ProtoReflect() protoreflect.Message
func (*Unregistration) Reset ¶
func (x *Unregistration) Reset()
func (*Unregistration) String ¶
func (x *Unregistration) String() string
type UnregistrationParams ¶
type UnregistrationParams struct { // This should correctly be named `unregistrations`. However changing this // is a breaking change and needs to wait until we deliver a 4.x version // of the specification. Unregisterations []*Unregistration `protobuf:"bytes,1,rep,name=unregisterations,proto3" json:"unregisterations,omitempty"` // contains filtered or unexported fields }
UnregistrationParams represents a `client/unregisterCapability` request params.
func (*UnregistrationParams) Descriptor
deprecated
func (*UnregistrationParams) Descriptor() ([]byte, []int)
Deprecated: Use UnregistrationParams.ProtoReflect.Descriptor instead.
func (*UnregistrationParams) GetUnregisterations ¶
func (x *UnregistrationParams) GetUnregisterations() []*Unregistration
func (*UnregistrationParams) ProtoMessage ¶
func (*UnregistrationParams) ProtoMessage()
func (*UnregistrationParams) ProtoReflect ¶
func (x *UnregistrationParams) ProtoReflect() protoreflect.Message
func (*UnregistrationParams) Reset ¶
func (x *UnregistrationParams) Reset()
func (*UnregistrationParams) String ¶
func (x *UnregistrationParams) String() string
type WillSaveTextDocumentRequest ¶
type WillSaveTextDocumentRequest struct { // The document that will be saved. TextDocument *protocol.TextDocumentIdentifier `protobuf:"bytes,1,opt,name=text_document,json=textDocument,proto3" json:"text_document,omitempty"` // The [TextDocumentSaveReason][TextDocumentSaveReason]. Reason TextDocumentSaveReason `protobuf:"varint,2,opt,name=reason,proto3,enum=protocol.rpc.TextDocumentSaveReason" json:"reason,omitempty"` // contains filtered or unexported fields }
WillSaveTextDocumentRequest is the parameters send in a will save `textDocument/willSave` notification.
func (*WillSaveTextDocumentRequest) Descriptor
deprecated
func (*WillSaveTextDocumentRequest) Descriptor() ([]byte, []int)
Deprecated: Use WillSaveTextDocumentRequest.ProtoReflect.Descriptor instead.
func (*WillSaveTextDocumentRequest) GetReason ¶
func (x *WillSaveTextDocumentRequest) GetReason() TextDocumentSaveReason
func (*WillSaveTextDocumentRequest) GetTextDocument ¶
func (x *WillSaveTextDocumentRequest) GetTextDocument() *protocol.TextDocumentIdentifier
func (*WillSaveTextDocumentRequest) ProtoMessage ¶
func (*WillSaveTextDocumentRequest) ProtoMessage()
func (*WillSaveTextDocumentRequest) ProtoReflect ¶
func (x *WillSaveTextDocumentRequest) ProtoReflect() protoreflect.Message
func (*WillSaveTextDocumentRequest) Reset ¶
func (x *WillSaveTextDocumentRequest) Reset()
func (*WillSaveTextDocumentRequest) String ¶
func (x *WillSaveTextDocumentRequest) String() string
type WillSaveTextDocumentResponse ¶
type WillSaveTextDocumentResponse struct { // Types that are assignable to WillSaveTextDocumentResponse: // *WillSaveTextDocumentResponse_TextEdits // *WillSaveTextDocumentResponse_Error WillSaveTextDocumentResponse isWillSaveTextDocumentResponse_WillSaveTextDocumentResponse `protobuf_oneof:"will_save_text_document_response"` // contains filtered or unexported fields }
WillSaveTextDocumentResponse represents a WillSaveTextDocument response.
func (*WillSaveTextDocumentResponse) Descriptor
deprecated
func (*WillSaveTextDocumentResponse) Descriptor() ([]byte, []int)
Deprecated: Use WillSaveTextDocumentResponse.ProtoReflect.Descriptor instead.
func (*WillSaveTextDocumentResponse) GetError ¶
func (x *WillSaveTextDocumentResponse) GetError() *protocol.Error
func (*WillSaveTextDocumentResponse) GetTextEdits ¶
func (x *WillSaveTextDocumentResponse) GetTextEdits() *TextEdits
func (*WillSaveTextDocumentResponse) GetWillSaveTextDocumentResponse ¶
func (m *WillSaveTextDocumentResponse) GetWillSaveTextDocumentResponse() isWillSaveTextDocumentResponse_WillSaveTextDocumentResponse
func (*WillSaveTextDocumentResponse) ProtoMessage ¶
func (*WillSaveTextDocumentResponse) ProtoMessage()
func (*WillSaveTextDocumentResponse) ProtoReflect ¶
func (x *WillSaveTextDocumentResponse) ProtoReflect() protoreflect.Message
func (*WillSaveTextDocumentResponse) Reset ¶
func (x *WillSaveTextDocumentResponse) Reset()
func (*WillSaveTextDocumentResponse) String ¶
func (x *WillSaveTextDocumentResponse) String() string
type WillSaveTextDocumentResponse_TextEdits ¶
type WillSaveTextDocumentResponse_TextEdits struct {
TextEdits *TextEdits `protobuf:"bytes,1,opt,name=text_edits,json=textEdits,proto3,oneof"`
}
type WorkDoneProgressCancelRequest ¶
type WorkDoneProgressCancelRequest struct { // The token to be used to report progress. Token *ProgressToken `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
WorkDoneProgressCancelRequest represents a canceling a work done progress notification params.
func (*WorkDoneProgressCancelRequest) Descriptor
deprecated
func (*WorkDoneProgressCancelRequest) Descriptor() ([]byte, []int)
Deprecated: Use WorkDoneProgressCancelRequest.ProtoReflect.Descriptor instead.
func (*WorkDoneProgressCancelRequest) GetToken ¶
func (x *WorkDoneProgressCancelRequest) GetToken() *ProgressToken
func (*WorkDoneProgressCancelRequest) ProtoMessage ¶
func (*WorkDoneProgressCancelRequest) ProtoMessage()
func (*WorkDoneProgressCancelRequest) ProtoReflect ¶
func (x *WorkDoneProgressCancelRequest) ProtoReflect() protoreflect.Message
func (*WorkDoneProgressCancelRequest) Reset ¶
func (x *WorkDoneProgressCancelRequest) Reset()
func (*WorkDoneProgressCancelRequest) String ¶
func (x *WorkDoneProgressCancelRequest) String() string
type WorkDoneProgressCreateRequest ¶
type WorkDoneProgressCreateRequest struct { // The token to be used to report progress. Token *ProgressToken `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
WorkDoneProgressCreateRequest represents a Creating Work Done Progress request params.
func (*WorkDoneProgressCreateRequest) Descriptor
deprecated
func (*WorkDoneProgressCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use WorkDoneProgressCreateRequest.ProtoReflect.Descriptor instead.
func (*WorkDoneProgressCreateRequest) GetToken ¶
func (x *WorkDoneProgressCreateRequest) GetToken() *ProgressToken
func (*WorkDoneProgressCreateRequest) ProtoMessage ¶
func (*WorkDoneProgressCreateRequest) ProtoMessage()
func (*WorkDoneProgressCreateRequest) ProtoReflect ¶
func (x *WorkDoneProgressCreateRequest) ProtoReflect() protoreflect.Message
func (*WorkDoneProgressCreateRequest) Reset ¶
func (x *WorkDoneProgressCreateRequest) Reset()
func (*WorkDoneProgressCreateRequest) String ¶
func (x *WorkDoneProgressCreateRequest) String() string
type WorkDoneProgressParams ¶
type WorkDoneProgressParams struct { // An optional token that a server can use to report work done progress. WorkDoneToken *ProgressToken `protobuf:"bytes,1,opt,name=work_done_token,json=workDoneToken,proto3" json:"work_done_token,omitempty"` // contains filtered or unexported fields }
WorkDoneProgressParams a parameter literal used to pass a work done progress token.
func (*WorkDoneProgressParams) Descriptor
deprecated
func (*WorkDoneProgressParams) Descriptor() ([]byte, []int)
Deprecated: Use WorkDoneProgressParams.ProtoReflect.Descriptor instead.
func (*WorkDoneProgressParams) GetWorkDoneToken ¶
func (x *WorkDoneProgressParams) GetWorkDoneToken() *ProgressToken
func (*WorkDoneProgressParams) ProtoMessage ¶
func (*WorkDoneProgressParams) ProtoMessage()
func (*WorkDoneProgressParams) ProtoReflect ¶
func (x *WorkDoneProgressParams) ProtoReflect() protoreflect.Message
func (*WorkDoneProgressParams) Reset ¶
func (x *WorkDoneProgressParams) Reset()
func (*WorkDoneProgressParams) String ¶
func (x *WorkDoneProgressParams) String() string
type WorkspaceFolder ¶
type WorkspaceFolder struct { // The associated URI for this workspace folder. Uri *uri.DocumentURI `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` // The name of the workspace folder. Used to refer to this // workspace folder in the user interface. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
WorkspaceFolder represents a workspace root folder. (-- api-linter: core::0123::resource-annotation=disabled --)
func (*WorkspaceFolder) Descriptor
deprecated
func (*WorkspaceFolder) Descriptor() ([]byte, []int)
Deprecated: Use WorkspaceFolder.ProtoReflect.Descriptor instead.
func (*WorkspaceFolder) GetName ¶
func (x *WorkspaceFolder) GetName() string
func (*WorkspaceFolder) GetUri ¶
func (x *WorkspaceFolder) GetUri() *uri.DocumentURI
func (*WorkspaceFolder) ProtoMessage ¶
func (*WorkspaceFolder) ProtoMessage()
func (*WorkspaceFolder) ProtoReflect ¶
func (x *WorkspaceFolder) ProtoReflect() protoreflect.Message
func (*WorkspaceFolder) Reset ¶
func (x *WorkspaceFolder) Reset()
func (*WorkspaceFolder) String ¶
func (x *WorkspaceFolder) String() string
type WorkspaceFoldersChangeEvent ¶
type WorkspaceFoldersChangeEvent struct { // The array of added workspace folders. Added []*WorkspaceFolder `protobuf:"bytes,1,rep,name=added,proto3" json:"added,omitempty"` // The array of the removed workspace folders. Removed []*WorkspaceFolder `protobuf:"bytes,2,rep,name=removed,proto3" json:"removed,omitempty"` // contains filtered or unexported fields }
WorkspaceFoldersChangeEvent is the workspace folder change event.
func (*WorkspaceFoldersChangeEvent) Descriptor
deprecated
func (*WorkspaceFoldersChangeEvent) Descriptor() ([]byte, []int)
Deprecated: Use WorkspaceFoldersChangeEvent.ProtoReflect.Descriptor instead.
func (*WorkspaceFoldersChangeEvent) GetAdded ¶
func (x *WorkspaceFoldersChangeEvent) GetAdded() []*WorkspaceFolder
func (*WorkspaceFoldersChangeEvent) GetRemoved ¶
func (x *WorkspaceFoldersChangeEvent) GetRemoved() []*WorkspaceFolder
func (*WorkspaceFoldersChangeEvent) ProtoMessage ¶
func (*WorkspaceFoldersChangeEvent) ProtoMessage()
func (*WorkspaceFoldersChangeEvent) ProtoReflect ¶
func (x *WorkspaceFoldersChangeEvent) ProtoReflect() protoreflect.Message
func (*WorkspaceFoldersChangeEvent) Reset ¶
func (x *WorkspaceFoldersChangeEvent) Reset()
func (*WorkspaceFoldersChangeEvent) String ¶
func (x *WorkspaceFoldersChangeEvent) String() string
type WorkspaceFoldersResponse ¶
type WorkspaceFoldersResponse struct { // Types that are assignable to WorkspaceFoldersResponse: // *WorkspaceFoldersResponse_WorkspaceFolders_ // *WorkspaceFoldersResponse_Empty // *WorkspaceFoldersResponse_Error WorkspaceFoldersResponse isWorkspaceFoldersResponse_WorkspaceFoldersResponse `protobuf_oneof:"workspace_folders_response"` // contains filtered or unexported fields }
WorkspaceFoldersResponse represents a WorkspaceFolders response.
func (*WorkspaceFoldersResponse) Descriptor
deprecated
func (*WorkspaceFoldersResponse) Descriptor() ([]byte, []int)
Deprecated: Use WorkspaceFoldersResponse.ProtoReflect.Descriptor instead.
func (*WorkspaceFoldersResponse) GetEmpty ¶
func (x *WorkspaceFoldersResponse) GetEmpty() _struct.NullValue
func (*WorkspaceFoldersResponse) GetError ¶
func (x *WorkspaceFoldersResponse) GetError() *protocol.Error
func (*WorkspaceFoldersResponse) GetWorkspaceFolders ¶
func (x *WorkspaceFoldersResponse) GetWorkspaceFolders() *WorkspaceFoldersResponse_WorkspaceFolders
func (*WorkspaceFoldersResponse) GetWorkspaceFoldersResponse ¶
func (m *WorkspaceFoldersResponse) GetWorkspaceFoldersResponse() isWorkspaceFoldersResponse_WorkspaceFoldersResponse
func (*WorkspaceFoldersResponse) ProtoMessage ¶
func (*WorkspaceFoldersResponse) ProtoMessage()
func (*WorkspaceFoldersResponse) ProtoReflect ¶
func (x *WorkspaceFoldersResponse) ProtoReflect() protoreflect.Message
func (*WorkspaceFoldersResponse) Reset ¶
func (x *WorkspaceFoldersResponse) Reset()
func (*WorkspaceFoldersResponse) String ¶
func (x *WorkspaceFoldersResponse) String() string
type WorkspaceFoldersResponse_WorkspaceFolders ¶
type WorkspaceFoldersResponse_WorkspaceFolders struct { WorkspaceFolders []*WorkspaceFolder `protobuf:"bytes,1,rep,name=workspace_folders,json=workspaceFolders,proto3" json:"workspace_folders,omitempty"` // contains filtered or unexported fields }
func (*WorkspaceFoldersResponse_WorkspaceFolders) Descriptor
deprecated
func (*WorkspaceFoldersResponse_WorkspaceFolders) Descriptor() ([]byte, []int)
Deprecated: Use WorkspaceFoldersResponse_WorkspaceFolders.ProtoReflect.Descriptor instead.
func (*WorkspaceFoldersResponse_WorkspaceFolders) GetWorkspaceFolders ¶
func (x *WorkspaceFoldersResponse_WorkspaceFolders) GetWorkspaceFolders() []*WorkspaceFolder
func (*WorkspaceFoldersResponse_WorkspaceFolders) ProtoMessage ¶
func (*WorkspaceFoldersResponse_WorkspaceFolders) ProtoMessage()
func (*WorkspaceFoldersResponse_WorkspaceFolders) ProtoReflect ¶
func (x *WorkspaceFoldersResponse_WorkspaceFolders) ProtoReflect() protoreflect.Message
func (*WorkspaceFoldersResponse_WorkspaceFolders) Reset ¶
func (x *WorkspaceFoldersResponse_WorkspaceFolders) Reset()
func (*WorkspaceFoldersResponse_WorkspaceFolders) String ¶
func (x *WorkspaceFoldersResponse_WorkspaceFolders) String() string
type WorkspaceFoldersResponse_WorkspaceFolders_ ¶
type WorkspaceFoldersResponse_WorkspaceFolders_ struct {
WorkspaceFolders *WorkspaceFoldersResponse_WorkspaceFolders `protobuf:"bytes,1,opt,name=workspace_folders,json=workspaceFolders,proto3,oneof"`
}
type WorkspaceFoldersServerCapabilities ¶
type WorkspaceFoldersServerCapabilities struct { // Optional. The server has support for workspace folders Supported bool `protobuf:"varint,1,opt,name=supported,proto3" json:"supported,omitempty"` // Whether the server wants to receive workspace folder // change notifications. // // If a string is provided, the string is treated as an ID // under which the notification is registered on the client // side. The ID can be used to unregister for these events // using the `client/unregisterCapability` request. // // Types that are assignable to ChangeNotifications: // *WorkspaceFoldersServerCapabilities_Id // *WorkspaceFoldersServerCapabilities_Enable ChangeNotifications isWorkspaceFoldersServerCapabilities_ChangeNotifications `protobuf_oneof:"change_notifications"` // contains filtered or unexported fields }
WorkspaceFoldersServerCapabilities is the an additional property of InitializeRequest.workspaceFolders.
func (*WorkspaceFoldersServerCapabilities) Descriptor
deprecated
func (*WorkspaceFoldersServerCapabilities) Descriptor() ([]byte, []int)
Deprecated: Use WorkspaceFoldersServerCapabilities.ProtoReflect.Descriptor instead.
func (*WorkspaceFoldersServerCapabilities) GetChangeNotifications ¶
func (m *WorkspaceFoldersServerCapabilities) GetChangeNotifications() isWorkspaceFoldersServerCapabilities_ChangeNotifications
func (*WorkspaceFoldersServerCapabilities) GetEnable ¶
func (x *WorkspaceFoldersServerCapabilities) GetEnable() bool
func (*WorkspaceFoldersServerCapabilities) GetId ¶
func (x *WorkspaceFoldersServerCapabilities) GetId() string
func (*WorkspaceFoldersServerCapabilities) GetSupported ¶
func (x *WorkspaceFoldersServerCapabilities) GetSupported() bool
func (*WorkspaceFoldersServerCapabilities) ProtoMessage ¶
func (*WorkspaceFoldersServerCapabilities) ProtoMessage()
func (*WorkspaceFoldersServerCapabilities) ProtoReflect ¶
func (x *WorkspaceFoldersServerCapabilities) ProtoReflect() protoreflect.Message
func (*WorkspaceFoldersServerCapabilities) Reset ¶
func (x *WorkspaceFoldersServerCapabilities) Reset()
func (*WorkspaceFoldersServerCapabilities) String ¶
func (x *WorkspaceFoldersServerCapabilities) String() string
type WorkspaceFoldersServerCapabilities_Enable ¶
type WorkspaceFoldersServerCapabilities_Enable struct { // Whether the enable change notifications. Enable bool `protobuf:"varint,3,opt,name=enable,proto3,oneof"` }
type WorkspaceFoldersServerCapabilities_Id ¶
type WorkspaceFoldersServerCapabilities_Id struct { // The id of registered notification. Id string `protobuf:"bytes,2,opt,name=id,proto3,oneof"` }
type WorkspaceSymbolClientCapabilities ¶
type WorkspaceSymbolClientCapabilities struct { // Optional. Symbol request supports dynamic registration. DynamicRegistration bool `protobuf:"varint,1,opt,name=dynamic_registration,json=dynamicRegistration,proto3" json:"dynamic_registration,omitempty"` // Specific capabilities for the `SymbolKind` in the `workspace/symbol` request. SymbolKind *WorkspaceSymbolClientCapabilities_SymbolKind `protobuf:"bytes,2,opt,name=symbol_kind,json=symbolKind,proto3" json:"symbol_kind,omitempty"` // contains filtered or unexported fields }
WorkspaceSymbolClientCapabilities represents a client capabilities of `workspace/symbol` request.
func (*WorkspaceSymbolClientCapabilities) Descriptor
deprecated
func (*WorkspaceSymbolClientCapabilities) Descriptor() ([]byte, []int)
Deprecated: Use WorkspaceSymbolClientCapabilities.ProtoReflect.Descriptor instead.
func (*WorkspaceSymbolClientCapabilities) GetDynamicRegistration ¶
func (x *WorkspaceSymbolClientCapabilities) GetDynamicRegistration() bool
func (*WorkspaceSymbolClientCapabilities) GetSymbolKind ¶
func (x *WorkspaceSymbolClientCapabilities) GetSymbolKind() *WorkspaceSymbolClientCapabilities_SymbolKind
func (*WorkspaceSymbolClientCapabilities) ProtoMessage ¶
func (*WorkspaceSymbolClientCapabilities) ProtoMessage()
func (*WorkspaceSymbolClientCapabilities) ProtoReflect ¶
func (x *WorkspaceSymbolClientCapabilities) ProtoReflect() protoreflect.Message
func (*WorkspaceSymbolClientCapabilities) Reset ¶
func (x *WorkspaceSymbolClientCapabilities) Reset()
func (*WorkspaceSymbolClientCapabilities) String ¶
func (x *WorkspaceSymbolClientCapabilities) String() string
type WorkspaceSymbolClientCapabilities_SymbolKind ¶
type WorkspaceSymbolClientCapabilities_SymbolKind struct { // The symbol kind values the client supports. When this // property exists the client also guarantees that it will // handle values outside its set gracefully and falls back // to a default value when unknown. // // If this property is not present the client only supports // the symbol kinds from `File` to `Array` as defined in // the initial version of the protocol. ValueSet []*WorkspaceSymbolClientCapabilities_SymbolKind `protobuf:"bytes,1,rep,name=value_set,json=valueSet,proto3" json:"value_set,omitempty"` // contains filtered or unexported fields }
func (*WorkspaceSymbolClientCapabilities_SymbolKind) Descriptor
deprecated
func (*WorkspaceSymbolClientCapabilities_SymbolKind) Descriptor() ([]byte, []int)
Deprecated: Use WorkspaceSymbolClientCapabilities_SymbolKind.ProtoReflect.Descriptor instead.
func (*WorkspaceSymbolClientCapabilities_SymbolKind) GetValueSet ¶
func (x *WorkspaceSymbolClientCapabilities_SymbolKind) GetValueSet() []*WorkspaceSymbolClientCapabilities_SymbolKind
func (*WorkspaceSymbolClientCapabilities_SymbolKind) ProtoMessage ¶
func (*WorkspaceSymbolClientCapabilities_SymbolKind) ProtoMessage()
func (*WorkspaceSymbolClientCapabilities_SymbolKind) ProtoReflect ¶
func (x *WorkspaceSymbolClientCapabilities_SymbolKind) ProtoReflect() protoreflect.Message
func (*WorkspaceSymbolClientCapabilities_SymbolKind) Reset ¶
func (x *WorkspaceSymbolClientCapabilities_SymbolKind) Reset()
func (*WorkspaceSymbolClientCapabilities_SymbolKind) String ¶
func (x *WorkspaceSymbolClientCapabilities_SymbolKind) String() string
type WorkspaceSymbolParams ¶
type WorkspaceSymbolParams struct { // extends WorkDoneProgressParams *WorkDoneProgressParams `` /* 131-byte string literal not displayed */ // extends PartialResultParams *PartialResultParams `protobuf:"bytes,2,opt,name=partial_result_params,json=partialResultParams,proto3" json:"partial_result_params,omitempty"` // A query string to filter symbols by. Clients may send an empty // string here to request all symbols. Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"` // contains filtered or unexported fields }
WorkspaceSymbolParams is the parameters of a `workspace/symbol` request.
func (*WorkspaceSymbolParams) Descriptor
deprecated
func (*WorkspaceSymbolParams) Descriptor() ([]byte, []int)
Deprecated: Use WorkspaceSymbolParams.ProtoReflect.Descriptor instead.
func (*WorkspaceSymbolParams) GetPartialResultParams ¶
func (x *WorkspaceSymbolParams) GetPartialResultParams() *PartialResultParams
func (*WorkspaceSymbolParams) GetQuery ¶
func (x *WorkspaceSymbolParams) GetQuery() string
func (*WorkspaceSymbolParams) GetWorkDoneProgressParams ¶
func (x *WorkspaceSymbolParams) GetWorkDoneProgressParams() *WorkDoneProgressParams
func (*WorkspaceSymbolParams) ProtoMessage ¶
func (*WorkspaceSymbolParams) ProtoMessage()
func (*WorkspaceSymbolParams) ProtoReflect ¶
func (x *WorkspaceSymbolParams) ProtoReflect() protoreflect.Message
func (*WorkspaceSymbolParams) Reset ¶
func (x *WorkspaceSymbolParams) Reset()
func (*WorkspaceSymbolParams) String ¶
func (x *WorkspaceSymbolParams) String() string
type WorkspaceSymbolsResponse ¶
type WorkspaceSymbolsResponse struct { // Types that are assignable to WorkspaceSymbolsResponse: // *WorkspaceSymbolsResponse_SymbolInformations_ // *WorkspaceSymbolsResponse_Error WorkspaceSymbolsResponse isWorkspaceSymbolsResponse_WorkspaceSymbolsResponse `protobuf_oneof:"workspace_symbols_response"` // contains filtered or unexported fields }
WorkspaceSymbolsResponse represents a WorkspaceSymbols response.
func (*WorkspaceSymbolsResponse) Descriptor
deprecated
func (*WorkspaceSymbolsResponse) Descriptor() ([]byte, []int)
Deprecated: Use WorkspaceSymbolsResponse.ProtoReflect.Descriptor instead.
func (*WorkspaceSymbolsResponse) GetError ¶
func (x *WorkspaceSymbolsResponse) GetError() *protocol.Error
func (*WorkspaceSymbolsResponse) GetSymbolInformations ¶
func (x *WorkspaceSymbolsResponse) GetSymbolInformations() *WorkspaceSymbolsResponse_SymbolInformations
func (*WorkspaceSymbolsResponse) GetWorkspaceSymbolsResponse ¶
func (m *WorkspaceSymbolsResponse) GetWorkspaceSymbolsResponse() isWorkspaceSymbolsResponse_WorkspaceSymbolsResponse
func (*WorkspaceSymbolsResponse) ProtoMessage ¶
func (*WorkspaceSymbolsResponse) ProtoMessage()
func (*WorkspaceSymbolsResponse) ProtoReflect ¶
func (x *WorkspaceSymbolsResponse) ProtoReflect() protoreflect.Message
func (*WorkspaceSymbolsResponse) Reset ¶
func (x *WorkspaceSymbolsResponse) Reset()
func (*WorkspaceSymbolsResponse) String ¶
func (x *WorkspaceSymbolsResponse) String() string
type WorkspaceSymbolsResponse_SymbolInformations ¶
type WorkspaceSymbolsResponse_SymbolInformations struct { SymbolInformations []*SymbolInformation `protobuf:"bytes,1,rep,name=symbol_informations,json=symbolInformations,proto3" json:"symbol_informations,omitempty"` // contains filtered or unexported fields }
func (*WorkspaceSymbolsResponse_SymbolInformations) Descriptor
deprecated
func (*WorkspaceSymbolsResponse_SymbolInformations) Descriptor() ([]byte, []int)
Deprecated: Use WorkspaceSymbolsResponse_SymbolInformations.ProtoReflect.Descriptor instead.
func (*WorkspaceSymbolsResponse_SymbolInformations) GetSymbolInformations ¶
func (x *WorkspaceSymbolsResponse_SymbolInformations) GetSymbolInformations() []*SymbolInformation
func (*WorkspaceSymbolsResponse_SymbolInformations) ProtoMessage ¶
func (*WorkspaceSymbolsResponse_SymbolInformations) ProtoMessage()
func (*WorkspaceSymbolsResponse_SymbolInformations) ProtoReflect ¶
func (x *WorkspaceSymbolsResponse_SymbolInformations) ProtoReflect() protoreflect.Message
func (*WorkspaceSymbolsResponse_SymbolInformations) Reset ¶
func (x *WorkspaceSymbolsResponse_SymbolInformations) Reset()
func (*WorkspaceSymbolsResponse_SymbolInformations) String ¶
func (x *WorkspaceSymbolsResponse_SymbolInformations) String() string
type WorkspaceSymbolsResponse_SymbolInformations_ ¶
type WorkspaceSymbolsResponse_SymbolInformations_ struct {
SymbolInformations *WorkspaceSymbolsResponse_SymbolInformations `protobuf:"bytes,1,opt,name=symbol_informations,json=symbolInformations,proto3,oneof"`
}