rpc

package
v0.0.0-...-2d04b65 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2021 License: BSD-3-Clause Imports: 21 Imported by: 0

README

Protocol Documentation

Table of Contents

Top

LanguageServerProtocol

Language Server Protocol API.

Method Name Request Type Response Type Description
Cancel CancelRequest .google.protobuf.Empty 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].
Progress ProgressRequest .google.protobuf.Empty 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
Initialize InitializeRequest InitializeResponse 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.
Initialized InitializedRequest .google.protobuf.Empty 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.
Shutdown .google.protobuf.Empty .protocol.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.
Exit .google.protobuf.Empty .google.protobuf.Empty 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.
LogTrace LogTraceRequest .google.protobuf.Empty 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.
SetTrace SetTraceRequest .google.protobuf.Empty 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 --)
ShowMessage ShowMessageRequestParams .google.protobuf.Empty 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.
ShowMessageRequest ShowMessageRequestRequest ShowMessageResponse 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.
LogMessage LogMessageRequest .google.protobuf.Empty LogMessage notification is the log message notification is sent from the server to the client to ask the client to log a particular message.
CreateWorkDoneProgress WorkDoneProgressCreateRequest .protocol.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 --)
CancelWorkDoneProgress WorkDoneProgressCancelRequest .protocol.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.
Telemetry .google.protobuf.Any .google.protobuf.Empty Telemetry notification is the telemetry notification is sent from the server to the client to ask the client to log a telemetry event.
WorkspaceFolders .google.protobuf.Empty WorkspaceFoldersResponse 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
DidChangeWorkspaceFolders DidChangeWorkspaceFoldersRequest .google.protobuf.Empty 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
DidChangeConfiguration DidChangeConfigurationRequest .google.protobuf.Empty DidChangeConfiguration a notification sent from the client to the server to signal the change of configuration settings.
Configuration ConfigurationRequest ConfigurationResponse 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
DidChangeWatchedFiles DidChangeWatchedFilesRequest .google.protobuf.Empty 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.
WorkspaceSymbols ConfigurationRequest WorkspaceSymbolsResponse 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 --)
ExecuteCommand ExecuteCommandParams ExecuteCommandResponse 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.
ApplyEdit ApplyWorkspaceEditRequest ApplyWorkspaceEditResponse ApplyEdit request is sent from the server to the client to modify resource on the client side.
DidOpenTextDocument DidOpenTextDocumentRequest .google.protobuf.Empty 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.
DidChangeTextDocument DidChangeTextDocumentRequest .google.protobuf.Empty 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.
WillSaveTextDocument WillSaveTextDocumentRequest .google.protobuf.Empty WillSaveTextDocument notification is the document will save notification is sent from the client to the server before the document is actually saved.
WillSaveWaitUntilTextDocument WillSaveTextDocumentRequest WillSaveTextDocumentResponse 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.
DidSaveTextDocument DidSaveTextDocumentRequest .google.protobuf.Empty DidSaveTextDocument notification is the document save notification is sent from the client to the server when the document was saved in the client.
DidCloseTextDocument DidCloseTextDocumentRequest .google.protobuf.Empty 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.
PublishDiagnostics PublishDiagnosticsRequest .google.protobuf.Empty PublishDiagnostics notification is the diagnostics notification are sent from the server to the client to signal results of validation runs.
Completion CompletionRequest CompletionResponse 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.
CompletionItemResolve CompletionItemResolveRequest CompletionItemResolveResponse CompletionItemResolve request is the request is sent from the client to the server to resolve additional information for a given completion item.
Hover HoverRequest HoverResponse Hover Request is the hover request is sent from the client to the server to request hover information at a given text document position.
SignatureHelp SignatureHelpRequest SignatureHelpResponse SignatureHelp request is the signature help request is sent from the client to the server to request signature information at a given cursor position.
GotoDeclaration DeclarationRequest DeclarationResponse 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
GotoDefinition DefinitionRequest DefinitionResponse 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.
GotoTypeDefinition TypeDefinitionRequest TypeDefinitionResponse 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
GotoImplementation ImplementationRequest ImplementationResponse 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
FindReferences ReferenceRequest ReferenceResponse 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.
DocumentHighlights DocumentHighlightRequest DocumentHighlightsResponse 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.
DocumentSymbols DocumentSymbolRequest DocumentSymbolResponse 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.
CodeAction CodeActionRequest CodeActionResponse 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.
CodeLens CodeLensRequest CodeLensResponse CodeLens request is the code lens request is sent from the client to the server to compute code lenses for a given text document.
CodeLensResolve CodeLensResolveRequest CodeLensResolveResponse 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.
DocumentLink DocumentLinkRequest DocumentLinkResponse DocumentLink request is the document links request is sent from the client to the server to request the location of links in a document.
DocumentLinkResolve DocumentLinkResolveRequest DocumentLinkResolveResponse 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.
DocumentColor DocumentColorRequest DocumentColorResponse 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
ColorPresentation ColorPresentationRequest ColorPresentationResponse 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
DocumentFormatting DocumentFormattingRequest DocumentFormattingResponse DocumentFormatting request is the document formatting request is sent from the client to the server to format a whole document.
DocumentRangeFormatting DocumentRangeFormattingRequest DocumentRangeFormattingResponse DocumentRangeFormatting Request is the document range formatting request is sent from the client to the server to format a given range in a document.
OnTypeFormatting DocumentOnTypeFormattingRequest DocumentOnTypeFormattingResponse 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.
Rename RenameRequest RenameResponse 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.
PrepareRename PrepareRenameRequest PrepareRenameResponse 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
FoldingRange FoldingRangeRequest FoldingRangeResponse 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
SelectionRange SelectionRangeRequest SelectionRangeResponse 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
PrepareCallHierarchy CallHierarchyPrepareRequest CallHierarchyPrepareResponse 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
CallHierarchyIncomingCalls CallHierarchyIncomingCallsRequest CallHierarchyIncomingCallsResponse 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
CallHierarchyOutgoingCalls CallHierarchyOutgoingCallsRequest CallHierarchyOutgoingCallsResponse 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

protocol/rpc/rpc.proto

ApplyWorkspaceEditRequest

ApplyWorkspaceEditRequest is the parameters of a workspace/applyEdit request.

Field Type Label Description
label google.protobuf.StringValue 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.
edit protocol.WorkspaceEdit The edits to apply.
ApplyWorkspaceEditResponse

ApplyWorkspaceEditResponse is the parameters of a ApplyWorkspaceEdit response.

Field Type Label Description
applied bool Indicates whether the edit was applied or not.
failure_reason google.protobuf.StringValue 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.
CallHierarchyClientCapabilities

CallHierarchyClientCapabilities represents a client capabilities of textDocument/prepareCallHierarchy request.

@since 3.16.0

Field Type Label Description
dynamic_registration bool 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.
CallHierarchyIncomingCall

CallHierarchyIncomingCall represents a item of call hierarchy incoming call.

@since 3.16.0

Field Type Label Description
from CallHierarchyItem The item that makes the call. (-- api-linter: core::0140::reserved-words=disabled api-linter: core::0140::prepositions=disabled --)
from_ranges protocol.Range repeated 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 --)
CallHierarchyIncomingCallsRequest

CallHierarchyIncomingCallsRequest is the parameters of a textDocument/incomingCalls request.

@since 3.16.0

Field Type Label Description
work_done_progress_params WorkDoneProgressParams extends
partial_result_params PartialResultParams extends
item CallHierarchyItem
CallHierarchyIncomingCallsResponse

CallHierarchyIncomingCallsResponse represents a CallHierarchyIncomingCalls response.

Field Type Label Description
result CallHierarchyIncomingCallsResponse.Result
partial_result CallHierarchyIncomingCallsResponse.PartialResult
error protocol.Error
CallHierarchyIncomingCallsResponse.PartialResult
Field Type Label Description
call_hierarchy_incoming_calls CallHierarchyIncomingCall repeated
CallHierarchyIncomingCallsResponse.Result
Field Type Label Description
call_hierarchy_incoming_calls CallHierarchyIncomingCall repeated
empty google.protobuf.NullValue
CallHierarchyItem

CallHierarchyItem represents a item of call hierarchy.

@since 3.16.0 (-- api-linter: core::0123::resource-annotation=disabled --)

Field Type Label Description
name string The name of this item.
kind SymbolKind The kind of this item.
tags SymbolTag repeated Tags for this item.
detail google.protobuf.StringValue More detail for this item, e.g. the signature of a function.
uri protocol.DocumentURI The resource identifier of this item.
range protocol.Range The range enclosing this symbol not including leading/trailing whitespace but everything else, e.g. comments and code.
selection_range protocol.Range 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].
CallHierarchyOptions

CallHierarchyOptions represents a server capabilities option of callHierarchyProvider.

@since 3.16.0

Field Type Label Description
work_done_progress_options protocol.WorkDoneProgressOptions extends
CallHierarchyOutgoingCall

CallHierarchyOutgoingCall represents a item of call hierarchy outgoing call.

@since 3.16.0

Field Type Label Description
to CallHierarchyItem The item that is called. (-- api-linter: core::0140::prepositions=disabled --)
from_ranges protocol.Range repeated 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 --)
CallHierarchyOutgoingCallsRequest

CallHierarchyOutgoingCallsRequest is the parameters of a callHierarchy/outgoingCalls request.

@since 3.16.0

Field Type Label Description
work_done_progress_params WorkDoneProgressParams extends
partial_result_params PartialResultParams extends
item CallHierarchyItem
CallHierarchyOutgoingCallsResponse

CallHierarchyIncomingCallsResponse represents a CallHierarchyOutgoingCalls response.

Field Type Label Description
result CallHierarchyOutgoingCallsResponse.Result
partial_result CallHierarchyOutgoingCallsResponse.PartialResult
error protocol.Error
CallHierarchyOutgoingCallsResponse.PartialResult
Field Type Label Description
call_hierarchy_outgoing_calls CallHierarchyOutgoingCall repeated
CallHierarchyOutgoingCallsResponse.Result
Field Type Label Description
call_hierarchy_outgoing_calls CallHierarchyOutgoingCall repeated
empty google.protobuf.NullValue
CallHierarchyPrepareRequest

CallHierarchyPrepareRequest is the parameters of a textDocument/prepareCallHierarchy request.

@since 3.16.0

Field Type Label Description
text_document_position_params protocol.TextDocumentPositionParams extends
work_done_progress_params WorkDoneProgressParams extends
CallHierarchyPrepareResponse

CallHierarchyPrepareResponse represents a PrepareCallHierarchy response.

Field Type Label Description
result CallHierarchyPrepareResponse.Result
error protocol.Error
CallHierarchyPrepareResponse.Result
Field Type Label Description
call_hierarchy_items CallHierarchyItem repeated
empty google.protobuf.NullValue
CallHierarchyRegistrationOptions

CallHierarchyRegistrationOptions represents a registration option of CallHierarchy.

@since 3.16.0

Field Type Label Description
text_document_registration_options protocol.TextDocumentRegistrationOptions extends
call_hierarchy_options CallHierarchyOptions
static_registration_options protocol.StaticRegistrationOptions extends
CancelRequest

CancelRequest represents a cancel notification params.

Field Type Label Description
id int32 Required. The request id to cancel.
ClientCapabilities

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).

Field Type Label Description
workspace ClientCapabilities.Workspace Optional. Workspace specific client capabilities.
text_document TextDocumentClientCapabilities Optional. Text document specific client capabilities.
window ClientCapabilities.Window Optional. Window specific client capabilities.
experimental google.protobuf.Any Optional. Experimental client capabilities.
ClientCapabilities.Window

Window specific client capabilities.

Field Type Label Description
work_done_progress bool 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
ClientCapabilities.Workspace

Workspace specific client capabilities.

Field Type Label Description
apply_edit bool Optional. The client supports applying batch edits to the workspace by supporting the request 'workspace/applyEdit'.
workspace_edit protocol.WorkspaceEditClientCapabilities Optional. Capabilities specific to WorkspaceEdits.
did_change_configuration DidChangeConfigurationClientCapabilities Optional. Capabilities specific to the workspace/didChangeConfiguration notification.
did_change_watched_files DidChangeWatchedFilesClientCapabilities Optional. Capabilities specific to the workspace/didChangeWatchedFiles notification.
symbol WorkspaceSymbolClientCapabilities Optional. Capabilities specific to the workspace/symbol request.
execute_command ExecuteCommandClientCapabilities Optional. Capabilities specific to the workspace/executeCommand request.
workspace_folders bool Optional. The client has support for workspace folders. @since 3.6.0
configuration bool Optional. The client supports workspace/configuration requests. @since 3.6.0
CodeAction

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.

Field Type Label Description
title string A short, human-readable, title for this code action.
kind CodeActionKind The kind of the code action. Used to filter code actions.
diagnostics protocol.Diagnostic repeated The diagnostics that this code action resolves.
is_preferred bool 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
edit protocol.WorkspaceEdit Optional. The workspace edit this code action performs.
command protocol.Command 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.
CodeActionClientCapabilities

CodeActionClientCapabilities represents a client capabilities of textDocument/codeAction request.

Field Type Label Description
dynamic_registration bool Optional. Whether code action supports dynamic registration.
code_action_literal_support CodeActionClientCapabilities.CodeActionLiteralSupport The client supports code action literals as a valid response of the textDocument/codeAction request. @since 3.8.0
is_preferred_support bool Optional. Whether code action supports the isPreferred property. @since 3.15.0
CodeActionClientCapabilities.CodeActionLiteralSupport
Field Type Label Description
code_action_kind CodeActionClientCapabilities.CodeActionLiteralSupport.CodeActionKind The code action kind is supported with the following value set.
CodeActionClientCapabilities.CodeActionLiteralSupport.CodeActionKind
Field Type Label Description
value_set CodeActionClientCapabilities.CodeActionLiteralSupport.CodeActionKind repeated 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.
CodeActionContext

CodeActionContext contains additional diagnostic information about the context in which a code action is run.

Field Type Label Description
diagnostics protocol.Diagnostic repeated 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.
only CodeActionKind repeated 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.
CodeActionOptions

CodeActionOptions represents a server capabilities option of codeActionProvider.

Field Type Label Description
work_done_progress_options protocol.WorkDoneProgressOptions extends
code_action_kinds CodeActionKind repeated 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.
CodeActionRegistrationOptions

CodeActionRegistrationOptions represents a registration option of CodeAction.

Field Type Label Description
text_document_registration_options protocol.TextDocumentRegistrationOptions extends
code_action_options CodeActionOptions extends
CodeActionRequest

CodeActionRequest params for the CodeActionRequest.

Field Type Label Description
work_done_progress_params WorkDoneProgressParams extends
partial_result_params PartialResultParams extends
text_document protocol.TextDocumentIdentifier The document in which the command was invoked.
range protocol.Range The range for which the command was invoked.
context CodeActionContext Context carrying additional information.
CodeActionResponse

CodeActionResponse represents a CodeAction response.

Field Type Label Description
result CodeActionResponse.Result
partial_result CodeActionResponse.PartialResult
error protocol.Error
CodeActionResponse.PartialResult
Field Type Label Description
commands protocol.Command repeated
code_actions CodeAction repeated
CodeActionResponse.Result
Field Type Label Description
commands protocol.Command repeated
code_actions CodeAction repeated
empty google.protobuf.NullValue
CodeLens

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.

Field Type Label Description
range protocol.Range The range in which this code lens is valid. Should only span a single line.
command protocol.Command The command this code lens represents.
data google.protobuf.Any A data entry field that is preserved on a code lens item between a code lens and a code lens resolve request.
CodeLensClientCapabilities

CodeLensClientCapabilities represents a client capabilities of textDocument/codeLens request.

Field Type Label Description
dynamic_registration bool Optional. Whether code lens supports dynamic registration.
CodeLensOptions

CodeLensOptions represents a server capabilities option of codeLensProvider.

Field Type Label Description
work_done_progress_options protocol.WorkDoneProgressOptions extends
resolve_provider bool Optional. Code lens has a resolve provider as well.
CodeLensRegistrationOptions

CodeLensRegistrationOptions represents a registration option of CodeLens.

Field Type Label Description
text_document_registration_options protocol.TextDocumentRegistrationOptions extends
code_lens_options CodeLensOptions extends
CodeLensRequest

CodeLensRequest is the parameters of a textDocument/codeLens request.

Field Type Label Description
work_done_progress_params WorkDoneProgressParams extends
partial_result_params PartialResultParams extends
text_document protocol.TextDocumentIdentifier The document to request code lens for.
CodeLensResolveRequest

CodeLensResolveRequest represents a CodeLensResolveRequest request.

Field Type Label Description
code_lens CodeLens
CodeLensResolveResponse

CodeLensResolveResponse represents a CodeLensResolve response.

Field Type Label Description
code_lens CodeLens
error protocol.Error
CodeLensResponse

CodeLensResponse represents a CodeLens response.

Field Type Label Description
result CodeLensResponse.Result
partial_result CodeLensResponse.PartialResult
error protocol.Error
CodeLensResponse.PartialResult
Field Type Label Description
code_lens CodeLens repeated
CodeLensResponse.Result
Field Type Label Description
code_lens CodeLens repeated
empty google.protobuf.NullValue
Color

Color represents a color in RGBA space.

Field Type Label Description
red int32 The red component of this color in the range [0-1]. readonly
green int32 The green component of this color in the range [0-1]. readonly
blue int32 The blue component of this color in the range [0-1]. readonly
alpha int32 The alpha component of this color in the range [0-1]. readonly
ColorInformation

ColorInformation represents a color information.

Field Type Label Description
range protocol.Range The range in the document where this color appears.
color Color The actual color value for this color range.
ColorPresentation

ColorPresentation represents a respeonse of textDocument/colorPresentation.

Field Type Label Description
label string 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.
text_edit protocol.TextEdit An [edit][TextEdit] which is applied to a document when selecting this presentation for the color. When falsy the [label][ColorPresentation.label] is used.
additional_text_edits protocol.TextEdit repeated An optional array of additional text edits that are applied when selecting this color presentation. Edits must not overlap with the main [edit][ColorPresentation.textEdit] nor with themselves.
ColorPresentationRequest

ColorPresentationRequest is the parameters of a textDocument/colorPresentation request.

Field Type Label Description
work_done_progress_params WorkDoneProgressParams extends
partial_result_params PartialResultParams extends
text_document protocol.TextDocumentIdentifier The text document.
color Color The color information to request presentations for.
range protocol.Range The range where the color would be inserted. Serves as a context.
ColorPresentationResponse

ColorPresentationResponse represents a ColorPresentation response.

Field Type Label Description
result ColorPresentationResponse.Result
partial_result ColorPresentationResponse.PartialResult
error protocol.Error
ColorPresentationResponse.PartialResult
Field Type Label Description
color_presentations ColorPresentation repeated
ColorPresentationResponse.Result
Field Type Label Description
color_presentations ColorPresentation repeated
CompletionClientCapabilities

CompletionClientCapabilities represents a client capabilities of textDocument/completion request.

Field Type Label Description
dynamic_registration bool Whether completion supports dynamic registration.
completion_item CompletionClientCapabilities.CompletionItem The client supports the following CompletionItem specific capabilities.
completion_item_kind CompletionClientCapabilities.CompletionItemKind
context_support bool Optional. The client supports to send additional context information for a textDocument/completion request.
CompletionClientCapabilities.CompletionItem
Field Type Label Description
snippet_support bool 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.
commit_characters_support bool Optional. Client supports commit characters on a completion item.
documentation_format protocol.MarkupKind repeated Client supports the follow content formats for the documentation property. The order describes the preferred format of the client.
deprecated_support bool Optional. Client supports the deprecated property on a completion item.
preselect_support bool Optional. Client supports the preselect property on a completion item.
tag_support CompletionClientCapabilities.CompletionItem.TagSupport 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
insert_replace_support bool 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
resolve_additional_text_edits_support bool Optional. Client supports to resolve additionalTextEdits in the completionItem/resolve request. So servers can postpone computing them. @since 3.16.0 - Proposed state
CompletionClientCapabilities.CompletionItem.TagSupport
Field Type Label Description
value_set CompletionItemTag repeated The tags supported by the client.
CompletionClientCapabilities.CompletionItemKind
Field Type Label Description
value_set CompletionClientCapabilities.CompletionItemKind repeated 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.
CompletionContext

CompletionContext contains additional information about the context in which a completion request is triggered.

Field Type Label Description
trigger_kind CompletionTriggerKind How the completion was triggered.
trigger_character google.protobuf.StringValue The trigger character (a single character) that has trigger code complete. Is undefined if triggerKind !== CompletionTriggerKind.TriggerCharacter
CompletionItem

CompletionItem is the completion items.

Field Type Label Description
label string The label of this completion item. By default also the text that is inserted when selecting this completion.
kind CompletionItemKind 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.
tags CompletionItemTag repeated Tags for this completion item. @since 3.15.0
detail google.protobuf.StringValue A human-readable string with additional information about this item, like type or symbol information.
markup_content protocol.MarkupContent
content string
deprecated bool Indicates if this item is deprecated. Use tags instead if supported.
preselect bool 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.
sort_text google.protobuf.StringValue A string that should be used when comparing this item with other items. When falsy the label is used.
filter_text google.protobuf.StringValue A string that should be used when filtering a set of completion items. When falsy the label is used.
insert_text google.protobuf.StringValue 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.
insert_text_format InsertTextFormat 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.
text_edit protocol.TextEdit 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.
additional_text_edits protocol.TextEdit repeated 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).
commit_characters string repeated 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.
command protocol.Command 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.
data google.protobuf.Any A data entry field that is preserved on a completion item between a completion and a completion resolve request.
CompletionItemResolveRequest

CompletionItemResolveRequest represents a CompletionItemResolve request.

Field Type Label Description
completion_items CompletionItems
CompletionItemResolveResponse

CompletionItemResolveRequest represents a CompletionItemResolve response.

Field Type Label Description
completion_items CompletionItems
error protocol.Error
CompletionItems

CompletionItems represents a list of CompletionItem.

Field Type Label Description
completion_items CompletionItems repeated
CompletionList

CompletionList represents a collection of completion items to be presented in the editor.

Field Type Label Description
is_incomplete bool Optional. This list it not complete. Further typing should result in recomputing this list.
items CompletionItem repeated The completion items.
CompletionOptions

CompletionOptions represents a server capabilities option of completionProvider.

Field Type Label Description
work_done_progress_options protocol.WorkDoneProgressOptions extends
trigger_characters string repeated 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.
all_commit_characters string repeated 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
resolve_provider bool Optional. The server provides support to resolve additional information for a completion item.
CompletionRegistrationOptions

CompletionRegistrationOptions represents a registration option of Completion.

Field Type Label Description
text_document_registration_options protocol.TextDocumentRegistrationOptions extends
completion_options CompletionOptions extends
CompletionRequest

CompletionRequest is the parameters of a textDocument/completion request.

Field Type Label Description
text_document_position_params protocol.TextDocumentPositionParams extends
work_done_progress_params WorkDoneProgressParams extends
partial_result_params PartialResultParams extends
context CompletionContext The completion context. This is only available if the client specifies to send this using ClientCapabilities.textDocument.completion.contextSupport === true
CompletionResponse

CompletionResponse represents a Completion response.

Field Type Label Description
completion_items CompletionItems
completion_list CompletionList
empty google.protobuf.NullValue
error protocol.Error
ConfigurationItem

ConfigurationItem represents a configuration section to ask for and an additional scope URI.

Field Type Label Description
scope_uri protocol.DocumentURI The scope to get the configuration section for.
section google.protobuf.StringValue The configuration section asked for.
ConfigurationRequest

ConfigurationRequest represents a Configuration request params.

@since 3.6.0

Field Type Label Description
items ConfigurationItem repeated
ConfigurationResponse

ConfigurationResponse represents a Configuration response.

Field Type Label Description
anys ConfigurationResponse.Anys
error protocol.Error
ConfigurationResponse.Anys
Field Type Label Description
anys google.protobuf.Any repeated
DeclarationClientCapabilities

DeclarationClientCapabilities represents a client capabilities of textDocument/declaration request.

Field Type Label Description
dynamic_registration bool 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.
link_support bool Optional. The client supports additional metadata in the form of declaration links.
DeclarationOptions

DeclarationOptions represents a server capabilities option of declarationProvider.

Field Type Label Description
work_done_progress_options protocol.WorkDoneProgressOptions extends
DeclarationRegistrationOptions

SignatureHelpRegistrationOptions represents a registration option of Declaration.

Field Type Label Description
declaration_options DeclarationOptions extends
text_document_registration_options protocol.TextDocumentRegistrationOptions extends
static_registration_options protocol.StaticRegistrationOptions extends
DeclarationRequest

DeclarationRequest is the parameters of a textDocument/declaration request.

Field Type Label Description
text_document_position_params protocol.TextDocumentPositionParams extends
work_done_progress_params WorkDoneProgressParams extends
partial_result_params PartialResultParams extends
DeclarationResponse

DeclarationResponse represents a Declaration response.

Field Type Label Description
result DeclarationResponse.Result
partial_result DeclarationResponse.PartialResult
error protocol.Error
DeclarationResponse.PartialResult
Field Type Label Description
locations Locations
location_links LocationLinks
DeclarationResponse.Result
Field Type Label Description
location protocol.Location
locations Locations
location_links LocationLinks
empty google.protobuf.NullValue
DefinitionClientCapabilities

DefinitionClientCapabilities represents a client capabilities of textDocument/definition request.

Field Type Label Description
dynamic_registration bool Optional. Whether definition supports dynamic registration.
link_support bool Optional. The client supports additional metadata in the form of definition links. @since 3.14.0
DefinitionOptions

DefinitionOptions represents a server capabilities option of definitionProvider.

Field Type Label Description
work_done_progress_options protocol.WorkDoneProgressOptions extends
DefinitionRegistrationOptions

DefinitionRegistrationOptions represents a registration option of Definition.

Field Type Label Description
text_document_registration_options protocol.TextDocumentRegistrationOptions extends
definition_options DefinitionOptions extends
DefinitionRequest

DefinitionRequest is the parameters of a textDocument/definition request.

Field Type Label Description
text_document_position_params protocol.TextDocumentPositionParams extends
work_done_progress_params WorkDoneProgressParams extends
partial_result_params PartialResultParams extends
DefinitionResponse

DefinitionResponse represents a Definition response.

Field Type Label Description
result DefinitionResponse.Result
partial_result DefinitionResponse.PartialResult
error protocol.Error
DefinitionResponse.PartialResult
Field Type Label Description
locations Locations
location_links LocationLinks
DefinitionResponse.Result
Field Type Label Description
location protocol.Location
locations Locations
location_links LocationLinks
empty google.protobuf.NullValue
DidChangeConfigurationClientCapabilities

DidChangeConfigurationClientCapabilities represents a client capabilities of workspace/didChangeConfiguration notification.

Field Type Label Description
dynamic_registration bool Optional. Did change configuration notification supports dynamic registration.
DidChangeConfigurationRequest

DidChangeConfigurationRequest represents a workspace/didChangeConfiguration notification params.

Field Type Label Description
settings google.protobuf.Any The actual changed settings
DidChangeTextDocumentRequest

DidChangeTextDocumentRequest is the parameters of a textDocument/didChange notification.

Field Type Label Description
text_document protocol.VersionedTextDocumentIdentifier The document that did change. The version number points to the version after all provided content changes have been applied.
content_changes TextDocumentContentChangeEvent repeated 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 TextDocumentContentChangeEvents in a single notification in the order you receive them.
DidChangeWatchedFilesClientCapabilities

DidChangeWatchedFilesClientCapabilities represents a client capabilities of workspace/didChangeWatchedFiles notification.

Field Type Label Description
dynamic_registration bool 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.
DidChangeWatchedFilesRegistrationOptions

DidChangeWatchedFilesRegistrationOptions describe options to be used when registering for file system change events.

Field Type Label Description
watchers FileSystemWatcher repeated The watchers to register.
DidChangeWatchedFilesRequest

DidChangeWatchedFilesRequest is the parameters of a workspace/didChangeWatchedFiles notification.

Field Type Label Description
changes FileEvent repeated The actual file events.
DidChangeWorkspaceFoldersRequest

DidChangeWorkspaceFoldersRequest represents a workspace/didChangeWorkspaceFolders notification params.

Field Type Label Description
event WorkspaceFoldersChangeEvent The actual workspace folder change event.
DidCloseTextDocumentRequest

DidCloseTextDocumentRequest is the parameters of a textDocument/didClose notification.

Field Type Label Description
text_document protocol.TextDocumentIdentifier The document that was closed.
DidOpenTextDocumentRequest

DidOpenTextDocumentRequest is the parameters of a textDocument/didOpen notification.

Field Type Label Description
text_document protocol.TextDocumentItem The document that was opened.
DidSaveTextDocumentRequest

DidSaveTextDocumentRequest is the parameters of a textDocument/didSave notification.

Field Type Label Description
text_document protocol.TextDocumentIdentifier The document that was saved.
text google.protobuf.StringValue Optional the content when saved. Depends on the includeText value when the save notification was requested.
DocumentColorClientCapabilities

DocumentColorClientCapabilities represents a client capabilities of textDocument/documentColor request.

Field Type Label Description
dynamic_registration bool Optional. Whether document color supports dynamic registration.
DocumentColorOptions

DocumentColorOptions represents a server capabilities option of documentColorProvider.

Field Type Label Description
work_done_progress_options protocol.WorkDoneProgressOptions extends
DocumentColorRegistrationOptions

DocumentColorRegistrationOptions represents a registration option of DocumentColor.

Field Type Label Description
text_document_registration_options protocol.TextDocumentRegistrationOptions extends
static_registration_options protocol.StaticRegistrationOptions extends
document_color_options DocumentColorOptions extends
DocumentColorRequest

DocumentColorRequest is the parameters of a textDocument/documentColor request.

Field Type Label Description
work_done_progress_params WorkDoneProgressParams extends
partial_result_params PartialResultParams extends
text_document protocol.TextDocumentIdentifier The text document.
DocumentColorResponse

DocumentColorResponse represents a DocumentColor response.

Field Type Label Description
result DocumentColorResponse.Result
partial_result DocumentColorResponse.PartialResult
error protocol.Error
DocumentColorResponse.PartialResult
Field Type Label Description
color_informations ColorInformation repeated
DocumentColorResponse.Result
Field Type Label Description
color_informations ColorInformation repeated
DocumentFormattingClientCapabilities

DocumentFormattingClientCapabilities represents a client capabilities of textDocument/formatting request.

Field Type Label Description
dynamic_registration bool Optional. Whether formatting supports dynamic registration.
DocumentFormattingOptions

DocumentFormattingOptions represents a server capabilities option of documentFormattingProvider.

Field Type Label Description
work_done_progress_options protocol.WorkDoneProgressOptions extends
DocumentFormattingRegistrationOptions

DocumentFormattingRegistrationOptions represents a registration option of DocumentFormatting.

Field Type Label Description
text_document_registration_options protocol.TextDocumentRegistrationOptions extends
document_formatting_options DocumentFormattingOptions extends
DocumentFormattingRequest

DocumentFormattingRequest is the parameters of a textDocument/formatting request.

Field Type Label Description
work_done_progress_params WorkDoneProgressParams extends
text_document protocol.TextDocumentIdentifier The document to format.
options FormattingOptions The format options.
DocumentFormattingResponse

DocumentFormattingResponse represents a DocumentFormatting response.

Field Type Label Description
text_edit protocol.TextEdit
empty google.protobuf.NullValue
error protocol.Error
DocumentHighlight

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.

Field Type Label Description
range protocol.Range The range this highlight applies to.
kind DocumentHighlight.DocumentHighlightKind Optional. The highlight kind, default is DocumentHighlightKind.Text.
DocumentHighlightClientCapabilities

DocumentHighlightClientCapabilities represents a client capabilities of textDocument/documentHighlight request.

Field Type Label Description
dynamic_registration bool Optional. Whether document highlight supports dynamic registration.
DocumentHighlightOptions

DocumentHighlightOptions represents a server capabilities option of documentHighlightProvider.

Field Type Label Description
work_done_progress_options protocol.WorkDoneProgressOptions extends
DocumentHighlightRegistrationOptions

DocumentHighlightRegistrationOptions represents a registration option of DocumentHighlight.

Field Type Label Description
text_document_registration_options protocol.TextDocumentRegistrationOptions extends
document_highlight_options DocumentHighlightOptions extends
DocumentHighlightRequest

DocumentHighlightRequest is the parameters of a textDocument/documentHighlight request.

Field Type Label Description
text_document_position_params protocol.TextDocumentPositionParams extends
work_done_progress_params WorkDoneProgressParams extends
partial_result_params PartialResultParams extends
DocumentHighlightsResponse

DocumentHighlightsResponse represents a DocumentHighlights response.

Field Type Label Description
result DocumentHighlightsResponse.Result
partial_result DocumentHighlightsResponse.PartialResult
error protocol.Error
DocumentHighlightsResponse.PartialResult
Field Type Label Description
document_highlights DocumentHighlight repeated
DocumentHighlightsResponse.Result
Field Type Label Description
document_highlights DocumentHighlight repeated
empty google.protobuf.NullValue

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.

Field Type Label Description
range protocol.Range The range this link applies to.
target protocol.DocumentURI The uri this link points to. If missing a resolve request is sent later.
tooltip google.protobuf.StringValue 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
data google.protobuf.Any A data entry field that is preserved on a document link between a DocumentLinkRequest and a DocumentLinkResolveRequest.
DocumentLinkClientCapabilities

DocumentLinkClientCapabilities represents a client capabilities of textDocument/documentLink request.

Field Type Label Description
dynamic_registration bool Optional. Whether document link supports dynamic registration.
tooltip_support bool Optional. Whether the client supports the tooltip property on DocumentLink. @since 3.15.0
DocumentLinkOptions

DocumentLinkOptions represents a server capabilities option of documentLinkProvider.

Field Type Label Description
work_done_progress_options protocol.WorkDoneProgressOptions extends
resolve_provider bool Optional. Document links have a resolve provider as well.
DocumentLinkRegistrationOptions

DocumentLinkRegistrationOptions represents a registration option of DocumentLink.

Field Type Label Description
text_document_registration_options protocol.TextDocumentRegistrationOptions extends
document_link_options DocumentLinkOptions extends
DocumentLinkRequest

DocumentLinkRequest is the parameters of a textDocument/documentLink request.

Field Type Label Description
work_done_progress_params WorkDoneProgressParams extends
partial_result_params PartialResultParams extends
text_document protocol.TextDocumentIdentifier The document to provide document links for.
DocumentLinkResolveRequest

DocumentLinkResolveRequest represents a DocumentLinkResolveRequest request.

Field Type Label Description
document_link DocumentLink
DocumentLinkResolveResponse

DocumentLinkResolveResponse represents a DocumentLinkResolve response.

Field Type Label Description
document_link DocumentLink
error protocol.Error
DocumentLinkResponse

DocumentLinkResponse represents a DocumentLink response.

Field Type Label Description
result DocumentLinkResponse.Result
partial_result DocumentLinkResponse.PartialResult
error protocol.Error
DocumentLinkResponse.PartialResult
Field Type Label Description
document_links DocumentLink repeated
DocumentLinkResponse.Result
Field Type Label Description
document_links DocumentLink repeated
empty google.protobuf.NullValue
DocumentOnTypeFormattingClientCapabilities

DocumentOnTypeFormattingClientCapabilities represents a client capabilities of textDocument/onTypeFormatting request.

Field Type Label Description
dynamic_registration bool Optional. Whether on type formatting supports dynamic registration.
DocumentOnTypeFormattingOptions

DocumentOnTypeFormattingOptions represents a server capabilities option of documentOnTypeFormattingProvider.

Field Type Label Description
first_trigger_character string A character on which formatting should be triggered, like }.
more_trigger_character google.protobuf.StringValue repeated More trigger characters.
DocumentOnTypeFormattingRegistrationOptions

DocumentOnTypeFormattingRegistrationOptions represents a registration option of DocumentOnTypeFormatting.

Field Type Label Description
text_document_registration_options protocol.TextDocumentRegistrationOptions extends
document_on_type_formatting_options DocumentOnTypeFormattingOptions extends
DocumentOnTypeFormattingRequest

DocumentOnTypeFormattingRequest is the parameters of a textDocument/onTypeFormatting request.

Field Type Label Description
text_document_position_params protocol.TextDocumentPositionParams extends
ch string The character that has been typed.
options FormattingOptions The format options.
DocumentOnTypeFormattingResponse

DocumentOnTypeFormattingResponse represents a OnTypeFormatting response.

Field Type Label Description
text_edit protocol.TextEdit
empty google.protobuf.NullValue
error protocol.Error
DocumentRangeFormattingClientCapabilities

DocumentRangeFormattingClientCapabilities represents a client capabilities of textDocument/rangeFormatting request.

Field Type Label Description
dynamic_registration bool Optional. Whether formatting supports dynamic registration.
DocumentRangeFormattingOptions

DocumentRangeFormattingOptions represents a server capabilities option of documentRangeFormattingProvider.

Field Type Label Description
work_done_progress_options protocol.WorkDoneProgressOptions extends
DocumentRangeFormattingRegistrationOptions

DocumentRangeFormattingRegistrationOptions represents a registration option of DocumentRangeFormatting.

Field Type Label Description
text_document_registration_options protocol.TextDocumentRegistrationOptions extends
document_formatting_options DocumentFormattingOptions extends
DocumentRangeFormattingRequest

DocumentRangeFormattingRequest is the parameters of a textDocument/rangeFormatting request.

Field Type Label Description
work_done_progress_params WorkDoneProgressParams extends
text_document protocol.TextDocumentIdentifier The document to format.
range protocol.Range The range to format
options FormattingOptions The format options
DocumentRangeFormattingResponse

DocumentRangeFormattingResponse represents a DocumentRangeFormatting response.

Field Type Label Description
text_edit protocol.TextEdit
empty google.protobuf.NullValue
error protocol.Error
DocumentSymbol

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 --)

Field Type Label Description
name string 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.
detail string More detail for this symbol, e.g the signature of a function.
kind SymbolKind The kind of this symbol.
deprecated bool Optional. Indicates if this symbol is deprecated.
range protocol.Range 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.
selection_range protocol.Range 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.
children DocumentSymbol repeated Children of this symbol, e.g. properties of a class.
DocumentSymbolClientCapabilities

DocumentSymbolClientCapabilities represents a client capabilities of textDocument/documentSymbol request.

Field Type Label Description
dynamic_registration bool Optional. Whether document symbol supports dynamic registration.
symbol_kind DocumentSymbolClientCapabilities.SymbolKind Specific capabilities for the SymbolKind in the textDocument/documentSymbol request.
hierarchical_document_symbol_support bool Optional. The client supports hierarchical document symbols.
DocumentSymbolClientCapabilities.SymbolKind
Field Type Label Description
value_set DocumentSymbolClientCapabilities.SymbolKind repeated 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.
DocumentSymbolOptions

DocumentSymbolOptions represents a server capabilities option of documentSymbolProvider.

Field Type Label Description
work_done_progress_options protocol.WorkDoneProgressOptions extends
DocumentSymbolRegistrationOptions

DocumentSymbolRegistrationOptions represents a registration option of DocumentSymbol.

Field Type Label Description
text_document_registration_options protocol.TextDocumentRegistrationOptions extends
document_symbol_options DocumentSymbolOptions extends
DocumentSymbolRequest

DocumentSymbolRequest is the parameters of a textDocument/documentSymbol request.

Field Type Label Description
work_done_progress_params WorkDoneProgressParams extends
partial_result_params PartialResultParams extends
text_document protocol.TextDocumentIdentifier The text document.
DocumentSymbolResponse

DocumentSymbolResponse represents a DocumentSymbol response.

Field Type Label Description
result DocumentSymbolResponse.Result
partial_result DocumentSymbolResponse.PartialResult
error protocol.Error
DocumentSymbolResponse.PartialResult
Field Type Label Description
document_symbols DocumentSymbol repeated
symbol_informations SymbolInformation repeated
DocumentSymbolResponse.Result
Field Type Label Description
document_symbols DocumentSymbol repeated
symbol_informations SymbolInformation repeated
empty google.protobuf.NullValue
ExecuteCommandClientCapabilities

ExecuteCommandClientCapabilities represents a client capabilities of workspace/executeCommand request.

Field Type Label Description
dynamic_registration bool Optional. Execute command supports dynamic registration.
ExecuteCommandOptions
Field Type Label Description
work_done_progress_options protocol.WorkDoneProgressOptions extends
commands string repeated The commands to be executed on the server
ExecuteCommandParams

ExecuteCommandParams is the parameters of a workspace/executeCommand request.

Field Type Label Description
work_done_progress_params WorkDoneProgressParams extends
command string The identifier of the actual command handler.
arguments google.protobuf.Any repeated Arguments that the command should be invoked with. (-- api-linter: core::0140::reserved-words=disabled --)
ExecuteCommandRegistrationOptions

ExecuteCommandRegistrationOptions execute command registration options.

Field Type Label Description
execute_command_options ExecuteCommandOptions extends
ExecuteCommandResponse

ExecuteCommandResponse represents a ExecuteCommand response.

Field Type Label Description
any google.protobuf.Any
error protocol.Error
FileEvent

FileEvent an event describing a file change.

Field Type Label Description
uri protocol.DocumentURI The file's URI.
type FileEvent.FileChangeType The change type.
FileSystemWatcher

FileSystemWatcher represents a watcher of file system.

Field Type Label Description
glob_pattern string 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)
kind FileSystemWatcher.WatchKind Optional. The kind of events of interest. If omitted it defaults to follows which is 7. WatchKind.CREATE | WatchKind.CHANGE | WatchKind.DELETE
FoldingRange

FoldingRange represents a folding range.

Field Type Label Description
start_line int32 The zero-based line number from where the folded range starts.
start_character google.protobuf.Int32Value The zero-based character offset from where the folded range starts. If not defined, defaults to the length of the start line.
end_line int32 The zero-based line number where the folded range ends.
end_character google.protobuf.Int32Value The zero-based character offset before the folded range ends. If not defined, defaults to the length of the end line.
kind FoldingRangeKind 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.
FoldingRangeClientCapabilities

FoldingRangeClientCapabilities represents a client capabilities of textDocument/foldingRange request.

Field Type Label Description
dynamic_registration bool 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.
range_limit google.protobuf.Int32Value 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.
line_folding_only bool 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.
FoldingRangeOptions

FoldingRangeOptions represents a server capabilities option of foldingRangeProvider.

Field Type Label Description
work_done_progress_options protocol.WorkDoneProgressOptions extends
FoldingRangeRegistrationOptions

FoldingRangeRegistrationOptions represents a registration option of FoldingRange.

Field Type Label Description
text_document_registration_options protocol.TextDocumentRegistrationOptions extends
folding_range_options FoldingRangeOptions
static_registration_options protocol.StaticRegistrationOptions extends
FoldingRangeRequest

FoldingRangeRequest is the parameters of a textDocument/foldingRange request.

Field Type Label Description
work_done_progress_params WorkDoneProgressParams extends
partial_result_params PartialResultParams extends
text_document protocol.TextDocumentIdentifier The text document.
FoldingRangeResponse

FoldingRangeResponse represents a FoldingRange response.

Field Type Label Description
result FoldingRangeResponse.Result
partial_result FoldingRangeResponse.PartialResult
error protocol.Error
FoldingRangeResponse.PartialResult
Field Type Label Description
folding_ranges FoldingRange repeated
FoldingRangeResponse.Result
Field Type Label Description
folding_ranges FoldingRange repeated
empty google.protobuf.NullValue
FormattingOptions

FormattingOptions value-object describing what options formatting should use.

Field Type Label Description
tab_size int32 Size of a tab in spaces.
insert_spaces bool Prefer spaces over tabs.
trim_trailing_whitespace bool Optional. Trim trailing whitespace on a line. @since 3.15.0
insert_final_newline bool Optional. Insert a newline character at the end of the file if one does not exist. @since 3.15.0
trim_final_newlines bool Optional. Trim all newlines after the final newline at the end of the file. @since 3.15.0
key FormattingOptions.KeyEntry repeated Signature for further properties.
FormattingOptions.KeyEntry
Field Type Label Description
key string
value FormattingOptions.Value
FormattingOptions.Value

(-- api-linter: core::0123::resource-annotation=disabled --)

Field Type Label Description
enable bool
number int32
name string
Hover

Hover is the result of a hover request.

Field Type Label Description
marked_string MarkedString
marked_strings Hover.MarkedStrings
markup_content protocol.MarkupContent
range protocol.Range An optional range is a range inside a text document that is used to visualize a hover, e.g. by changing the background color.
Hover.MarkedStrings
Field Type Label Description
marked_string MarkedString repeated
HoverClientCapabilities

HoverClientCapabilities represents a client capabilities of textDocument/hover request.

Field Type Label Description
dynamic_registration bool Optional. Whether hover supports dynamic registration.
content_format protocol.MarkupKind repeated Client supports the follow content formats for the content property. The order describes the preferred format of the client.
HoverOptions

HoverOptions represents a server capabilities option of hoverProvider.

Field Type Label Description
work_done_progress_options protocol.WorkDoneProgressOptions extends
HoverRegistrationOptions

CompletionRegistrationOptions represents a registration option of Hover.

Field Type Label Description
text_document_registration_options protocol.TextDocumentRegistrationOptions extends
hover_options HoverOptions extends
HoverRequest

HoverRequest is the parameters of a textDocument/hover request.

Field Type Label Description
text_document_position_params protocol.TextDocumentPositionParams extends
work_done_progress_params WorkDoneProgressParams extends
HoverResponse

HoverResponse represents a Hover response.

Field Type Label Description
hover Hover
empty google.protobuf.NullValue
error protocol.Error
ImplementationClientCapabilities

ImplementationClientCapabilities represents a client capabilities of textDocument/implementation request.

Field Type Label Description
dynamic_registration bool 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.
link_support bool Optional. The client supports additional metadata in the form of definition links. @since 3.14.0
ImplementationOptions

ImplementationOptions represents a server capabilities option of implementationProvider.

Field Type Label Description
work_done_progress_options protocol.WorkDoneProgressOptions extends
ImplementationRegistrationOptions

ImplementationRegistrationOptions represents a registration option of Implementation.

Field Type Label Description
text_document_registration_options protocol.TextDocumentRegistrationOptions extends
implementation_options ImplementationOptions extends
static_registration_options protocol.StaticRegistrationOptions extends
ImplementationRequest

ImplementationRequest is the parameters of a textDocument/implementation request.

Field Type Label Description
text_document_position_params protocol.TextDocumentPositionParams extends
work_done_progress_params WorkDoneProgressParams extends
partial_result_params PartialResultParams extends
ImplementationResponse

ImplementationResponse represents a Implementation response.

Field Type Label Description
result ImplementationResponse.Result
partial_result ImplementationResponse.PartialResult
error protocol.Error
ImplementationResponse.PartialResult
Field Type Label Description
locations Locations
location_links LocationLinks
ImplementationResponse.Result
Field Type Label Description
location protocol.Location
locations Locations
location_links LocationLinks
empty google.protobuf.NullValue
InitializeErrorData

InitializeError known error data for InitializeResponse response.

Field Type Label Description
retry bool 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.
InitializeErrorUnknownProtocolVersion

InitializeError known error codes.

Field Type Label Description
unknown_protocol_version int32 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.
InitializeRequest

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.

Field Type Label Description
work_done_progress_params WorkDoneProgressParams extends
process_id int32 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.
client_info InitializeRequest.ClientInfo Optional. Information about the client. @since 3.15.0
root_path google.protobuf.StringValue Optional. The rootPath of the workspace. Is null if no folder is open. Use rootUri instead of.
root_uri protocol.DocumentURI The rootUri of the workspace. Is null if no folder is open. If both rootPath and rootUri are set rootUri wins. nullable
initialization_options google.protobuf.Any Optional. User provided initialization options.
capabilities ClientCapabilities Required. The capabilities provided by the client (editor or tool)
trace protocol.TraceValue Optional. The initial trace setting. If omitted trace is disabled ('off').
workspace_folders WorkspaceFolder repeated 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
InitializeRequest.ClientInfo

(-- api-linter: core::0140::abbreviations=disabled api-linter: core::0123::resource-annotation=disabled --)

Field Type Label Description
name string The name of the client as defined by the client.
version google.protobuf.StringValue Optional. The client's version as defined by the client.
InitializeResponse

InitializeResponse result of Initialize.

Field Type Label Description
capabilities ServerCapabilities The capabilities the language server provides.
server_info InitializeResponse.ServerInfo Optional. Information about the server. @since 3.15.0
InitializeResponse.ServerInfo

Information about the server.

@since 3.15.0 (-- api-linter: core::0123::resource-annotation=disabled --)

Field Type Label Description
name string The name of the server as defined by the server.
version google.protobuf.StringValue Optional. The server's version as defined by the server.
InitializedRequest

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.

LocationLinks represents a list of LocationLink.

Field Type Label Description
location_links LocationLinks repeated
Locations

Locations represents a list of Location.

Field Type Label Description
locations Locations repeated
LogMessageRequest

LogMessageRequest represents a notification params.

Field Type Label Description
type MessageType The message type. See [MessageType][MessageType].
message string The actual message
LogTraceRequest

LogTraceRequest represents a $/logTrace notification params.

Field Type Label Description
message string The message to be logged.
verbose google.protobuf.StringValue Optional. Additional information that can be computed if the trace configuration is set to 'verbose'.
MarkedString

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:

${value}

Note that markdown strings will be sanitized - that means html will be escaped.

Deprecated: use MarkupContent instead.

Field Type Label Description
text string
code_block MarkedString.CodeBlock
MarkedString.CodeBlock
Field Type Label Description
language string (-- api-linter: core::0143::standardized-codes=disabled --)
value string
MessageActionItem

MessageActionItem is the message action items to present.

Field Type Label Description
title string A short title like 'Retry', 'Open Log' etc.
ParameterInformation

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 --)

Field Type Label Description
name string
offset ParameterInformation.Offset
markup string
markup_content protocol.MarkupContent
ParameterInformation.Offset
Field Type Label Description
start int32
end int32
PartialResultParams

PartialResultParams a parameter literal used to pass a partial result token.

Field Type Label Description
partial_result_token int32 An optional token that a server can use to report partial results (e.g. streaming) to the client.
PrepareRenameRequest

PrepareRenameRequest is the parameters of a textDocument/prepareRename request.

Field Type Label Description
text_document_position_params protocol.TextDocumentPositionParams extends
PrepareRenameResponse

PrepareRenameResponse represents a PrepareRename response.

Field Type Label Description
range protocol.Range
result PrepareRenameResponse.Result
empty google.protobuf.NullValue
error protocol.Error
PrepareRenameResponse.Result
Field Type Label Description
range protocol.Range
place_holder string
ProgressRequest

ProgressRequest represents a progress notification params.

@since 3.15.0

Field Type Label Description
token ProgressToken Required. The progress token provided by the client or server.
value google.protobuf.Any Required. The progress data.
ProgressToken

ProgressToken is the report progress token.

Field Type Label Description
token int32 Required.
PublishDiagnosticsClientCapabilities

PublishDiagnosticsClientCapabilities represents a client capabilities of textDocument/publishDiagnostics notification.

Field Type Label Description
related_information bool Optional. Whether the clients accepts diagnostics with related information.
tag_support PublishDiagnosticsClientCapabilities.TagSupport 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
version_support bool Optional. Whether the client interprets the version property of the textDocument/publishDiagnostics notification's parameter. @since 3.15.0
PublishDiagnosticsClientCapabilities.TagSupport
Field Type Label Description
value_set protocol.DiagnosticTag repeated The tags supported by the client.
PublishDiagnosticsRequest

PublishDiagnosticsRequest is the parameters of a textDocument/publishDiagnostics notification.

Field Type Label Description
uri protocol.DocumentURI The URI for which diagnostic information is reported.
version int32 Optional the version number of the document the diagnostics are published for. @since 3.15.0
diagnostics protocol.Diagnostic repeated An array of diagnostic information items.
ReferenceClientCapabilities

ImplementationClientCapabilities represents a client capabilities of textDocument/references request.

Field Type Label Description
dynamic_registration bool Optional. Whether references supports dynamic registration.
ReferenceContext

ReferenceContext whether the references supports include the declaration

Field Type Label Description
include_declaration bool Include the declaration of the current symbol.
ReferenceOptions

ReferenceOptions represents a server capabilities option of referenceProvider.

Field Type Label Description
work_done_progress_options protocol.WorkDoneProgressOptions extends
ReferenceRegistrationOptions

ReferenceRegistrationOptions represents a registration option of Reference.

Field Type Label Description
text_document_registration_options protocol.TextDocumentRegistrationOptions extends
reference_options ReferenceOptions extends
ReferenceRequest

ReferenceRequest is the parameters of a textDocument/references request.

Field Type Label Description
text_document_position_params protocol.TextDocumentPositionParams extends
work_done_progress_params WorkDoneProgressParams extends
partial_result_params PartialResultParams extends
context ReferenceContext
ReferenceResponse

ReferenceResponse represents a Reference response.

Field Type Label Description
result ReferenceResponse.Result
partial_result ReferenceResponse.PartialResult
error protocol.Error
ReferenceResponse.PartialResult
Field Type Label Description
locations Locations
ReferenceResponse.Result
Field Type Label Description
locations Locations
empty google.protobuf.NullValue
Registration

Registration is the general parameters to register for a capability.

Field Type Label Description
id string The id used to register the request. The id can be used to deregister the request again.
method string The method / capability to register for.
register_options google.protobuf.Any Options necessary for the registration.
RegistrationParams

RegistrationParams represents a client/registerCapability request params.

Field Type Label Description
registrations Registration repeated
RenameClientCapabilities

RenameClientCapabilities represents a client capabilities of textDocument/rename request.

Field Type Label Description
dynamic_registration bool Optional. Whether rename supports dynamic registration.
prepare_support bool Optional. Client supports testing for validity of rename operations before execution. @since version 3.12.0
RenameOptions

RenameOptions represents a server capabilities option of renameProvider.

Field Type Label Description
work_done_progress_options protocol.WorkDoneProgressOptions extends
prepare_provider bool Optional. Renames should be checked and tested before being executed.
RenameRegistrationOptions

RenameRegistrationOptions represents a registration option of Rename.

Field Type Label Description
text_document_registration_options protocol.TextDocumentRegistrationOptions extends
rename_options RenameOptions extends
RenameRequest

RenameRequest is the parameters of a textDocument/rename request.

Field Type Label Description
text_document_position_params protocol.TextDocumentPositionParams extends
work_done_progress_params WorkDoneProgressParams extends
new_name string The new name of the symbol. If the given name is not valid the request must return a ResponseError with an appropriate message set. (-- api-linter: core::0122::name-suffix=disabled --)
RenameResponse

RenameResponse represents a Rename response.

Field Type Label Description
workspace_edit protocol.WorkspaceEdit
empty google.protobuf.NullValue
error protocol.Error
SaveOptions

SaveOptions represents a server capabilities option of textDocumentSync.save.

Field Type Label Description
include_text bool Optional. The client is supposed to include the content on save.
SelectionRange

SelectionRange represents a range of selection.

Field Type Label Description
range protocol.Range The [range][Range] of this selection range.
parent SelectionRange The parent selection range containing this range. Therefore parent.range must contain this.range.
SelectionRangeClientCapabilities

FoldingRangeClientCapabilities represents a client capabilities of textDocument/selectionRange request.

Field Type Label Description
dynamic_registration bool 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.
SelectionRangeOptions

SelectionRangeOptions represents a server capabilities option of selectionRangeProvider.

Field Type Label Description
work_done_progress_options protocol.WorkDoneProgressOptions extends
SelectionRangeRegistrationOptions

SelectionRangeRegistrationOptions represents a registration option of SelectionRange.

Field Type Label Description
selection_range_options SelectionRangeOptions
text_document_registration_options protocol.TextDocumentRegistrationOptions extends
static_registration_options protocol.StaticRegistrationOptions extends
SelectionRangeRequest

SelectionRangeRequest is the parameters of a textDocument/selectionRange request.

Field Type Label Description
work_done_progress_params WorkDoneProgressParams extends
partial_result_params PartialResultParams extends
text_document protocol.TextDocumentIdentifier The text document.
positions protocol.Position repeated The positions inside the text document.
SelectionRangeResponse

SelectionRangeResponse represents a SelectionRangeResponse response.

Field Type Label Description
result SelectionRangeResponse.Result
partial_result SelectionRangeResponse.PartialResult
error protocol.Error
SelectionRangeResponse.PartialResult
Field Type Label Description
selection_ranges SelectionRange repeated
SelectionRangeResponse.Result
Field Type Label Description
selection_ranges SelectionRange repeated
empty google.protobuf.NullValue
SemanticTokens

SemanticTokens represents a list of semantic token.

@since 3.16.0

Field Type Label Description
result_id google.protobuf.StringValue 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.
data int32 repeated The actual tokens.
SemanticTokensClientCapabilities

SemanticTokensClientCapabilities represents a client capabilities of textDocument/semanticTokens/* request.

@since 3.16.0

Field Type Label Description
dynamic_registration bool 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.
requests SemanticTokensClientCapabilities.Requests Which requests the client supports and might send to the server.
token_types SemanticTokenTypes repeated The token types that the client supports.
token_modifiers SemanticTokenModifiers repeated The token modifiers that the client supports.
formats TokenFormat repeated The formats the clients supports.
SemanticTokensClientCapabilities.Requests
Field Type Label Description
enable_range bool
empty google.protobuf.NullValue
enable_full bool
delta bool
SemanticTokensDelta

SemanticTokensDelta represents a list of semantic delta token.

Field Type Label Description
result_id string readonly
edits SemanticTokensEdit repeated The semantic token edits to transform a previous result into a new result.
SemanticTokensDeltaParams

SemanticTokensDeltaParams is the parameters of a textDocument/semanticTokens/full/delta request.

@since 3.16.0

Field Type Label Description
work_done_progress_params WorkDoneProgressParams extends
partial_result_params PartialResultParams extends
text_document protocol.TextDocumentIdentifier The text document.
previous_result_id string The previous result id.
SemanticTokensDeltaPartialResult

SemanticTokensDeltaPartialResult represents a partial result of textDocument/semanticTokens/full/delta request.

Field Type Label Description
edits SemanticTokensEdit repeated
SemanticTokensEdit

SemanticTokensEdit represents a semantic token edit.

Field Type Label Description
start int32 The start offset of the edit.
delete_count int32 The count of elements to remove.
data int32 repeated The elements to insert.
SemanticTokensLegend

SemanticTokensLegend represents a legend of semantic tokens.

@since 3.16.0

Field Type Label Description
token_types SemanticTokenTypes repeated The token types a server uses.
token_modifiers SemanticTokenModifiers repeated The token modifiers a server uses.
SemanticTokensOptions

SemanticTokensOptions represents a server capabilities option of semanticTokensProvider.

@since 3.16.0

Field Type Label Description
work_done_progress_options protocol.WorkDoneProgressOptions extends
legend SemanticTokensLegend The legend used by the server
enable_range bool
empty google.protobuf.NullValue
enable_full bool
delta bool
SemanticTokensParams

SemanticTokensParams is the parameters of a textDocument/semanticTokens/full request.

@since 3.16.0

Field Type Label Description
work_done_progress_params WorkDoneProgressParams extends
partial_result_params PartialResultParams extends
text_document protocol.TextDocumentIdentifier The text document.
SemanticTokensPartialResult

SemanticTokensPartialResult represents a partial result of textDocument/semanticTokens/full request.

@since 3.16.0

Field Type Label Description
data int32 repeated
SemanticTokensRegistrationOptions

SemanticTokensRegistrationOptions represents a registration option of SemanticTokens.

@since 3.16.0

Field Type Label Description
text_document_registration_options protocol.TextDocumentRegistrationOptions extends
semantic_tokens_options SemanticTokensOptions
static_registration_options protocol.StaticRegistrationOptions extends
ServerCapabilities

ServerCapabilities is the signal of server capabilities.

Field Type Label Description
text_document_sync_options TextDocumentSyncOptions
text_document_sync_kind TextDocumentSyncKind
completion_provider CompletionOptions Optional. The server provides completion support.
enable_hover_provider bool
hover_options HoverOptions
signature_help_provider SignatureHelpOptions Optional. The server provides signature help support.
enable_declaration_provider bool
declaration_options DeclarationOptions
declaration_registration_options DeclarationRegistrationOptions
enable_definition_provider bool
definition_options DefinitionOptions
enable_type_definition_provider bool
type_definition_options TypeDefinitionOptions
type_definition_registration_options TypeDefinitionRegistrationOptions
enable_implementation_provider bool
implementation_options ImplementationOptions
implementation_registration_options ImplementationRegistrationOptions
enable_references_provider bool
reference_options ReferenceOptions
enable_document_highlight_provider bool
document_highlight_options DocumentHighlightOptions
enable_document_symbol_provider bool
document_symbol_options DocumentSymbolOptions
enable_code_action_provider bool
code_action_options CodeActionOptions
codelens_provider CodeLensOptions Optional. The server provides code lens.
document_link_provider DocumentLinkOptions Optional. The server provides document link support.
enable_color_provider bool
document_color_options DocumentColorOptions
document_color_registration_options DocumentColorRegistrationOptions
enable_document_formatting_provider bool
document_formatting_options DocumentFormattingOptions
enable_document_range_formatting_provider bool
document_range_formatting_options DocumentRangeFormattingOptions
document_on_type_formatting_provider DocumentOnTypeFormattingOptions Optional. The server provides document formatting on typing.
enable_rename_provider bool
rename_options RenameOptions
enable_folding_range_provider bool
folding_range_options FoldingRangeOptions
folding_range_registration_options FoldingRangeRegistrationOptions
execute_command_provider ExecuteCommandOptions Optional. The server provides execute command support.
enable_selection_range_provider bool
selection_range_options SelectionRangeOptions
selection_range_registration_options SelectionRangeRegistrationOptions
workspace_symbol_provider bool The server provides workspace symbol support.
workspace ServerCapabilities.Workspace Optional.
experimental google.protobuf.Any Optional. Experimental server capabilities.
ServerCapabilities.Workspace

Workspace specific server capabilities

Field Type Label Description
workspace_folders WorkspaceFoldersServerCapabilities Optional. The server supports workspace folder. @since 3.6.0
SetTraceRequest

SetTraceRequest represents a $/setTrace notification params.

Field Type Label Description
value protocol.TraceValue The new value that should be assigned to the trace setting.
ShowMessageRequestParams

ShowMessageRequestParams represents a window/showMessage notification params.

Field Type Label Description
type MessageType The message type. See [MessageType][MessageType].
message string The actual message.
ShowMessageRequestRequest

ShowMessageRequestRequest represents a window/showMessageRequest request params.

Field Type Label Description
type MessageType The message type. See [MessageType][MessageType].
message string The actual message.
actions MessageActionItem repeated The message action items to present.
ShowMessageResponse

ShowMessageResponse represents a ShowMessage response.

Field Type Label Description
message_action_item MessageActionItem
empty google.protobuf.NullValue
error protocol.Error
SignatureHelp

SignatureHelp represents the signature of something callable. There can be multiple signature but only one active and only one active parameter.

Field Type Label Description
signatures SignatureInformation repeated One or more signatures. If no signatures are available the signature help request should return null.
active_signature google.protobuf.Int32Value 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.
active_parameter google.protobuf.Int32Value 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.
SignatureHelpClientCapabilities

SignatureHelpClientCapabilities represents a client capabilities of textDocument/signatureHelp request.

Field Type Label Description
dynamic_registration bool Optional. Whether signature help supports dynamic registration.
signature_information SignatureHelpClientCapabilities.SignatureInformation
context_support bool 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
SignatureHelpClientCapabilities.SignatureInformation

The client supports the following SignatureInformation specific properties.

Field Type Label Description
documentation_format protocol.MarkupKind repeated Client supports the follow content formats for the documentation property. The order describes the preferred format of the client.
parameter_information SignatureHelpClientCapabilities.SignatureInformation.ParameterInformation Client capabilities specific to parameter information.
active_parameter_support bool Optional. The client support the activeParameter property on SignatureInformation literal. @since 3.16.0 - proposed state
SignatureHelpClientCapabilities.SignatureInformation.ParameterInformation
Field Type Label Description
label_offset_support bool Optional. The client supports processing label offsets instead of a simple label string. @since 3.14.0
SignatureHelpContext

Additional information about the context in which a signature help request was triggered.

@since 3.15.0

Field Type Label Description
trigger_kind SignatureHelpContext.SignatureHelpTriggerKind Action that caused signature help to be triggered.
trigger_character string Character that caused signature help to be triggered. This is undefined when trigger_kind !== SignatureHelpTriggerKind.TriggerCharacter
is_retrigger bool 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.
active_signature_help SignatureHelp The currently active SignatureHelp. The activeSignatureHelp has its SignatureHelp.activeSignature field updated based on the user navigating through available signatures.
SignatureHelpOptions

SignatureHelpOptions represents a server capabilities option of signatureHelpProvider.

Field Type Label Description
work_done_progress_options protocol.WorkDoneProgressOptions extends
trigger_characters string repeated The characters that trigger signature help automatically.
retrigger_characters string repeated 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
SignatureHelpRegistrationOptions

SignatureHelpRegistrationOptions represents a registration option of SignatureHelp.

Field Type Label Description
text_document_registration_options protocol.TextDocumentRegistrationOptions extends
signature_help_options SignatureHelpOptions extends
SignatureHelpRequest

SignatureHelpRequest is the parameters of a textDocument/signatureHelp request.

Field Type Label Description
text_document_position_params protocol.TextDocumentPositionParams extends
work_done_progress_params WorkDoneProgressParams extends
context SignatureHelpContext 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
SignatureHelpResponse

SignatureHelpResponse represents a SignatureHelp response.

Field Type Label Description
signature_help SignatureHelp
empty google.protobuf.NullValue
error protocol.Error
SignatureInformation

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.

Field Type Label Description
label string The label of this signature. Will be shown in the UI.
markup string
markup_content protocol.MarkupContent
parameters ParameterInformation repeated The parameters of this signature.
active_parameter google.protobuf.Int32Value The index of the active parameter. If provided, this is used in place of SignatureHelp.activeParameter. @since 3.16.0 - proposed state
SymbolInformation

SymbolInformation represents information about programming constructs like variables, classes, interfaces etc. (-- api-linter: core::0123::resource-annotation=disabled --)

Field Type Label Description
name string The name of this symbol.
kind SymbolKind The kind of this symbol.
deprecated bool Optional. Indicates if this symbol is deprecated.
location protocol.Location 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.
container_name string 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 --)
TelemetryParams

TelemetryParams represents a telemetry/event notification params.

Field Type Label Description
params google.protobuf.Any Optional.
TextDocumentChangeRegistrationOptions

TextDocumentChangeRegistrationOptions describe options to be used when registering for text document change events.

Field Type Label Description
text_document_registration_options protocol.TextDocumentRegistrationOptions extends
sync_kind TextDocumentSyncKind How documents are synced to the server. See TextDocumentSyncKind.Full and TextDocumentSyncKind.Incremental.
TextDocumentClientCapabilities

TextDocumentClientCapabilities define capabilities the editor / tool provides on text documents.

Field Type Label Description
synchronization TextDocumentSyncClientCapabilities
completion CompletionClientCapabilities Capabilities specific to the textDocument/completion request.
hover HoverClientCapabilities Capabilities specific to the textDocument/hover request.
signature_help SignatureHelpClientCapabilities Capabilities specific to the textDocument/signatureHelp request.
declaration DeclarationClientCapabilities Capabilities specific to the textDocument/declaration request. @since 3.14.0
definition DefinitionClientCapabilities Capabilities specific to the textDocument/definition request.
type_definition TypeDefinitionClientCapabilities Capabilities specific to the textDocument/typeDefinition request. @since 3.6.0
implementation ImplementationClientCapabilities Capabilities specific to the textDocument/implementation request. @since 3.6.0
references ReferenceClientCapabilities Capabilities specific to the textDocument/references request.
document_highlight DocumentHighlightClientCapabilities Capabilities specific to the textDocument/documentHighlight request.
document_symbol DocumentSymbolClientCapabilities Capabilities specific to the textDocument/documentSymbol request.
code_action CodeActionClientCapabilities Capabilities specific to the textDocument/codeAction request.
code_lens CodeLensClientCapabilities Capabilities specific to the textDocument/codeLens request.
document_link DocumentLinkClientCapabilities Capabilities specific to the textDocument/documentLink request.
color_provider DocumentColorClientCapabilities Capabilities specific to the textDocument/documentColor and the textDocument/colorPresentation request. @since 3.6.0
formatting DocumentFormattingClientCapabilities Capabilities specific to the textDocument/formatting request.
range_formatting DocumentRangeFormattingClientCapabilities Capabilities specific to the textDocument/rangeFormatting request.
on_type_formatting DocumentOnTypeFormattingClientCapabilities Capabilities specific to the textDocument/onTypeFormatting request.
rename RenameClientCapabilities Capabilities specific to the textDocument/rename request.
publish_diagnostics PublishDiagnosticsClientCapabilities Capabilities specific to the textDocument/publishDiagnostics notification.
folding_range FoldingRangeClientCapabilities Capabilities specific to the textDocument/foldingRange request. @since 3.10.0
selection_range SelectionRangeClientCapabilities Capabilities specific to the textDocument/selectionRange request. @since 3.15.0
TextDocumentContentChangeEvent

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.

Field Type Label Description
content_change_event TextDocumentContentChangeEvent.ContentChangeEvent
text string The new text of the whole document.
TextDocumentContentChangeEvent.ContentChangeEvent
Field Type Label Description
range protocol.Range The range of the document that changed.
range_length int32 The optional length of the range that got replaced. Use range instead.
text string The new text for the provided range.
TextDocumentSaveRegistrationOptions

TextDocumentSaveRegistrationOptions represents a registration option of TextDocumentSave.

Field Type Label Description
text_document_registration_options protocol.TextDocumentRegistrationOptions extends
include_text bool Optional. The client is supposed to include the content on save.
TextDocumentSyncClientCapabilities

TextDocumentSyncClientCapabilities represents a client capabilities of textDocument/didXXX notification.

Field Type Label Description
dynamic_registration bool Optional. Whether text document synchronization supports dynamic registration.
will_save bool Optional. The client supports sending will save notifications.
will_save_wait_until bool 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.
did_save bool Optional. The client supports did save notifications.
TextDocumentSyncOptions

TextDocumentSyncOptions represents a server capabilities option of textDocumentSync.

Field Type Label Description
open_close bool Optional. Open and close notifications are sent to the server. If omitted open close notification should not be sent.
change TextDocumentSyncKind Optional. Change notifications are sent to the server. See [TextDocumentSyncKind][TextDocumentSyncKind]. If omitted it defaults to TextDocumentSyncKind.None.
will_save bool Optional. If present will save notifications are sent to the server. If omitted the notification should not be sent.
will_save_wait_until bool Optional. If present will save wait until requests are sent to the server. If omitted the request should not be sent.
enable bool
save_options SaveOptions
TextEdits

TextEdits represents a list of TextEdit.

Field Type Label Description
text_edit protocol.TextEdit repeated
TypeDefinitionClientCapabilities

TypeDefinitionClientCapabilities represents a client capabilities of textDocument/typeDefinition request.

Field Type Label Description
dynamic_registration bool 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.
link_support bool Optional. The client supports additional metadata in the form of definition links. @since 3.14.0
TypeDefinitionOptions

TypeDefinitionOptions represents a server capabilities option of typeDefinitionProvider.

Field Type Label Description
work_done_progress_options protocol.WorkDoneProgressOptions extends
TypeDefinitionRegistrationOptions

TypeDefinitionRegistrationOptions represents a registration option of TypeDefinition.

Field Type Label Description
text_document_registration_options protocol.TextDocumentRegistrationOptions extends
type_definition_options TypeDefinitionOptions extends
static_registration_options protocol.StaticRegistrationOptions extends
TypeDefinitionRequest

TypeDefinitionRequest is the parameters of a textDocument/typeDefinition request.

Field Type Label Description
text_document_position_params protocol.TextDocumentPositionParams extends
work_done_progress_params WorkDoneProgressParams extends
partial_result_params PartialResultParams extends
TypeDefinitionResponse

TypeDefinitionResponse represents a TypeDefinition response.

Field Type Label Description
result TypeDefinitionResponse.Result
partial_result TypeDefinitionResponse.PartialResult
error protocol.Error
TypeDefinitionResponse.PartialResult
Field Type Label Description
locations Locations
location_links LocationLinks
TypeDefinitionResponse.Result
Field Type Label Description
location protocol.Location
locations Locations
location_links LocationLinks
empty google.protobuf.NullValue
Unregistration

Unregistration is the general parameters to unregister a capability.

Field Type Label Description
id string The id used to unregister the request or notification. Usually an id provided during the register request.
method string The method / capability to unregister for.
UnregistrationParams

UnregistrationParams represents a client/unregisterCapability request params.

Field Type Label Description
unregisterations Unregistration repeated 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.
WillSaveTextDocumentRequest

WillSaveTextDocumentRequest is the parameters send in a will save textDocument/willSave notification.

Field Type Label Description
text_document protocol.TextDocumentIdentifier The document that will be saved.
reason TextDocumentSaveReason The [TextDocumentSaveReason][TextDocumentSaveReason].
WillSaveTextDocumentResponse

WillSaveTextDocumentResponse represents a WillSaveTextDocument response.

Field Type Label Description
text_edits TextEdits
error protocol.Error
WorkDoneProgressCancelRequest

WorkDoneProgressCancelRequest represents a canceling a work done progress notification params.

Field Type Label Description
token ProgressToken The token to be used to report progress.
WorkDoneProgressCreateRequest

WorkDoneProgressCreateRequest represents a Creating Work Done Progress request params.

Field Type Label Description
token ProgressToken The token to be used to report progress.
WorkDoneProgressParams

WorkDoneProgressParams a parameter literal used to pass a work done progress token.

Field Type Label Description
work_done_token ProgressToken An optional token that a server can use to report work done progress.
WorkspaceFolder

WorkspaceFolder represents a workspace root folder. (-- api-linter: core::0123::resource-annotation=disabled --)

Field Type Label Description
uri protocol.DocumentURI The associated URI for this workspace folder.
name string The name of the workspace folder. Used to refer to this workspace folder in the user interface.
WorkspaceFoldersChangeEvent

WorkspaceFoldersChangeEvent is the workspace folder change event.

Field Type Label Description
added WorkspaceFolder repeated The array of added workspace folders.
removed WorkspaceFolder repeated The array of the removed workspace folders.
WorkspaceFoldersResponse

WorkspaceFoldersResponse represents a WorkspaceFolders response.

Field Type Label Description
workspace_folders WorkspaceFoldersResponse.WorkspaceFolders
empty google.protobuf.NullValue
error protocol.Error
WorkspaceFoldersResponse.WorkspaceFolders
Field Type Label Description
workspace_folders WorkspaceFolder repeated
WorkspaceFoldersServerCapabilities

WorkspaceFoldersServerCapabilities is the an additional property of InitializeRequest.workspaceFolders.

Field Type Label Description
supported bool Optional. The server has support for workspace folders
id string The id of registered notification.
enable bool Whether the enable change notifications.
WorkspaceSymbolClientCapabilities

WorkspaceSymbolClientCapabilities represents a client capabilities of workspace/symbol request.

Field Type Label Description
dynamic_registration bool Optional. Symbol request supports dynamic registration.
symbol_kind WorkspaceSymbolClientCapabilities.SymbolKind Specific capabilities for the SymbolKind in the workspace/symbol request.
WorkspaceSymbolClientCapabilities.SymbolKind
Field Type Label Description
value_set WorkspaceSymbolClientCapabilities.SymbolKind repeated 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.
WorkspaceSymbolParams

WorkspaceSymbolParams is the parameters of a workspace/symbol request.

Field Type Label Description
work_done_progress_params WorkDoneProgressParams extends
partial_result_params PartialResultParams extends
query string A query string to filter symbols by. Clients may send an empty string here to request all symbols.
WorkspaceSymbolsResponse

WorkspaceSymbolsResponse represents a WorkspaceSymbols response.

Field Type Label Description
symbol_informations WorkspaceSymbolsResponse.SymbolInformations
error protocol.Error
WorkspaceSymbolsResponse.SymbolInformations
Field Type Label Description
symbol_informations SymbolInformation repeated
CodeActionKind

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 --)

Name Number Description
EMPTY 0 Empty kind.
QUICKFIX 1 Base kind for quickfix actions: 'quickfix'.
REFACTOR 2 Base kind for refactoring actions: 'refactor'.
REFACTOR_EXTRACT 3 Base kind for refactoring extraction actions: 'refactor.extract'. Example extract actions: - Extract method - Extract function - Extract variable - Extract interface from class - ...
REFACTOR_INLINE 4 Base kind for refactoring inline actions: 'refactor.inline'. Example inline actions: - Inline function - Inline variable - Inline constant - ...
REFACTOR_REWRITE 5 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 - ...
SOURCE 6 Base kind for source actions: source. Source code actions apply to the entire file.
SOURCE_ORGANIZE_IMPORTS 7 Base kind for an organize imports source action: source.organizeImports.
CompletionItemKind

CompletionItemKind is the kind of a completion entry.

Name Number Description
COMPLETION_ITEM_KIND_UNSPECIFIED 0 Conventional default for enums. Do not use this.
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
CompletionItemTag

CompletionItemTag completion item tags are extra annotations that tweak the rendering of a completion item.

@since 3.15.0

Name Number Description
COMPLETION_ITEM_TAG_UNSPECIFIED 0 Conventional default for enums. Do not use this.
DEPRECATED_TAG 1 Render a completion as obsolete, usually using a strike-out.
CompletionTriggerKind

CompletionTriggerKind how a completion was triggered.

Name Number Description
COMPLETION_TRIGGER_KIND_UNSPECIFIED 0 Conventional default for enums. Do not use this.
INVOKED 1 Completion was triggered by typing an identifier (24x7 code complete), manual invocation (e.g Ctrl+Space) or via API.
TRIGGER_CHARACTER 2 Completion was triggered by a trigger character specified by the triggerCharacters properties of the CompletionRegistrationOptions.
TRIGGER_FOR_INCOMPLETE_COMPLETIONS 3 Completion was re-triggered as the current completion list is incomplete.
DocumentHighlight.DocumentHighlightKind

DocumentHighlightKind is a document highlight kind.

Name Number Description
DOCUMENT_HIGHLIGHT_KIND_UNSPECIFIED 0 Conventional default for enums. Do not use this.
TEXT 1 A textual occurrence.
READ 2 Read-access of a symbol, like reading a variable.
WRITE 3 Write-access of a symbol, like writing to a variable.
FileEvent.FileChangeType

FileChangeType is the file event type.

Name Number Description
FILE_CHANGE_TYPE_UNSPECIFIED 0 Conventional default for enums. Do not use this.
CREATED 1 The file got created.
CHANGED 2 The file got changed.
DELETED 3 The file got deleted.
FileSystemWatcher.WatchKind
Name Number Description
WATCH_KIND_UNSPECIFIED 0 Conventional default for enums. Do not use this.
CREATE 1 Interested in create events.
CHANGE 2 Interested in change events
DELETE 4 Interested in delete events
FoldingRangeKind

FoldingRangeKind Enum of known range kinds.

Name Number Description
FOLDING_RANGE_KIND_UNSPECIFIED 0 Conventional default for enums. Do not use this.
COMMENT_RANGE 1 Folding range for a comment. string: 'comment'
IMPORTS_RANGE 2 Folding range for a imports or includes. string: 'imports'
REGION_RANGE 3 Folding range for a region (e.g. #region). string: 'region'
InsertTextFormat

InsertTextFormat defines whether the insert text in a completion item should be interpreted as plain text or a snippet.

Name Number Description
INSERT_TEXT_FORMAT_UNSPECIFIED 0 Conventional default for enums. Do not use this.
PLAINTEXT 1 The primary text to be inserted is treated as a plain string.
SNIPPET_FORMAT 2 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]. --)
MessageType

MessageType represents a ShowMessage and ShowMessageRequestRequest message type.

Name Number Description
MESSAGE_TYPE_UNSPECIFIED 0 Conventional default for enums. Do not use this.
ERROR 1 An error message.
WARNING 2 A warning message.
INFO 3 An information message.
LOG 4 A log message.
SemanticTokenModifiers

SemanticTokenModifiers represents a semantic token modifiers.

(-- api-linter: core::0192::only-leading-comments=disabled --)

Name Number Description
SEMANTIC_TOKEN_MODIFIERS_UNSPECIFIED 0 Conventional default for enums. Do not use this.
DECLARATION 1 'declaration',
DEFINITION 2 'definition',
READONLY 3 'readonly',
STATIC 4 'static',
DEPRECATED 5 'deprecated',
ABSTRACT 6 'abstract',
ASYNC 7 'async',
MODIFICATION 8 'modification',
DOCUMENTATION 9 'documentation',
DEFAULT_LIBRARY 10 'defaultLibrary'
SemanticTokenTypes

SemanticTokenTypes represents a semantic token type.

(-- api-linter: core::0192::only-leading-comments=disabled --)

Name Number Description
SEMANTIC_TOKEN_TYPES_UNSPECIFIED 0 Conventional default for enums. Do not use this.
NAMESPACE 1 'namespace',
TYPE 2 'type',
CLASS 3 'class',
ENUM 4 'enum',
INTERFACE 5 'interface',
STRUCT 6 'struct',
TYPE_PARAMETER 7 'typeParameter',
PARAMETER 8 'parameter',
VARIABLE 9 'variable',
PROPERTY 10 'property',
ENUMMEMBER 11 'enumMember',
EVENT 12 'event',
FUNCTION 13 'function',
MEMBER 14 'member',
MACRO 15 'macro',
KEYWORD 16 'keyword',
MODIFIER 17 'modifier',
COMMENT 18 'comment',
STRING 19 'string',
NUMBER 20 'number',
REGEXP 21 'regexp',
OPERATOR 22 'operator'
SignatureHelpContext.SignatureHelpTriggerKind

SignatureHelpTriggerKind how a signature help was triggered.

@since 3.15.0

Name Number Description
SIGNATURE_HELP_TRIGGER_KIND_UNSPECIFIED 0 Conventional default for enums. Do not use this.
INVOKED 1 Signature help was invoked manually by the user or by a command.
TRIGGER_CHARACTER 2 Signature help was triggered by a trigger character.
CONTENT_CHANGE 3 Signature help was triggered by the cursor moving or by the document content changing.
SymbolKind

SymbolKind is a symbol kind.

Name Number Description
SYMBOL_KIND_UNSPECIFIED 0 Conventional default for enums. Do not use this.
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
SymbolTag

SymbolTag are extra annotations that tweak the rendering of a symbol.

@since 3.15

Name Number Description
SYMBOL_TAG_UNSPECIFIED 0 Conventional default for enums. Do not use this.
DEPRECATED_SYMBOL_TAG 1 Render a symbol as obsolete, usually using a strike-out.
TextDocumentSaveReason

TextDocumentSaveReason represents reasons why a text document is saved.

Name Number Description
TEXT_DOCUMENT_SAVE_REASON_UNSPECIFIED 0 Conventional default for enums. Do not use this.
MANUAL 1 Manually triggered, e.g. by the user pressing save, by starting debugging, or by an API call.
AFTERDELAY 2 Automatic after a delay.
FOCUSOUT 3 When the editor lost focus.
TextDocumentSyncKind

TextDocumentSyncKind defines how the host (editor) should sync document changes to the language server. (-- api-linter: core::0126::unspecified=disabled --)

Name Number Description
NONE 0 Documents should not be synced at all.
FULL 1 Documents are synced by always sending the full content of the document.
INCREMENTAL 2 Documents are synced by sending the full content on open. After that only incremental updates to the document are send.
TokenFormat

TokenFormat represents a format of token.

Name Number Description
TOKEN_FORMAT_UNSPECIFIED 0 Conventional default for enums. Do not use this.
RELATIVE 1 string: 'relative'

Documentation

Overview

Package rpc is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
var File_protocol_rpc_rpc_proto protoreflect.FileDescriptor
View Source
var LanguageServerProtocol_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "protocol.rpc.LanguageServerProtocol",
	HandlerType: (*LanguageServerProtocolServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Cancel",
			Handler:    _LanguageServerProtocol_Cancel_Handler,
		},
		{
			MethodName: "Progress",
			Handler:    _LanguageServerProtocol_Progress_Handler,
		},
		{
			MethodName: "Initialize",
			Handler:    _LanguageServerProtocol_Initialize_Handler,
		},
		{
			MethodName: "Initialized",
			Handler:    _LanguageServerProtocol_Initialized_Handler,
		},
		{
			MethodName: "Shutdown",
			Handler:    _LanguageServerProtocol_Shutdown_Handler,
		},
		{
			MethodName: "Exit",
			Handler:    _LanguageServerProtocol_Exit_Handler,
		},
		{
			MethodName: "LogTrace",
			Handler:    _LanguageServerProtocol_LogTrace_Handler,
		},
		{
			MethodName: "SetTrace",
			Handler:    _LanguageServerProtocol_SetTrace_Handler,
		},
		{
			MethodName: "ShowMessage",
			Handler:    _LanguageServerProtocol_ShowMessage_Handler,
		},
		{
			MethodName: "ShowMessageRequest",
			Handler:    _LanguageServerProtocol_ShowMessageRequest_Handler,
		},
		{
			MethodName: "LogMessage",
			Handler:    _LanguageServerProtocol_LogMessage_Handler,
		},
		{
			MethodName: "CreateWorkDoneProgress",
			Handler:    _LanguageServerProtocol_CreateWorkDoneProgress_Handler,
		},
		{
			MethodName: "CancelWorkDoneProgress",
			Handler:    _LanguageServerProtocol_CancelWorkDoneProgress_Handler,
		},
		{
			MethodName: "Telemetry",
			Handler:    _LanguageServerProtocol_Telemetry_Handler,
		},
		{
			MethodName: "WorkspaceFolders",
			Handler:    _LanguageServerProtocol_WorkspaceFolders_Handler,
		},
		{
			MethodName: "DidChangeWorkspaceFolders",
			Handler:    _LanguageServerProtocol_DidChangeWorkspaceFolders_Handler,
		},
		{
			MethodName: "DidChangeConfiguration",
			Handler:    _LanguageServerProtocol_DidChangeConfiguration_Handler,
		},
		{
			MethodName: "Configuration",
			Handler:    _LanguageServerProtocol_Configuration_Handler,
		},
		{
			MethodName: "DidChangeWatchedFiles",
			Handler:    _LanguageServerProtocol_DidChangeWatchedFiles_Handler,
		},
		{
			MethodName: "WorkspaceSymbols",
			Handler:    _LanguageServerProtocol_WorkspaceSymbols_Handler,
		},
		{
			MethodName: "ExecuteCommand",
			Handler:    _LanguageServerProtocol_ExecuteCommand_Handler,
		},
		{
			MethodName: "ApplyEdit",
			Handler:    _LanguageServerProtocol_ApplyEdit_Handler,
		},
		{
			MethodName: "DidOpenTextDocument",
			Handler:    _LanguageServerProtocol_DidOpenTextDocument_Handler,
		},
		{
			MethodName: "DidChangeTextDocument",
			Handler:    _LanguageServerProtocol_DidChangeTextDocument_Handler,
		},
		{
			MethodName: "WillSaveTextDocument",
			Handler:    _LanguageServerProtocol_WillSaveTextDocument_Handler,
		},
		{
			MethodName: "WillSaveWaitUntilTextDocument",
			Handler:    _LanguageServerProtocol_WillSaveWaitUntilTextDocument_Handler,
		},
		{
			MethodName: "DidSaveTextDocument",
			Handler:    _LanguageServerProtocol_DidSaveTextDocument_Handler,
		},
		{
			MethodName: "DidCloseTextDocument",
			Handler:    _LanguageServerProtocol_DidCloseTextDocument_Handler,
		},
		{
			MethodName: "PublishDiagnostics",
			Handler:    _LanguageServerProtocol_PublishDiagnostics_Handler,
		},
		{
			MethodName: "Completion",
			Handler:    _LanguageServerProtocol_Completion_Handler,
		},
		{
			MethodName: "CompletionItemResolve",
			Handler:    _LanguageServerProtocol_CompletionItemResolve_Handler,
		},
		{
			MethodName: "Hover",
			Handler:    _LanguageServerProtocol_Hover_Handler,
		},
		{
			MethodName: "SignatureHelp",
			Handler:    _LanguageServerProtocol_SignatureHelp_Handler,
		},
		{
			MethodName: "GotoDeclaration",
			Handler:    _LanguageServerProtocol_GotoDeclaration_Handler,
		},
		{
			MethodName: "GotoDefinition",
			Handler:    _LanguageServerProtocol_GotoDefinition_Handler,
		},
		{
			MethodName: "GotoTypeDefinition",
			Handler:    _LanguageServerProtocol_GotoTypeDefinition_Handler,
		},
		{
			MethodName: "GotoImplementation",
			Handler:    _LanguageServerProtocol_GotoImplementation_Handler,
		},
		{
			MethodName: "FindReferences",
			Handler:    _LanguageServerProtocol_FindReferences_Handler,
		},
		{
			MethodName: "DocumentHighlights",
			Handler:    _LanguageServerProtocol_DocumentHighlights_Handler,
		},
		{
			MethodName: "DocumentSymbols",
			Handler:    _LanguageServerProtocol_DocumentSymbols_Handler,
		},
		{
			MethodName: "CodeAction",
			Handler:    _LanguageServerProtocol_CodeAction_Handler,
		},
		{
			MethodName: "CodeLens",
			Handler:    _LanguageServerProtocol_CodeLens_Handler,
		},
		{
			MethodName: "CodeLensResolve",
			Handler:    _LanguageServerProtocol_CodeLensResolve_Handler,
		},
		{
			MethodName: "DocumentLink",
			Handler:    _LanguageServerProtocol_DocumentLink_Handler,
		},
		{
			MethodName: "DocumentLinkResolve",
			Handler:    _LanguageServerProtocol_DocumentLinkResolve_Handler,
		},
		{
			MethodName: "DocumentColor",
			Handler:    _LanguageServerProtocol_DocumentColor_Handler,
		},
		{
			MethodName: "ColorPresentation",
			Handler:    _LanguageServerProtocol_ColorPresentation_Handler,
		},
		{
			MethodName: "DocumentFormatting",
			Handler:    _LanguageServerProtocol_DocumentFormatting_Handler,
		},
		{
			MethodName: "DocumentRangeFormatting",
			Handler:    _LanguageServerProtocol_DocumentRangeFormatting_Handler,
		},
		{
			MethodName: "OnTypeFormatting",
			Handler:    _LanguageServerProtocol_OnTypeFormatting_Handler,
		},
		{
			MethodName: "Rename",
			Handler:    _LanguageServerProtocol_Rename_Handler,
		},
		{
			MethodName: "PrepareRename",
			Handler:    _LanguageServerProtocol_PrepareRename_Handler,
		},
		{
			MethodName: "FoldingRange",
			Handler:    _LanguageServerProtocol_FoldingRange_Handler,
		},
		{
			MethodName: "SelectionRange",
			Handler:    _LanguageServerProtocol_SelectionRange_Handler,
		},
		{
			MethodName: "PrepareCallHierarchy",
			Handler:    _LanguageServerProtocol_PrepareCallHierarchy_Handler,
		},
		{
			MethodName: "CallHierarchyIncomingCalls",
			Handler:    _LanguageServerProtocol_CallHierarchyIncomingCalls_Handler,
		},
		{
			MethodName: "CallHierarchyOutgoingCalls",
			Handler:    _LanguageServerProtocol_CallHierarchyOutgoingCalls_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "protocol/rpc/rpc.proto",
}

LanguageServerProtocol_ServiceDesc is the grpc.ServiceDesc for LanguageServerProtocol service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

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. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterLanguageServerProtocolHandlerFromEndpoint instead.

func RegisterLanguageServerProtocolServer

func RegisterLanguageServerProtocolServer(s grpc.ServiceRegistrar, 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 *wrapperspb.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 (*ApplyWorkspaceEditRequest) GetLabel

func (*ApplyWorkspaceEditRequest) ProtoMessage

func (*ApplyWorkspaceEditRequest) ProtoMessage()

func (*ApplyWorkspaceEditRequest) ProtoReflect

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 *wrapperspb.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() *wrapperspb.StringValue

func (*ApplyWorkspaceEditResponse) ProtoMessage

func (*ApplyWorkspaceEditResponse) ProtoMessage()

func (*ApplyWorkspaceEditResponse) ProtoReflect

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 (*CallHierarchyClientCapabilities) Reset

func (*CallHierarchyClientCapabilities) 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 (*CallHierarchyIncomingCall) GetFromRanges

func (x *CallHierarchyIncomingCall) GetFromRanges() []*protocol.Range

func (*CallHierarchyIncomingCall) ProtoMessage

func (*CallHierarchyIncomingCall) ProtoMessage()

func (*CallHierarchyIncomingCall) ProtoReflect

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 (*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 (*CallHierarchyIncomingCallsRequest) Reset

func (*CallHierarchyIncomingCallsRequest) 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 (*CallHierarchyIncomingCallsResponse) GetPartialResult

func (*CallHierarchyIncomingCallsResponse) GetResult

func (*CallHierarchyIncomingCallsResponse) ProtoMessage

func (*CallHierarchyIncomingCallsResponse) ProtoMessage()

func (*CallHierarchyIncomingCallsResponse) ProtoReflect

func (*CallHierarchyIncomingCallsResponse) Reset

func (*CallHierarchyIncomingCallsResponse) String

type CallHierarchyIncomingCallsResponse_Error

type CallHierarchyIncomingCallsResponse_Error struct {
	Error *protocol.Error `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}

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

Deprecated: Use CallHierarchyIncomingCallsResponse_PartialResult.ProtoReflect.Descriptor instead.

func (*CallHierarchyIncomingCallsResponse_PartialResult) GetCallHierarchyIncomingCalls

func (*CallHierarchyIncomingCallsResponse_PartialResult) ProtoMessage

func (*CallHierarchyIncomingCallsResponse_PartialResult) ProtoReflect

func (*CallHierarchyIncomingCallsResponse_PartialResult) Reset

func (*CallHierarchyIncomingCallsResponse_PartialResult) 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                      structpb.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 (*CallHierarchyIncomingCallsResponse_Result) ProtoMessage

func (*CallHierarchyIncomingCallsResponse_Result) ProtoReflect

func (*CallHierarchyIncomingCallsResponse_Result) Reset

func (*CallHierarchyIncomingCallsResponse_Result) 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 *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=detail,proto3" json:"detail,omitempty"`
	// The resource identifier of this item.
	Uri *protocol.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() *wrapperspb.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() *protocol.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 (*CallHierarchyOutgoingCall) ProtoMessage

func (*CallHierarchyOutgoingCall) ProtoMessage()

func (*CallHierarchyOutgoingCall) ProtoReflect

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 (*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 (*CallHierarchyOutgoingCallsRequest) Reset

func (*CallHierarchyOutgoingCallsRequest) 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 (*CallHierarchyOutgoingCallsResponse) GetPartialResult

func (*CallHierarchyOutgoingCallsResponse) GetResult

func (*CallHierarchyOutgoingCallsResponse) ProtoMessage

func (*CallHierarchyOutgoingCallsResponse) ProtoMessage()

func (*CallHierarchyOutgoingCallsResponse) ProtoReflect

func (*CallHierarchyOutgoingCallsResponse) Reset

func (*CallHierarchyOutgoingCallsResponse) String

type CallHierarchyOutgoingCallsResponse_Error

type CallHierarchyOutgoingCallsResponse_Error struct {
	Error *protocol.Error `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}

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

Deprecated: Use CallHierarchyOutgoingCallsResponse_PartialResult.ProtoReflect.Descriptor instead.

func (*CallHierarchyOutgoingCallsResponse_PartialResult) GetCallHierarchyOutgoingCalls

func (*CallHierarchyOutgoingCallsResponse_PartialResult) ProtoMessage

func (*CallHierarchyOutgoingCallsResponse_PartialResult) ProtoReflect

func (*CallHierarchyOutgoingCallsResponse_PartialResult) Reset

func (*CallHierarchyOutgoingCallsResponse_PartialResult) 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                      structpb.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 (*CallHierarchyOutgoingCallsResponse_Result) ProtoMessage

func (*CallHierarchyOutgoingCallsResponse_Result) ProtoReflect

func (*CallHierarchyOutgoingCallsResponse_Result) Reset

func (*CallHierarchyOutgoingCallsResponse_Result) 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 (*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 (*CallHierarchyPrepareResponse) GetResult

func (*CallHierarchyPrepareResponse) ProtoMessage

func (*CallHierarchyPrepareResponse) ProtoMessage()

func (*CallHierarchyPrepareResponse) ProtoReflect

func (*CallHierarchyPrepareResponse) Reset

func (x *CallHierarchyPrepareResponse) Reset()

func (*CallHierarchyPrepareResponse) String

type CallHierarchyPrepareResponse_Error

type CallHierarchyPrepareResponse_Error struct {
	Error *protocol.Error `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}

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              structpb.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 (*CallHierarchyPrepareResponse_Result) ProtoMessage

func (*CallHierarchyPrepareResponse_Result) ProtoMessage()

func (*CallHierarchyPrepareResponse_Result) ProtoReflect

func (*CallHierarchyPrepareResponse_Result) Reset

func (*CallHierarchyPrepareResponse_Result) 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 (*CallHierarchyRegistrationOptions) Reset

func (*CallHierarchyRegistrationOptions) 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 *anypb.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() *anypb.Any

func (*ClientCapabilities) GetTextDocument

func (x *ClientCapabilities) GetTextDocument() *TextDocumentClientCapabilities

func (*ClientCapabilities) GetWindow

func (*ClientCapabilities) GetWorkspace

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 (*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 (*ClientCapabilities_Workspace) GetDidChangeWatchedFiles

func (*ClientCapabilities_Workspace) GetExecuteCommand

func (*ClientCapabilities_Workspace) GetSymbol

func (*ClientCapabilities_Workspace) GetWorkspaceEdit

func (*ClientCapabilities_Workspace) GetWorkspaceFolders

func (x *ClientCapabilities_Workspace) GetWorkspaceFolders() bool

func (*ClientCapabilities_Workspace) ProtoMessage

func (*ClientCapabilities_Workspace) ProtoMessage()

func (*ClientCapabilities_Workspace) ProtoReflect

func (*ClientCapabilities_Workspace) Reset

func (x *ClientCapabilities_Workspace) Reset()

func (*ClientCapabilities_Workspace) 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 (*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 (*CodeActionClientCapabilities) Reset

func (x *CodeActionClientCapabilities) Reset()

func (*CodeActionClientCapabilities) 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

Deprecated: Use CodeActionClientCapabilities_CodeActionLiteralSupport.ProtoReflect.Descriptor instead.

func (*CodeActionClientCapabilities_CodeActionLiteralSupport) GetCodeActionKind

func (*CodeActionClientCapabilities_CodeActionLiteralSupport) ProtoMessage

func (*CodeActionClientCapabilities_CodeActionLiteralSupport) ProtoReflect

func (*CodeActionClientCapabilities_CodeActionLiteralSupport) Reset

func (*CodeActionClientCapabilities_CodeActionLiteralSupport) 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

Deprecated: Use CodeActionClientCapabilities_CodeActionLiteralSupport_CodeActionKind.ProtoReflect.Descriptor instead.

func (*CodeActionClientCapabilities_CodeActionLiteralSupport_CodeActionKind) GetValueSet

func (*CodeActionClientCapabilities_CodeActionLiteralSupport_CodeActionKind) ProtoMessage

func (*CodeActionClientCapabilities_CodeActionLiteralSupport_CodeActionKind) ProtoReflect

func (*CodeActionClientCapabilities_CodeActionLiteralSupport_CodeActionKind) Reset

func (*CodeActionClientCapabilities_CodeActionLiteralSupport_CodeActionKind) 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) Enum

func (x CodeActionKind) Enum() *CodeActionKind

func (CodeActionKind) EnumDescriptor deprecated

func (CodeActionKind) EnumDescriptor() ([]byte, []int)

Deprecated: Use CodeActionKind.Descriptor instead.

func (CodeActionKind) Number

func (CodeActionKind) String

func (x CodeActionKind) String() string

func (CodeActionKind) Type

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 (*CodeActionRegistrationOptions) Reset

func (x *CodeActionRegistrationOptions) Reset()

func (*CodeActionRegistrationOptions) 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 (*CodeActionResponse) GetResult

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_Error

type CodeActionResponse_Error struct {
	Error *protocol.Error `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}

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 (*CodeActionResponse_PartialResult) ProtoMessage

func (*CodeActionResponse_PartialResult) ProtoMessage()

func (*CodeActionResponse_PartialResult) ProtoReflect

func (*CodeActionResponse_PartialResult) Reset

func (*CodeActionResponse_PartialResult) 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       structpb.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 (*CodeActionResponse_Result) ProtoMessage

func (*CodeActionResponse_Result) ProtoMessage()

func (*CodeActionResponse_Result) ProtoReflect

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 *anypb.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) Descriptor() ([]byte, []int)

Deprecated: Use CodeLens.ProtoReflect.Descriptor instead.

func (*CodeLens) GetCommand

func (x *CodeLens) GetCommand() *protocol.Command

func (*CodeLens) GetData

func (x *CodeLens) GetData() *anypb.Any

func (*CodeLens) GetRange

func (x *CodeLens) GetRange() *protocol.Range

func (*CodeLens) ProtoMessage

func (*CodeLens) ProtoMessage()

func (*CodeLens) ProtoReflect

func (x *CodeLens) ProtoReflect() protoreflect.Message

func (*CodeLens) Reset

func (x *CodeLens) Reset()

func (*CodeLens) String

func (x *CodeLens) String() string

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 (*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 (*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 CodeLensResolveResponse_Error

type CodeLensResolveResponse_Error struct {
	Error *protocol.Error `protobuf:"bytes,3,opt,name=error,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_Error struct {
	Error *protocol.Error `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}

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 (*CodeLensResponse_PartialResult) Reset

func (x *CodeLensResponse_PartialResult) Reset()

func (*CodeLensResponse_PartialResult) 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    structpb.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 (*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) Descriptor() ([]byte, []int)

Deprecated: Use Color.ProtoReflect.Descriptor instead.

func (*Color) GetAlpha

func (x *Color) GetAlpha() int32

func (*Color) GetBlue

func (x *Color) GetBlue() int32

func (*Color) GetGreen

func (x *Color) GetGreen() int32

func (*Color) GetRed

func (x *Color) GetRed() int32

func (*Color) ProtoMessage

func (*Color) ProtoMessage()

func (*Color) ProtoReflect

func (x *Color) ProtoReflect() protoreflect.Message

func (*Color) Reset

func (x *Color) Reset()

func (*Color) String

func (x *Color) String() string

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 (*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 (*ColorPresentationResponse) GetResult

func (*ColorPresentationResponse) ProtoMessage

func (*ColorPresentationResponse) ProtoMessage()

func (*ColorPresentationResponse) ProtoReflect

func (*ColorPresentationResponse) Reset

func (x *ColorPresentationResponse) Reset()

func (*ColorPresentationResponse) String

func (x *ColorPresentationResponse) String() string

type ColorPresentationResponse_Error

type ColorPresentationResponse_Error struct {
	Error *protocol.Error `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}

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) ProtoReflect

func (*ColorPresentationResponse_PartialResult) Reset

func (*ColorPresentationResponse_PartialResult) 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 (*ColorPresentationResponse_Result) Reset

func (*ColorPresentationResponse_Result) 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 (*CompletionClientCapabilities) GetCompletionItemKind

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 (*CompletionClientCapabilities) Reset

func (x *CompletionClientCapabilities) Reset()

func (*CompletionClientCapabilities) 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

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 (*CompletionClientCapabilities_CompletionItem) ProtoMessage

func (*CompletionClientCapabilities_CompletionItem) ProtoReflect

func (*CompletionClientCapabilities_CompletionItem) Reset

func (*CompletionClientCapabilities_CompletionItem) 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

Deprecated: Use CompletionClientCapabilities_CompletionItemKind.ProtoReflect.Descriptor instead.

func (*CompletionClientCapabilities_CompletionItemKind) GetValueSet

func (*CompletionClientCapabilities_CompletionItemKind) ProtoMessage

func (*CompletionClientCapabilities_CompletionItemKind) ProtoReflect

func (*CompletionClientCapabilities_CompletionItemKind) Reset

func (*CompletionClientCapabilities_CompletionItemKind) 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

Deprecated: Use CompletionClientCapabilities_CompletionItem_TagSupport.ProtoReflect.Descriptor instead.

func (*CompletionClientCapabilities_CompletionItem_TagSupport) GetValueSet

func (*CompletionClientCapabilities_CompletionItem_TagSupport) ProtoMessage

func (*CompletionClientCapabilities_CompletionItem_TagSupport) ProtoReflect

func (*CompletionClientCapabilities_CompletionItem_TagSupport) Reset

func (*CompletionClientCapabilities_CompletionItem_TagSupport) 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 *wrapperspb.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() *wrapperspb.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 *wrapperspb.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 *wrapperspb.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 *wrapperspb.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 *wrapperspb.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 *anypb.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() *anypb.Any

func (*CompletionItem) GetDeprecated deprecated

func (x *CompletionItem) GetDeprecated() bool

Deprecated: Do not use.

func (*CompletionItem) GetDetail

func (x *CompletionItem) GetDetail() *wrapperspb.StringValue

func (*CompletionItem) GetDocumentation

func (m *CompletionItem) GetDocumentation() isCompletionItem_Documentation

func (*CompletionItem) GetFilterText

func (x *CompletionItem) GetFilterText() *wrapperspb.StringValue

func (*CompletionItem) GetInsertText

func (x *CompletionItem) GetInsertText() *wrapperspb.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() *wrapperspb.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) Enum

func (CompletionItemKind) EnumDescriptor deprecated

func (CompletionItemKind) EnumDescriptor() ([]byte, []int)

Deprecated: Use CompletionItemKind.Descriptor instead.

func (CompletionItemKind) Number

func (CompletionItemKind) String

func (x CompletionItemKind) String() string

func (CompletionItemKind) Type

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 (*CompletionItemResolveRequest) Reset

func (x *CompletionItemResolveRequest) Reset()

func (*CompletionItemResolveRequest) 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 (*CompletionItemResolveResponse) ProtoMessage

func (*CompletionItemResolveResponse) ProtoMessage()

func (*CompletionItemResolveResponse) ProtoReflect

func (*CompletionItemResolveResponse) Reset

func (x *CompletionItemResolveResponse) Reset()

func (*CompletionItemResolveResponse) String

type CompletionItemResolveResponse_CompletionItems

type CompletionItemResolveResponse_CompletionItems struct {
	CompletionItems *CompletionItems `protobuf:"bytes,1,opt,name=completion_items,json=completionItems,proto3,oneof"`
}

type CompletionItemResolveResponse_Error

type CompletionItemResolveResponse_Error struct {
	Error *protocol.Error `protobuf:"bytes,2,opt,name=error,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) Enum

func (CompletionItemTag) EnumDescriptor deprecated

func (CompletionItemTag) EnumDescriptor() ([]byte, []int)

Deprecated: Use CompletionItemTag.Descriptor instead.

func (CompletionItemTag) Number

func (CompletionItemTag) String

func (x CompletionItemTag) String() string

func (CompletionItemTag) Type

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 (*CompletionRegistrationOptions) Reset

func (x *CompletionRegistrationOptions) Reset()

func (*CompletionRegistrationOptions) 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() structpb.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 CompletionResponse_Empty

type CompletionResponse_Empty struct {
	Empty structpb.NullValue `protobuf:"varint,3,opt,name=empty,proto3,enum=google.protobuf.NullValue,oneof"`
}

type CompletionResponse_Error

type CompletionResponse_Error struct {
	Error *protocol.Error `protobuf:"bytes,4,opt,name=error,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) Enum

func (CompletionTriggerKind) EnumDescriptor deprecated

func (CompletionTriggerKind) EnumDescriptor() ([]byte, []int)

Deprecated: Use CompletionTriggerKind.Descriptor instead.

func (CompletionTriggerKind) Number

func (CompletionTriggerKind) String

func (x CompletionTriggerKind) String() string

func (CompletionTriggerKind) Type

type ConfigurationItem

type ConfigurationItem struct {

	// The scope to get the configuration section for.
	ScopeUri *protocol.DocumentURI `protobuf:"bytes,1,opt,name=scope_uri,json=scopeUri,proto3" json:"scope_uri,omitempty"`
	// The configuration section asked for.
	Section *wrapperspb.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() *protocol.DocumentURI

func (*ConfigurationItem) GetSection

func (x *ConfigurationItem) GetSection() *wrapperspb.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 (*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 []*anypb.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() []*anypb.Any

func (*ConfigurationResponse_Anys) ProtoMessage

func (*ConfigurationResponse_Anys) ProtoMessage()

func (*ConfigurationResponse_Anys) ProtoReflect

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 ConfigurationResponse_Error

type ConfigurationResponse_Error struct {
	Error *protocol.Error `protobuf:"bytes,2,opt,name=error,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 (*DeclarationClientCapabilities) Reset

func (x *DeclarationClientCapabilities) Reset()

func (*DeclarationClientCapabilities) 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 (*DeclarationRegistrationOptions) Reset

func (x *DeclarationRegistrationOptions) Reset()

func (*DeclarationRegistrationOptions) 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 (*DeclarationResponse) GetResult

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_Error

type DeclarationResponse_Error struct {
	Error *protocol.Error `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}

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 (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 (*DeclarationResponse_PartialResult) Reset

func (*DeclarationResponse_PartialResult) 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         structpb.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 (*DeclarationResponse_Result) GetLocation

func (x *DeclarationResponse_Result) GetLocation() *protocol.Location
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 (*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 (*DefinitionClientCapabilities) Reset

func (x *DefinitionClientCapabilities) Reset()

func (*DefinitionClientCapabilities) 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 (*DefinitionRegistrationOptions) Reset

func (x *DefinitionRegistrationOptions) Reset()

func (*DefinitionRegistrationOptions) 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 (*DefinitionResponse) GetResult

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_Error

type DefinitionResponse_Error struct {
	Error *protocol.Error `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}

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 (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 (*DefinitionResponse_PartialResult) Reset

func (*DefinitionResponse_PartialResult) 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         structpb.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 (*DefinitionResponse_Result) GetLocation

func (x *DefinitionResponse_Result) GetLocation() *protocol.Location
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 (*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) ProtoReflect

func (*DidChangeConfigurationClientCapabilities) Reset

func (*DidChangeConfigurationClientCapabilities) String

type DidChangeConfigurationRequest

type DidChangeConfigurationRequest struct {

	// The actual changed settings
	Settings *anypb.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() *anypb.Any

func (*DidChangeConfigurationRequest) ProtoMessage

func (*DidChangeConfigurationRequest) ProtoMessage()

func (*DidChangeConfigurationRequest) ProtoReflect

func (*DidChangeConfigurationRequest) Reset

func (x *DidChangeConfigurationRequest) Reset()

func (*DidChangeConfigurationRequest) 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 (*DidChangeTextDocumentRequest) GetTextDocument

func (*DidChangeTextDocumentRequest) ProtoMessage

func (*DidChangeTextDocumentRequest) ProtoMessage()

func (*DidChangeTextDocumentRequest) ProtoReflect

func (*DidChangeTextDocumentRequest) Reset

func (x *DidChangeTextDocumentRequest) Reset()

func (*DidChangeTextDocumentRequest) 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) ProtoReflect

func (*DidChangeWatchedFilesClientCapabilities) Reset

func (*DidChangeWatchedFilesClientCapabilities) 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 (*DidChangeWatchedFilesRegistrationOptions) ProtoMessage

func (*DidChangeWatchedFilesRegistrationOptions) ProtoReflect

func (*DidChangeWatchedFilesRegistrationOptions) Reset

func (*DidChangeWatchedFilesRegistrationOptions) 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 (*DidChangeWatchedFilesRequest) Reset

func (x *DidChangeWatchedFilesRequest) Reset()

func (*DidChangeWatchedFilesRequest) 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 (*DidChangeWorkspaceFoldersRequest) ProtoMessage

func (*DidChangeWorkspaceFoldersRequest) ProtoMessage()

func (*DidChangeWorkspaceFoldersRequest) ProtoReflect

func (*DidChangeWorkspaceFoldersRequest) Reset

func (*DidChangeWorkspaceFoldersRequest) 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 (*DidCloseTextDocumentRequest) ProtoMessage

func (*DidCloseTextDocumentRequest) ProtoMessage()

func (*DidCloseTextDocumentRequest) ProtoReflect

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 (*DidOpenTextDocumentRequest) ProtoMessage

func (*DidOpenTextDocumentRequest) ProtoMessage()

func (*DidOpenTextDocumentRequest) ProtoReflect

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 *wrapperspb.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 (*DidSaveTextDocumentRequest) GetTextDocument

func (*DidSaveTextDocumentRequest) ProtoMessage

func (*DidSaveTextDocumentRequest) ProtoMessage()

func (*DidSaveTextDocumentRequest) ProtoReflect

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 (*DocumentColorClientCapabilities) Reset

func (*DocumentColorClientCapabilities) 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 (*DocumentColorRegistrationOptions) Reset

func (*DocumentColorRegistrationOptions) 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 (*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 (*DocumentColorResponse) GetResult

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_Error

type DocumentColorResponse_Error struct {
	Error *protocol.Error `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}

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 (*DocumentColorResponse_PartialResult) Reset

func (*DocumentColorResponse_PartialResult) 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 (*DocumentColorResponse_Result) Reset

func (x *DocumentColorResponse_Result) Reset()

func (*DocumentColorResponse_Result) 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 (*DocumentFormattingClientCapabilities) Reset

func (*DocumentFormattingClientCapabilities) 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 (*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 (*DocumentFormattingRegistrationOptions) Reset

func (*DocumentFormattingRegistrationOptions) 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 (*DocumentFormattingRequest) GetTextDocument

func (*DocumentFormattingRequest) GetWorkDoneProgressParams

func (x *DocumentFormattingRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams

func (*DocumentFormattingRequest) ProtoMessage

func (*DocumentFormattingRequest) ProtoMessage()

func (*DocumentFormattingRequest) ProtoReflect

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 (*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 (*DocumentFormattingResponse) Reset

func (x *DocumentFormattingResponse) Reset()

func (*DocumentFormattingResponse) String

func (x *DocumentFormattingResponse) String() string

type DocumentFormattingResponse_Empty

type DocumentFormattingResponse_Empty struct {
	Empty structpb.NullValue `protobuf:"varint,2,opt,name=empty,proto3,enum=google.protobuf.NullValue,oneof"`
}

type DocumentFormattingResponse_Error

type DocumentFormattingResponse_Error struct {
	Error *protocol.Error `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}

type DocumentFormattingResponse_TextEdit

type DocumentFormattingResponse_TextEdit struct {
	TextEdit *protocol.TextEdit `protobuf:"bytes,1,opt,name=text_edit,json=textEdit,proto3,oneof"`
}

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 (*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 (*DocumentHighlightClientCapabilities) Reset

func (*DocumentHighlightClientCapabilities) 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 (*DocumentHighlightRegistrationOptions) Reset

func (*DocumentHighlightRegistrationOptions) 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) Enum

func (DocumentHighlight_DocumentHighlightKind) EnumDescriptor deprecated

func (DocumentHighlight_DocumentHighlightKind) EnumDescriptor() ([]byte, []int)

Deprecated: Use DocumentHighlight_DocumentHighlightKind.Descriptor instead.

func (DocumentHighlight_DocumentHighlightKind) Number

func (DocumentHighlight_DocumentHighlightKind) String

func (DocumentHighlight_DocumentHighlightKind) Type

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 (*DocumentHighlightsResponse) GetResult

func (*DocumentHighlightsResponse) ProtoMessage

func (*DocumentHighlightsResponse) ProtoMessage()

func (*DocumentHighlightsResponse) ProtoReflect

func (*DocumentHighlightsResponse) Reset

func (x *DocumentHighlightsResponse) Reset()

func (*DocumentHighlightsResponse) String

func (x *DocumentHighlightsResponse) String() string

type DocumentHighlightsResponse_Error

type DocumentHighlightsResponse_Error struct {
	Error *protocol.Error `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}

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) ProtoReflect

func (*DocumentHighlightsResponse_PartialResult) Reset

func (*DocumentHighlightsResponse_PartialResult) 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              structpb.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 (*DocumentHighlightsResponse_Result) ProtoMessage

func (*DocumentHighlightsResponse_Result) ProtoMessage()

func (*DocumentHighlightsResponse_Result) ProtoReflect

func (*DocumentHighlightsResponse_Result) Reset

func (*DocumentHighlightsResponse_Result) String

type DocumentHighlightsResponse_Result_

type DocumentHighlightsResponse_Result_ struct {
	Result *DocumentHighlightsResponse_Result `protobuf:"bytes,1,opt,name=result,proto3,oneof"`
}
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 *protocol.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 *wrapperspb.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 *anypb.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() *anypb.Any

func (*DocumentLink) GetRange

func (x *DocumentLink) GetRange() *protocol.Range

func (*DocumentLink) GetTarget

func (x *DocumentLink) GetTarget() *protocol.DocumentURI

func (*DocumentLink) GetTooltip

func (x *DocumentLink) GetTooltip() *wrapperspb.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 (*DocumentLinkClientCapabilities) Reset

func (x *DocumentLinkClientCapabilities) Reset()

func (*DocumentLinkClientCapabilities) 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 (*DocumentLinkRegistrationOptions) Reset

func (*DocumentLinkRegistrationOptions) 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 (x *DocumentLinkResolveRequest) GetDocumentLink() *DocumentLink

func (*DocumentLinkResolveRequest) ProtoMessage

func (*DocumentLinkResolveRequest) ProtoMessage()

func (*DocumentLinkResolveRequest) ProtoReflect

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 (x *DocumentLinkResolveResponse) GetDocumentLink() *DocumentLink

func (*DocumentLinkResolveResponse) GetDocumentLinkResolveResponse

func (m *DocumentLinkResolveResponse) GetDocumentLinkResolveResponse() isDocumentLinkResolveResponse_DocumentLinkResolveResponse

func (*DocumentLinkResolveResponse) GetError

func (*DocumentLinkResolveResponse) ProtoMessage

func (*DocumentLinkResolveResponse) ProtoMessage()

func (*DocumentLinkResolveResponse) ProtoReflect

func (*DocumentLinkResolveResponse) Reset

func (x *DocumentLinkResolveResponse) Reset()

func (*DocumentLinkResolveResponse) String

func (x *DocumentLinkResolveResponse) String() string
type DocumentLinkResolveResponse_DocumentLink struct {
	DocumentLink *DocumentLink `protobuf:"bytes,1,opt,name=document_link,json=documentLink,proto3,oneof"`
}

type DocumentLinkResolveResponse_Error

type DocumentLinkResolveResponse_Error struct {
	Error *protocol.Error `protobuf:"bytes,3,opt,name=error,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 (*DocumentLinkResponse) GetResult

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_Error

type DocumentLinkResponse_Error struct {
	Error *protocol.Error `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}

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 (x *DocumentLinkResponse_PartialResult) GetDocumentLinks() []*DocumentLink

func (*DocumentLinkResponse_PartialResult) ProtoMessage

func (*DocumentLinkResponse_PartialResult) ProtoMessage()

func (*DocumentLinkResponse_PartialResult) ProtoReflect

func (*DocumentLinkResponse_PartialResult) Reset

func (*DocumentLinkResponse_PartialResult) 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         structpb.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 (x *DocumentLinkResponse_Result) GetDocumentLinks() []*DocumentLink

func (*DocumentLinkResponse_Result) GetEmpty

func (*DocumentLinkResponse_Result) ProtoMessage

func (*DocumentLinkResponse_Result) ProtoMessage()

func (*DocumentLinkResponse_Result) ProtoReflect

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

Deprecated: Use DocumentOnTypeFormattingClientCapabilities.ProtoReflect.Descriptor instead.

func (*DocumentOnTypeFormattingClientCapabilities) GetDynamicRegistration

func (x *DocumentOnTypeFormattingClientCapabilities) GetDynamicRegistration() bool

func (*DocumentOnTypeFormattingClientCapabilities) ProtoMessage

func (*DocumentOnTypeFormattingClientCapabilities) ProtoReflect

func (*DocumentOnTypeFormattingClientCapabilities) Reset

func (*DocumentOnTypeFormattingClientCapabilities) 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 []*wrapperspb.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() []*wrapperspb.StringValue

func (*DocumentOnTypeFormattingOptions) ProtoMessage

func (*DocumentOnTypeFormattingOptions) ProtoMessage()

func (*DocumentOnTypeFormattingOptions) ProtoReflect

func (*DocumentOnTypeFormattingOptions) Reset

func (*DocumentOnTypeFormattingOptions) 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

Deprecated: Use DocumentOnTypeFormattingRegistrationOptions.ProtoReflect.Descriptor instead.

func (*DocumentOnTypeFormattingRegistrationOptions) GetDocumentOnTypeFormattingOptions

func (x *DocumentOnTypeFormattingRegistrationOptions) GetDocumentOnTypeFormattingOptions() *DocumentOnTypeFormattingOptions

func (*DocumentOnTypeFormattingRegistrationOptions) GetTextDocumentRegistrationOptions

func (*DocumentOnTypeFormattingRegistrationOptions) ProtoMessage

func (*DocumentOnTypeFormattingRegistrationOptions) ProtoReflect

func (*DocumentOnTypeFormattingRegistrationOptions) Reset

func (*DocumentOnTypeFormattingRegistrationOptions) 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 (*DocumentOnTypeFormattingRequest) GetOptions

func (*DocumentOnTypeFormattingRequest) GetTextDocumentPositionParams

func (x *DocumentOnTypeFormattingRequest) GetTextDocumentPositionParams() *protocol.TextDocumentPositionParams

func (*DocumentOnTypeFormattingRequest) ProtoMessage

func (*DocumentOnTypeFormattingRequest) ProtoMessage()

func (*DocumentOnTypeFormattingRequest) ProtoReflect

func (*DocumentOnTypeFormattingRequest) Reset

func (*DocumentOnTypeFormattingRequest) 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 (*DocumentOnTypeFormattingResponse) GetError

func (*DocumentOnTypeFormattingResponse) GetTextEdit

func (*DocumentOnTypeFormattingResponse) ProtoMessage

func (*DocumentOnTypeFormattingResponse) ProtoMessage()

func (*DocumentOnTypeFormattingResponse) ProtoReflect

func (*DocumentOnTypeFormattingResponse) Reset

func (*DocumentOnTypeFormattingResponse) String

type DocumentOnTypeFormattingResponse_Empty

type DocumentOnTypeFormattingResponse_Empty struct {
	Empty structpb.NullValue `protobuf:"varint,2,opt,name=empty,proto3,enum=google.protobuf.NullValue,oneof"`
}

type DocumentOnTypeFormattingResponse_Error

type DocumentOnTypeFormattingResponse_Error struct {
	Error *protocol.Error `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}

type DocumentOnTypeFormattingResponse_TextEdit

type DocumentOnTypeFormattingResponse_TextEdit struct {
	TextEdit *protocol.TextEdit `protobuf:"bytes,1,opt,name=text_edit,json=textEdit,proto3,oneof"`
}

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) ProtoReflect

func (*DocumentRangeFormattingClientCapabilities) Reset

func (*DocumentRangeFormattingClientCapabilities) 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 (*DocumentRangeFormattingOptions) Reset

func (x *DocumentRangeFormattingOptions) Reset()

func (*DocumentRangeFormattingOptions) 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

Deprecated: Use DocumentRangeFormattingRegistrationOptions.ProtoReflect.Descriptor instead.

func (*DocumentRangeFormattingRegistrationOptions) GetDocumentFormattingOptions

func (x *DocumentRangeFormattingRegistrationOptions) GetDocumentFormattingOptions() *DocumentFormattingOptions

func (*DocumentRangeFormattingRegistrationOptions) GetTextDocumentRegistrationOptions

func (*DocumentRangeFormattingRegistrationOptions) ProtoMessage

func (*DocumentRangeFormattingRegistrationOptions) ProtoReflect

func (*DocumentRangeFormattingRegistrationOptions) Reset

func (*DocumentRangeFormattingRegistrationOptions) 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 (*DocumentRangeFormattingRequest) GetRange

func (*DocumentRangeFormattingRequest) GetTextDocument

func (*DocumentRangeFormattingRequest) GetWorkDoneProgressParams

func (x *DocumentRangeFormattingRequest) GetWorkDoneProgressParams() *WorkDoneProgressParams

func (*DocumentRangeFormattingRequest) ProtoMessage

func (*DocumentRangeFormattingRequest) ProtoMessage()

func (*DocumentRangeFormattingRequest) ProtoReflect

func (*DocumentRangeFormattingRequest) Reset

func (x *DocumentRangeFormattingRequest) Reset()

func (*DocumentRangeFormattingRequest) 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 (*DocumentRangeFormattingResponse) GetError

func (*DocumentRangeFormattingResponse) GetTextEdit

func (*DocumentRangeFormattingResponse) ProtoMessage

func (*DocumentRangeFormattingResponse) ProtoMessage()

func (*DocumentRangeFormattingResponse) ProtoReflect

func (*DocumentRangeFormattingResponse) Reset

func (*DocumentRangeFormattingResponse) String

type DocumentRangeFormattingResponse_Empty

type DocumentRangeFormattingResponse_Empty struct {
	Empty structpb.NullValue `protobuf:"varint,2,opt,name=empty,proto3,enum=google.protobuf.NullValue,oneof"`
}

type DocumentRangeFormattingResponse_Error

type DocumentRangeFormattingResponse_Error struct {
	Error *protocol.Error `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}

type DocumentRangeFormattingResponse_TextEdit

type DocumentRangeFormattingResponse_TextEdit struct {
	TextEdit *protocol.TextEdit `protobuf:"bytes,1,opt,name=text_edit,json=textEdit,proto3,oneof"`
}

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 (*DocumentSymbolClientCapabilities) ProtoMessage

func (*DocumentSymbolClientCapabilities) ProtoMessage()

func (*DocumentSymbolClientCapabilities) ProtoReflect

func (*DocumentSymbolClientCapabilities) Reset

func (*DocumentSymbolClientCapabilities) 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

Deprecated: Use DocumentSymbolClientCapabilities_SymbolKind.ProtoReflect.Descriptor instead.

func (*DocumentSymbolClientCapabilities_SymbolKind) GetValueSet

func (*DocumentSymbolClientCapabilities_SymbolKind) ProtoMessage

func (*DocumentSymbolClientCapabilities_SymbolKind) ProtoReflect

func (*DocumentSymbolClientCapabilities_SymbolKind) Reset

func (*DocumentSymbolClientCapabilities_SymbolKind) 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 (*DocumentSymbolRegistrationOptions) Reset

func (*DocumentSymbolRegistrationOptions) 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 (*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 (*DocumentSymbolResponse) GetResult

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_Error

type DocumentSymbolResponse_Error struct {
	Error *protocol.Error `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}

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 (*DocumentSymbolResponse_PartialResult) Reset

func (*DocumentSymbolResponse_PartialResult) 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              structpb.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 (*DocumentSymbolResponse_Result) GetSymbolInformations

func (x *DocumentSymbolResponse_Result) GetSymbolInformations() []*SymbolInformation

func (*DocumentSymbolResponse_Result) ProtoMessage

func (*DocumentSymbolResponse_Result) ProtoMessage()

func (*DocumentSymbolResponse_Result) ProtoReflect

func (*DocumentSymbolResponse_Result) Reset

func (x *DocumentSymbolResponse_Result) Reset()

func (*DocumentSymbolResponse_Result) 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 (*ExecuteCommandClientCapabilities) Reset

func (*ExecuteCommandClientCapabilities) 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 []*anypb.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() []*anypb.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 (*ExecuteCommandRegistrationOptions) Reset

func (*ExecuteCommandRegistrationOptions) 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() *anypb.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 ExecuteCommandResponse_Any

type ExecuteCommandResponse_Any struct {
	Any *anypb.Any `protobuf:"bytes,1,opt,name=any,proto3,oneof"`
}

type ExecuteCommandResponse_Error

type ExecuteCommandResponse_Error struct {
	Error *protocol.Error `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}

type FileEvent

type FileEvent struct {

	// The file's URI.
	Uri *protocol.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) Descriptor() ([]byte, []int)

Deprecated: Use FileEvent.ProtoReflect.Descriptor instead.

func (*FileEvent) GetType

func (x *FileEvent) GetType() FileEvent_FileChangeType

func (*FileEvent) GetUri

func (x *FileEvent) GetUri() *protocol.DocumentURI

func (*FileEvent) ProtoMessage

func (*FileEvent) ProtoMessage()

func (*FileEvent) ProtoReflect

func (x *FileEvent) ProtoReflect() protoreflect.Message

func (*FileEvent) Reset

func (x *FileEvent) Reset()

func (*FileEvent) String

func (x *FileEvent) String() string

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) Enum

func (FileEvent_FileChangeType) EnumDescriptor deprecated

func (FileEvent_FileChangeType) EnumDescriptor() ([]byte, []int)

Deprecated: Use FileEvent_FileChangeType.Descriptor instead.

func (FileEvent_FileChangeType) Number

func (FileEvent_FileChangeType) String

func (x FileEvent_FileChangeType) String() string

func (FileEvent_FileChangeType) Type

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 (*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) Enum

func (FileSystemWatcher_WatchKind) EnumDescriptor deprecated

func (FileSystemWatcher_WatchKind) EnumDescriptor() ([]byte, []int)

Deprecated: Use FileSystemWatcher_WatchKind.Descriptor instead.

func (FileSystemWatcher_WatchKind) Number

func (FileSystemWatcher_WatchKind) String

func (FileSystemWatcher_WatchKind) Type

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 *wrapperspb.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 *wrapperspb.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() *wrapperspb.Int32Value

func (*FoldingRange) GetEndLine

func (x *FoldingRange) GetEndLine() int32

func (*FoldingRange) GetKind

func (x *FoldingRange) GetKind() FoldingRangeKind

func (*FoldingRange) GetStartCharacter

func (x *FoldingRange) GetStartCharacter() *wrapperspb.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 *wrapperspb.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 (*FoldingRangeClientCapabilities) ProtoMessage

func (*FoldingRangeClientCapabilities) ProtoMessage()

func (*FoldingRangeClientCapabilities) ProtoReflect

func (*FoldingRangeClientCapabilities) Reset

func (x *FoldingRangeClientCapabilities) Reset()

func (*FoldingRangeClientCapabilities) 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) Enum

func (FoldingRangeKind) EnumDescriptor deprecated

func (FoldingRangeKind) EnumDescriptor() ([]byte, []int)

Deprecated: Use FoldingRangeKind.Descriptor instead.

func (FoldingRangeKind) Number

func (FoldingRangeKind) String

func (x FoldingRangeKind) String() string

func (FoldingRangeKind) Type

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 (*FoldingRangeRegistrationOptions) Reset

func (*FoldingRangeRegistrationOptions) 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 (*FoldingRangeResponse) GetResult

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_Error

type FoldingRangeResponse_Error struct {
	Error *protocol.Error `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}

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 (*FoldingRangeResponse_PartialResult) Reset

func (*FoldingRangeResponse_PartialResult) 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         structpb.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 (*FoldingRangeResponse_Result) GetFoldingRanges

func (x *FoldingRangeResponse_Result) GetFoldingRanges() []*FoldingRange

func (*FoldingRangeResponse_Result) ProtoMessage

func (*FoldingRangeResponse_Result) ProtoMessage()

func (*FoldingRangeResponse_Result) ProtoReflect

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 (*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) Descriptor() ([]byte, []int)

Deprecated: Use Hover.ProtoReflect.Descriptor instead.

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) GetRange

func (x *Hover) GetRange() *protocol.Range

func (*Hover) ProtoMessage

func (*Hover) ProtoMessage()

func (*Hover) ProtoReflect

func (x *Hover) ProtoReflect() protoreflect.Message

func (*Hover) Reset

func (x *Hover) Reset()

func (*Hover) String

func (x *Hover) String() string

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() structpb.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_Empty struct {
	Empty structpb.NullValue `protobuf:"varint,2,opt,name=empty,proto3,enum=google.protobuf.NullValue,oneof"`
}

type HoverResponse_Error

type HoverResponse_Error struct {
	Error *protocol.Error `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}

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 (*ImplementationClientCapabilities) Reset

func (*ImplementationClientCapabilities) 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 (*ImplementationRegistrationOptions) Reset

func (*ImplementationRegistrationOptions) 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 (*ImplementationResponse) GetResult

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_Error

type ImplementationResponse_Error struct {
	Error *protocol.Error `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}

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 (x *ImplementationResponse_PartialResult) GetLocationLinks() *LocationLinks

func (*ImplementationResponse_PartialResult) GetLocations

func (*ImplementationResponse_PartialResult) ProtoMessage

func (*ImplementationResponse_PartialResult) ProtoMessage()

func (*ImplementationResponse_PartialResult) ProtoReflect

func (*ImplementationResponse_PartialResult) Reset

func (*ImplementationResponse_PartialResult) 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         structpb.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 (*ImplementationResponse_Result) GetLocation

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 (*ImplementationResponse_Result) Reset

func (x *ImplementationResponse_Result) Reset()

func (*ImplementationResponse_Result) 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 (*InitializeErrorUnknownProtocolVersion) Reset

func (*InitializeErrorUnknownProtocolVersion) 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 *wrapperspb.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 *protocol.DocumentURI `protobuf:"bytes,5,opt,name=root_uri,json=rootUri,proto3" json:"root_uri,omitempty"`
	// Optional. User provided initialization options.
	InitializationOptions *anypb.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() *anypb.Any

func (*InitializeRequest) GetProcessId

func (x *InitializeRequest) GetProcessId() int32

func (*InitializeRequest) GetRootPath deprecated

func (x *InitializeRequest) GetRootPath() *wrapperspb.StringValue

Deprecated: Do not use.

func (*InitializeRequest) GetRootUri

func (x *InitializeRequest) GetRootUri() *protocol.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 *wrapperspb.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 (*InitializeRequest_ClientInfo) ProtoMessage

func (*InitializeRequest_ClientInfo) ProtoMessage()

func (*InitializeRequest_ClientInfo) ProtoReflect

func (*InitializeRequest_ClientInfo) Reset

func (x *InitializeRequest_ClientInfo) Reset()

func (*InitializeRequest_ClientInfo) 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 (*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 *wrapperspb.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 (*InitializeResponse_ServerInfo) GetVersion

func (*InitializeResponse_ServerInfo) ProtoMessage

func (*InitializeResponse_ServerInfo) ProtoMessage()

func (*InitializeResponse_ServerInfo) ProtoReflect

func (*InitializeResponse_ServerInfo) Reset

func (x *InitializeResponse_ServerInfo) Reset()

func (*InitializeResponse_ServerInfo) 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) Enum

func (InsertTextFormat) EnumDescriptor deprecated

func (InsertTextFormat) EnumDescriptor() ([]byte, []int)

Deprecated: Use InsertTextFormat.Descriptor instead.

func (InsertTextFormat) Number

func (InsertTextFormat) String

func (x InsertTextFormat) String() string

func (InsertTextFormat) Type

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) (*emptypb.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) (*emptypb.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) (*emptypb.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 *emptypb.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 *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.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) (*emptypb.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) (*emptypb.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) (*emptypb.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) (*emptypb.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 *anypb.Any, opts ...grpc.CallOption) (*emptypb.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 *emptypb.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) (*emptypb.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) (*emptypb.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) (*emptypb.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) (*emptypb.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) (*emptypb.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) (*emptypb.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) (*emptypb.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) (*emptypb.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) (*emptypb.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.

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) (*emptypb.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) (*emptypb.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) (*emptypb.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, *emptypb.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, *emptypb.Empty) (*emptypb.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) (*emptypb.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) (*emptypb.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) (*emptypb.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) (*emptypb.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, *anypb.Any) (*emptypb.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, *emptypb.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) (*emptypb.Empty, error)
	// DidChangeConfiguration a notification sent from the client to the server to signal the change
	// of configuration settings.
	DidChangeConfiguration(context.Context, *DidChangeConfigurationRequest) (*emptypb.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) (*emptypb.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) (*emptypb.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) (*emptypb.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) (*emptypb.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) (*emptypb.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) (*emptypb.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) (*emptypb.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 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 (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) Descriptor() ([]byte, []int)

Deprecated: Use Locations.ProtoReflect.Descriptor instead.

func (*Locations) GetLocations

func (x *Locations) GetLocations() []*Locations

func (*Locations) ProtoMessage

func (*Locations) ProtoMessage()

func (*Locations) ProtoReflect

func (x *Locations) ProtoReflect() protoreflect.Message

func (*Locations) Reset

func (x *Locations) Reset()

func (*Locations) String

func (x *Locations) String() string

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 *wrapperspb.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() *wrapperspb.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) 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

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 (*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 (*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 (*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 (*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_Empty

type PrepareRenameResponse_Empty struct {
	Empty structpb.NullValue `protobuf:"varint,3,opt,name=empty,proto3,enum=google.protobuf.NullValue,oneof"`
}

type PrepareRenameResponse_Error

type PrepareRenameResponse_Error struct {
	Error *protocol.Error `protobuf:"bytes,4,opt,name=error,proto3,oneof"`
}

type PrepareRenameResponse_Range

type PrepareRenameResponse_Range struct {
	Range *protocol.Range `protobuf:"bytes,1,opt,name=range,proto3,oneof"`
}

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 (*PrepareRenameResponse_Result) ProtoMessage

func (*PrepareRenameResponse_Result) ProtoMessage()

func (*PrepareRenameResponse_Result) ProtoReflect

func (*PrepareRenameResponse_Result) Reset

func (x *PrepareRenameResponse_Result) Reset()

func (*PrepareRenameResponse_Result) 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 *anypb.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() *anypb.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 (*PublishDiagnosticsClientCapabilities) GetVersionSupport

func (x *PublishDiagnosticsClientCapabilities) GetVersionSupport() bool

func (*PublishDiagnosticsClientCapabilities) ProtoMessage

func (*PublishDiagnosticsClientCapabilities) ProtoMessage()

func (*PublishDiagnosticsClientCapabilities) ProtoReflect

func (*PublishDiagnosticsClientCapabilities) Reset

func (*PublishDiagnosticsClientCapabilities) 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

Deprecated: Use PublishDiagnosticsClientCapabilities_TagSupport.ProtoReflect.Descriptor instead.

func (*PublishDiagnosticsClientCapabilities_TagSupport) GetValueSet

func (*PublishDiagnosticsClientCapabilities_TagSupport) ProtoMessage

func (*PublishDiagnosticsClientCapabilities_TagSupport) ProtoReflect

func (*PublishDiagnosticsClientCapabilities_TagSupport) Reset

func (*PublishDiagnosticsClientCapabilities_TagSupport) String

type PublishDiagnosticsRequest

type PublishDiagnosticsRequest struct {

	// The URI for which diagnostic information is reported.
	Uri *protocol.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 (*PublishDiagnosticsRequest) GetVersion

func (x *PublishDiagnosticsRequest) GetVersion() int32

func (*PublishDiagnosticsRequest) ProtoMessage

func (*PublishDiagnosticsRequest) ProtoMessage()

func (*PublishDiagnosticsRequest) ProtoReflect

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 (*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 (*ReferenceRegistrationOptions) Reset

func (x *ReferenceRegistrationOptions) Reset()

func (*ReferenceRegistrationOptions) 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 (*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_Error struct {
	Error *protocol.Error `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}

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 (*ReferenceResponse_PartialResult) Reset

func (*ReferenceResponse_PartialResult) 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     structpb.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 (*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 *anypb.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() *anypb.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 (*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() structpb.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_Empty struct {
	Empty structpb.NullValue `protobuf:"varint,2,opt,name=empty,proto3,enum=google.protobuf.NullValue,oneof"`
}

type RenameResponse_Error

type RenameResponse_Error struct {
	Error *protocol.Error `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}

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 (*SelectionRangeClientCapabilities) Reset

func (*SelectionRangeClientCapabilities) 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 (*SelectionRangeRegistrationOptions) Reset

func (*SelectionRangeRegistrationOptions) 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 (*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 (*SelectionRangeResponse) GetResult

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_Error

type SelectionRangeResponse_Error struct {
	Error *protocol.Error `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}

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 (*SelectionRangeResponse_PartialResult) Reset

func (*SelectionRangeResponse_PartialResult) 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           structpb.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 (*SelectionRangeResponse_Result) GetSelectionRanges

func (x *SelectionRangeResponse_Result) GetSelectionRanges() []*SelectionRange

func (*SelectionRangeResponse_Result) ProtoMessage

func (*SelectionRangeResponse_Result) ProtoMessage()

func (*SelectionRangeResponse_Result) ProtoReflect

func (*SelectionRangeResponse_Result) Reset

func (x *SelectionRangeResponse_Result) Reset()

func (*SelectionRangeResponse_Result) 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) Enum

func (SemanticTokenModifiers) EnumDescriptor deprecated

func (SemanticTokenModifiers) EnumDescriptor() ([]byte, []int)

Deprecated: Use SemanticTokenModifiers.Descriptor instead.

func (SemanticTokenModifiers) Number

func (SemanticTokenModifiers) String

func (x SemanticTokenModifiers) String() string

func (SemanticTokenModifiers) Type

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) Enum

func (SemanticTokenTypes) EnumDescriptor deprecated

func (SemanticTokenTypes) EnumDescriptor() ([]byte, []int)

Deprecated: Use SemanticTokenTypes.Descriptor instead.

func (SemanticTokenTypes) Number

func (SemanticTokenTypes) String

func (x SemanticTokenTypes) String() string

func (SemanticTokenTypes) Type

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 *wrapperspb.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() *wrapperspb.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 (*SemanticTokensClientCapabilities) GetRequests

func (*SemanticTokensClientCapabilities) GetTokenModifiers

func (*SemanticTokensClientCapabilities) GetTokenTypes

func (*SemanticTokensClientCapabilities) ProtoMessage

func (*SemanticTokensClientCapabilities) ProtoMessage()

func (*SemanticTokensClientCapabilities) ProtoReflect

func (*SemanticTokensClientCapabilities) Reset

func (*SemanticTokensClientCapabilities) 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 (*SemanticTokensClientCapabilities_Requests) GetEmpty

func (*SemanticTokensClientCapabilities_Requests) GetEnableFull

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) ProtoReflect

func (*SemanticTokensClientCapabilities_Requests) Reset

func (*SemanticTokensClientCapabilities_Requests) String

type SemanticTokensClientCapabilities_Requests_Delta

type SemanticTokensClientCapabilities_Requests_Delta struct {
	Delta bool `protobuf:"varint,5,opt,name=delta,proto3,oneof"`
}

type SemanticTokensClientCapabilities_Requests_Empty

type SemanticTokensClientCapabilities_Requests_Empty struct {
	Empty structpb.NullValue `protobuf:"varint,3,opt,name=empty,proto3,enum=google.protobuf.NullValue,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 (*SemanticTokensDeltaParams) GetWorkDoneProgressParams

func (x *SemanticTokensDeltaParams) GetWorkDoneProgressParams() *WorkDoneProgressParams

func (*SemanticTokensDeltaParams) ProtoMessage

func (*SemanticTokensDeltaParams) ProtoMessage()

func (*SemanticTokensDeltaParams) ProtoReflect

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 (*SemanticTokensDeltaPartialResult) ProtoMessage

func (*SemanticTokensDeltaPartialResult) ProtoMessage()

func (*SemanticTokensDeltaPartialResult) ProtoReflect

func (*SemanticTokensDeltaPartialResult) Reset

func (*SemanticTokensDeltaPartialResult) 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 (*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 (*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_Empty

type SemanticTokensOptions_Empty struct {
	Empty structpb.NullValue `protobuf:"varint,4,opt,name=empty,proto3,enum=google.protobuf.NullValue,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 (*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 (*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 (*SemanticTokensRegistrationOptions) Reset

func (*SemanticTokensRegistrationOptions) 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 *anypb.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() *anypb.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 (*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 (*ServerCapabilities_Workspace) ProtoMessage

func (*ServerCapabilities_Workspace) ProtoMessage()

func (*ServerCapabilities_Workspace) ProtoReflect

func (*ServerCapabilities_Workspace) Reset

func (x *ServerCapabilities_Workspace) Reset()

func (*ServerCapabilities_Workspace) 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 (*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 (*ShowMessageRequestRequest) ProtoMessage

func (*ShowMessageRequestRequest) ProtoMessage()

func (*ShowMessageRequestRequest) ProtoReflect

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() structpb.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_Empty

type ShowMessageResponse_Empty struct {
	Empty structpb.NullValue `protobuf:"varint,2,opt,name=empty,proto3,enum=google.protobuf.NullValue,oneof"`
}

type ShowMessageResponse_Error

type ShowMessageResponse_Error struct {
	Error *protocol.Error `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}

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 *wrapperspb.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 *wrapperspb.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() *wrapperspb.Int32Value

func (*SignatureHelp) GetActiveSignature

func (x *SignatureHelp) GetActiveSignature() *wrapperspb.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 (*SignatureHelpClientCapabilities) ProtoMessage

func (*SignatureHelpClientCapabilities) ProtoMessage()

func (*SignatureHelpClientCapabilities) ProtoReflect

func (*SignatureHelpClientCapabilities) Reset

func (*SignatureHelpClientCapabilities) 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

Deprecated: Use SignatureHelpClientCapabilities_SignatureInformation.ProtoReflect.Descriptor instead.

func (*SignatureHelpClientCapabilities_SignatureInformation) GetActiveParameterSupport

func (x *SignatureHelpClientCapabilities_SignatureInformation) GetActiveParameterSupport() bool

func (*SignatureHelpClientCapabilities_SignatureInformation) GetDocumentationFormat

func (*SignatureHelpClientCapabilities_SignatureInformation) GetParameterInformation

func (*SignatureHelpClientCapabilities_SignatureInformation) ProtoMessage

func (*SignatureHelpClientCapabilities_SignatureInformation) ProtoReflect

func (*SignatureHelpClientCapabilities_SignatureInformation) Reset

func (*SignatureHelpClientCapabilities_SignatureInformation) 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

Deprecated: Use SignatureHelpClientCapabilities_SignatureInformation_ParameterInformation.ProtoReflect.Descriptor instead.

func (*SignatureHelpClientCapabilities_SignatureInformation_ParameterInformation) GetLabelOffsetSupport

func (*SignatureHelpClientCapabilities_SignatureInformation_ParameterInformation) ProtoMessage

func (*SignatureHelpClientCapabilities_SignatureInformation_ParameterInformation) ProtoReflect

func (*SignatureHelpClientCapabilities_SignatureInformation_ParameterInformation) Reset

func (*SignatureHelpClientCapabilities_SignatureInformation_ParameterInformation) 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 (*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) Enum

func (SignatureHelpContext_SignatureHelpTriggerKind) EnumDescriptor deprecated

func (SignatureHelpContext_SignatureHelpTriggerKind) EnumDescriptor() ([]byte, []int)

Deprecated: Use SignatureHelpContext_SignatureHelpTriggerKind.Descriptor instead.

func (SignatureHelpContext_SignatureHelpTriggerKind) Number

func (SignatureHelpContext_SignatureHelpTriggerKind) String

func (SignatureHelpContext_SignatureHelpTriggerKind) Type

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 (*SignatureHelpRegistrationOptions) Reset

func (*SignatureHelpRegistrationOptions) 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 (*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_Empty

type SignatureHelpResponse_Empty struct {
	Empty structpb.NullValue `protobuf:"varint,2,opt,name=empty,proto3,enum=google.protobuf.NullValue,oneof"`
}

type SignatureHelpResponse_Error

type SignatureHelpResponse_Error struct {
	Error *protocol.Error `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}

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 *wrapperspb.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() *wrapperspb.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

type SymbolTag

type SymbolTag int32

SymbolTag are extra annotations that tweak the rendering of a symbol.

@since 3.15

const (
	// Conventional default for enums. Do not use this.
	SymbolTag_SYMBOL_TAG_UNSPECIFIED SymbolTag = 0
	// Render a symbol as obsolete, usually using a strike-out.
	SymbolTag_DEPRECATED_SYMBOL_TAG SymbolTag = 1
)

func (SymbolTag) Descriptor

func (SymbolTag) Descriptor() protoreflect.EnumDescriptor

func (SymbolTag) Enum

func (x SymbolTag) Enum() *SymbolTag

func (SymbolTag) EnumDescriptor deprecated

func (SymbolTag) EnumDescriptor() ([]byte, []int)

Deprecated: Use SymbolTag.Descriptor instead.

func (SymbolTag) Number

func (x SymbolTag) Number() protoreflect.EnumNumber

func (SymbolTag) String

func (x SymbolTag) String() string

func (SymbolTag) Type

type TelemetryParams

type TelemetryParams struct {

	// Optional.
	Params *anypb.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() *anypb.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 (*TextDocumentChangeRegistrationOptions) GetTextDocumentRegistrationOptions

func (x *TextDocumentChangeRegistrationOptions) GetTextDocumentRegistrationOptions() *protocol.TextDocumentRegistrationOptions

func (*TextDocumentChangeRegistrationOptions) ProtoMessage

func (*TextDocumentChangeRegistrationOptions) ProtoMessage()

func (*TextDocumentChangeRegistrationOptions) ProtoReflect

func (*TextDocumentChangeRegistrationOptions) Reset

func (*TextDocumentChangeRegistrationOptions) 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 (*TextDocumentClientCapabilities) GetCodeLens

func (*TextDocumentClientCapabilities) GetColorProvider

func (*TextDocumentClientCapabilities) GetCompletion

func (*TextDocumentClientCapabilities) GetDeclaration

func (*TextDocumentClientCapabilities) GetDefinition

func (*TextDocumentClientCapabilities) GetDocumentHighlight

func (*TextDocumentClientCapabilities) GetDocumentSymbol

func (*TextDocumentClientCapabilities) GetFoldingRange

func (*TextDocumentClientCapabilities) GetFormatting

func (*TextDocumentClientCapabilities) GetHover

func (*TextDocumentClientCapabilities) GetImplementation

func (*TextDocumentClientCapabilities) GetOnTypeFormatting

func (*TextDocumentClientCapabilities) GetPublishDiagnostics

func (*TextDocumentClientCapabilities) GetRangeFormatting

func (*TextDocumentClientCapabilities) GetReferences

func (*TextDocumentClientCapabilities) GetRename

func (*TextDocumentClientCapabilities) GetSelectionRange

func (*TextDocumentClientCapabilities) GetSignatureHelp

func (*TextDocumentClientCapabilities) GetSynchronization

func (*TextDocumentClientCapabilities) GetTypeDefinition

func (*TextDocumentClientCapabilities) ProtoMessage

func (*TextDocumentClientCapabilities) ProtoMessage()

func (*TextDocumentClientCapabilities) ProtoReflect

func (*TextDocumentClientCapabilities) Reset

func (x *TextDocumentClientCapabilities) Reset()

func (*TextDocumentClientCapabilities) 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 (*TextDocumentContentChangeEvent) GetText

func (*TextDocumentContentChangeEvent) GetTextDocumentContentChangeEvent

func (m *TextDocumentContentChangeEvent) GetTextDocumentContentChangeEvent() isTextDocumentContentChangeEvent_TextDocumentContentChangeEvent

func (*TextDocumentContentChangeEvent) ProtoMessage

func (*TextDocumentContentChangeEvent) ProtoMessage()

func (*TextDocumentContentChangeEvent) ProtoReflect

func (*TextDocumentContentChangeEvent) Reset

func (x *TextDocumentContentChangeEvent) Reset()

func (*TextDocumentContentChangeEvent) 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

Deprecated: Use TextDocumentContentChangeEvent_ContentChangeEvent.ProtoReflect.Descriptor instead.

func (*TextDocumentContentChangeEvent_ContentChangeEvent) GetRange

func (*TextDocumentContentChangeEvent_ContentChangeEvent) GetRangeLength deprecated

Deprecated: Do not use.

func (*TextDocumentContentChangeEvent_ContentChangeEvent) GetText

func (*TextDocumentContentChangeEvent_ContentChangeEvent) ProtoMessage

func (*TextDocumentContentChangeEvent_ContentChangeEvent) ProtoReflect

func (*TextDocumentContentChangeEvent_ContentChangeEvent) Reset

func (*TextDocumentContentChangeEvent_ContentChangeEvent) 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) Enum

func (TextDocumentSaveReason) EnumDescriptor deprecated

func (TextDocumentSaveReason) EnumDescriptor() ([]byte, []int)

Deprecated: Use TextDocumentSaveReason.Descriptor instead.

func (TextDocumentSaveReason) Number

func (TextDocumentSaveReason) String

func (x TextDocumentSaveReason) String() string

func (TextDocumentSaveReason) Type

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 (*TextDocumentSaveRegistrationOptions) Reset

func (*TextDocumentSaveRegistrationOptions) 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 (*TextDocumentSyncClientCapabilities) Reset

func (*TextDocumentSyncClientCapabilities) 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) Enum

func (TextDocumentSyncKind) EnumDescriptor deprecated

func (TextDocumentSyncKind) EnumDescriptor() ([]byte, []int)

Deprecated: Use TextDocumentSyncKind.Descriptor instead.

func (TextDocumentSyncKind) Number

func (TextDocumentSyncKind) String

func (x TextDocumentSyncKind) String() string

func (TextDocumentSyncKind) Type

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 (*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) Descriptor() ([]byte, []int)

Deprecated: Use TextEdits.ProtoReflect.Descriptor instead.

func (*TextEdits) GetTextEdit

func (x *TextEdits) GetTextEdit() []*protocol.TextEdit

func (*TextEdits) ProtoMessage

func (*TextEdits) ProtoMessage()

func (*TextEdits) ProtoReflect

func (x *TextEdits) ProtoReflect() protoreflect.Message

func (*TextEdits) Reset

func (x *TextEdits) Reset()

func (*TextEdits) String

func (x *TextEdits) String() string

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) 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

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 (*TypeDefinitionClientCapabilities) Reset

func (*TypeDefinitionClientCapabilities) 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 (*TypeDefinitionRegistrationOptions) Reset

func (*TypeDefinitionRegistrationOptions) 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 (*TypeDefinitionResponse) GetResult

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_Error

type TypeDefinitionResponse_Error struct {
	Error *protocol.Error `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}

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 (x *TypeDefinitionResponse_PartialResult) GetLocationLinks() *LocationLinks

func (*TypeDefinitionResponse_PartialResult) GetLocations

func (*TypeDefinitionResponse_PartialResult) ProtoMessage

func (*TypeDefinitionResponse_PartialResult) ProtoMessage()

func (*TypeDefinitionResponse_PartialResult) ProtoReflect

func (*TypeDefinitionResponse_PartialResult) Reset

func (*TypeDefinitionResponse_PartialResult) 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         structpb.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 (*TypeDefinitionResponse_Result) GetLocation

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 (*TypeDefinitionResponse_Result) Reset

func (x *TypeDefinitionResponse_Result) Reset()

func (*TypeDefinitionResponse_Result) 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) Cancel

func (UnimplementedLanguageServerProtocolServer) CancelWorkDoneProgress

func (UnimplementedLanguageServerProtocolServer) CodeAction

func (UnimplementedLanguageServerProtocolServer) CodeLens

func (UnimplementedLanguageServerProtocolServer) CodeLensResolve

func (UnimplementedLanguageServerProtocolServer) ColorPresentation

func (UnimplementedLanguageServerProtocolServer) Completion

func (UnimplementedLanguageServerProtocolServer) CompletionItemResolve

func (UnimplementedLanguageServerProtocolServer) Configuration

func (UnimplementedLanguageServerProtocolServer) CreateWorkDoneProgress

func (UnimplementedLanguageServerProtocolServer) DidChangeConfiguration

func (UnimplementedLanguageServerProtocolServer) DidChangeTextDocument

func (UnimplementedLanguageServerProtocolServer) DidChangeWatchedFiles

func (UnimplementedLanguageServerProtocolServer) DidChangeWorkspaceFolders

func (UnimplementedLanguageServerProtocolServer) DidCloseTextDocument

func (UnimplementedLanguageServerProtocolServer) DidOpenTextDocument

func (UnimplementedLanguageServerProtocolServer) DidSaveTextDocument

func (UnimplementedLanguageServerProtocolServer) DocumentColor

func (UnimplementedLanguageServerProtocolServer) DocumentFormatting

func (UnimplementedLanguageServerProtocolServer) DocumentHighlights

func (UnimplementedLanguageServerProtocolServer) DocumentLinkResolve

func (UnimplementedLanguageServerProtocolServer) DocumentSymbols

func (UnimplementedLanguageServerProtocolServer) ExecuteCommand

func (UnimplementedLanguageServerProtocolServer) Exit

func (UnimplementedLanguageServerProtocolServer) FindReferences

func (UnimplementedLanguageServerProtocolServer) FoldingRange

func (UnimplementedLanguageServerProtocolServer) GotoDeclaration

func (UnimplementedLanguageServerProtocolServer) GotoDefinition

func (UnimplementedLanguageServerProtocolServer) GotoImplementation

func (UnimplementedLanguageServerProtocolServer) GotoTypeDefinition

func (UnimplementedLanguageServerProtocolServer) Hover

func (UnimplementedLanguageServerProtocolServer) Initialize

func (UnimplementedLanguageServerProtocolServer) Initialized

func (UnimplementedLanguageServerProtocolServer) LogMessage

func (UnimplementedLanguageServerProtocolServer) LogTrace

func (UnimplementedLanguageServerProtocolServer) PrepareCallHierarchy

func (UnimplementedLanguageServerProtocolServer) PrepareRename

func (UnimplementedLanguageServerProtocolServer) Progress

func (UnimplementedLanguageServerProtocolServer) PublishDiagnostics

func (UnimplementedLanguageServerProtocolServer) Rename

func (UnimplementedLanguageServerProtocolServer) SelectionRange

func (UnimplementedLanguageServerProtocolServer) SetTrace

func (UnimplementedLanguageServerProtocolServer) ShowMessage

func (UnimplementedLanguageServerProtocolServer) ShowMessageRequest

func (UnimplementedLanguageServerProtocolServer) Shutdown

func (UnimplementedLanguageServerProtocolServer) SignatureHelp

func (UnimplementedLanguageServerProtocolServer) Telemetry

func (UnimplementedLanguageServerProtocolServer) WillSaveTextDocument

func (UnimplementedLanguageServerProtocolServer) WillSaveWaitUntilTextDocument

func (UnimplementedLanguageServerProtocolServer) WorkspaceFolders

func (UnimplementedLanguageServerProtocolServer) WorkspaceSymbols

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 UnsafeLanguageServerProtocolServer

type UnsafeLanguageServerProtocolServer interface {
	// contains filtered or unexported methods
}

UnsafeLanguageServerProtocolServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LanguageServerProtocolServer will result in compilation errors.

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 (*WillSaveTextDocumentRequest) GetTextDocument

func (*WillSaveTextDocumentRequest) ProtoMessage

func (*WillSaveTextDocumentRequest) ProtoMessage()

func (*WillSaveTextDocumentRequest) ProtoReflect

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 (*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 (*WillSaveTextDocumentResponse) Reset

func (x *WillSaveTextDocumentResponse) Reset()

func (*WillSaveTextDocumentResponse) String

type WillSaveTextDocumentResponse_Error

type WillSaveTextDocumentResponse_Error struct {
	Error *protocol.Error `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}

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 (*WorkDoneProgressCancelRequest) ProtoMessage

func (*WorkDoneProgressCancelRequest) ProtoMessage()

func (*WorkDoneProgressCancelRequest) ProtoReflect

func (*WorkDoneProgressCancelRequest) Reset

func (x *WorkDoneProgressCancelRequest) Reset()

func (*WorkDoneProgressCancelRequest) 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 (*WorkDoneProgressCreateRequest) ProtoMessage

func (*WorkDoneProgressCreateRequest) ProtoMessage()

func (*WorkDoneProgressCreateRequest) ProtoReflect

func (*WorkDoneProgressCreateRequest) Reset

func (x *WorkDoneProgressCreateRequest) Reset()

func (*WorkDoneProgressCreateRequest) 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 *protocol.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() *protocol.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 (*WorkspaceFoldersChangeEvent) GetRemoved

func (x *WorkspaceFoldersChangeEvent) GetRemoved() []*WorkspaceFolder

func (*WorkspaceFoldersChangeEvent) ProtoMessage

func (*WorkspaceFoldersChangeEvent) ProtoMessage()

func (*WorkspaceFoldersChangeEvent) ProtoReflect

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 (*WorkspaceFoldersResponse) GetError

func (x *WorkspaceFoldersResponse) GetError() *protocol.Error

func (*WorkspaceFoldersResponse) GetWorkspaceFolders

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_Empty

type WorkspaceFoldersResponse_Empty struct {
	Empty structpb.NullValue `protobuf:"varint,2,opt,name=empty,proto3,enum=google.protobuf.NullValue,oneof"`
}

type WorkspaceFoldersResponse_Error

type WorkspaceFoldersResponse_Error struct {
	Error *protocol.Error `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}

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) ProtoReflect

func (*WorkspaceFoldersResponse_WorkspaceFolders) Reset

func (*WorkspaceFoldersResponse_WorkspaceFolders) 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 (*WorkspaceFoldersServerCapabilities) GetId

func (*WorkspaceFoldersServerCapabilities) GetSupported

func (x *WorkspaceFoldersServerCapabilities) GetSupported() bool

func (*WorkspaceFoldersServerCapabilities) ProtoMessage

func (*WorkspaceFoldersServerCapabilities) ProtoMessage()

func (*WorkspaceFoldersServerCapabilities) ProtoReflect

func (*WorkspaceFoldersServerCapabilities) Reset

func (*WorkspaceFoldersServerCapabilities) 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 (*WorkspaceSymbolClientCapabilities) ProtoMessage

func (*WorkspaceSymbolClientCapabilities) ProtoMessage()

func (*WorkspaceSymbolClientCapabilities) ProtoReflect

func (*WorkspaceSymbolClientCapabilities) Reset

func (*WorkspaceSymbolClientCapabilities) 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

Deprecated: Use WorkspaceSymbolClientCapabilities_SymbolKind.ProtoReflect.Descriptor instead.

func (*WorkspaceSymbolClientCapabilities_SymbolKind) GetValueSet

func (*WorkspaceSymbolClientCapabilities_SymbolKind) ProtoMessage

func (*WorkspaceSymbolClientCapabilities_SymbolKind) ProtoReflect

func (*WorkspaceSymbolClientCapabilities_SymbolKind) Reset

func (*WorkspaceSymbolClientCapabilities_SymbolKind) 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 (*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_Error

type WorkspaceSymbolsResponse_Error struct {
	Error *protocol.Error `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}

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

Deprecated: Use WorkspaceSymbolsResponse_SymbolInformations.ProtoReflect.Descriptor instead.

func (*WorkspaceSymbolsResponse_SymbolInformations) GetSymbolInformations

func (x *WorkspaceSymbolsResponse_SymbolInformations) GetSymbolInformations() []*SymbolInformation

func (*WorkspaceSymbolsResponse_SymbolInformations) ProtoMessage

func (*WorkspaceSymbolsResponse_SymbolInformations) ProtoReflect

func (*WorkspaceSymbolsResponse_SymbolInformations) Reset

func (*WorkspaceSymbolsResponse_SymbolInformations) String

type WorkspaceSymbolsResponse_SymbolInformations_

type WorkspaceSymbolsResponse_SymbolInformations_ struct {
	SymbolInformations *WorkspaceSymbolsResponse_SymbolInformations `protobuf:"bytes,1,opt,name=symbol_informations,json=symbolInformations,proto3,oneof"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL