pub struct StcLangServer {
    pub(crate) client: Client,
}

Fields

client: Client

Trait Implementations

The initialize request is the first request sent from the client to the server. Read more
The shutdown request asks the server to gracefully shut down, but to not exit. Read more
The textDocument/hover request asks the server for hover information at a given text document position. Read more
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 sends anything else. Read more
The workspace/didChangeWorkspaceFolders notification is sent from the client to the server to inform about workspace folder configuration changes. Read more
The workspace/didChangeConfiguration notification is sent from the client to the server to signal the change of configuration settings. Read more
The workspace/didChangeWatchedFiles notification is sent from the client to the server when the client detects changes to files watched by the language client. Read more
The workspace/symbol request is sent from the client to the server to list project-wide symbols matching the given query string. Read more
The workspace/executeCommand request is sent from the client to the server to trigger command execution on the server. Read more
The workspace/willCreateFiles request is sent from the client to the server before files are actually created as long as the creation is triggered from within the client. Read more
The workspace/didCreateFiles request is sent from the client to the server when files were created from within the client. Read more
The workspace/willRenameFiles request is sent from the client to the server before files are actually renamed as long as the rename is triggered from within the client. Read more
The workspace/didRenameFiles notification is sent from the client to the server when files were renamed from within the client. Read more
The workspace/willDeleteFiles request is sent from the client to the server before files are actually deleted as long as the deletion is triggered from within the client either by a user action or by applying a workspace edit. Read more
The workspace/didDeleteFiles notification is sent from the client to the server when files were deleted from within the client. Read more
The textDocument/didOpen notification is sent from the client to the server to signal that a new text document has been opened by the client. Read more
The textDocument/didChange notification is sent from the client to the server to signal changes to a text document. Read more
The textDocument/willSave notification is sent from the client to the server before the document is actually saved. Read more
The [textDocument/willSaveWaitUntil] request is sent from the client to the server before the document is actually saved. Read more
The textDocument/didSave notification is sent from the client to the server when the document was saved in the client. Read more
The textDocument/didClose notification is sent from the client to the server when the document got closed in the client. Read more
The textDocument/completion request is sent from the client to the server to compute completion items at a given cursor position. Read more
The completionItem/resolve request is sent from the client to the server to resolve additional information for a given completion item. Read more
The textDocument/signatureHelp request is sent from the client to the server to request signature information at a given cursor position. Read more
The textDocument/declaration request asks the server for the declaration location of a symbol at a given text document position. Read more
The textDocument/definition request asks the server for the definition location of a symbol at a given text document position. Read more
The textDocument/typeDefinition request asks the server for the type definition location of a symbol at a given text document position. Read more
The textDocument/implementation request is sent from the client to the server to resolve the implementation location of a symbol at a given text document position. Read more
The textDocument/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. Read more
The textDocument/documentHighlight request is sent from the client to the server to resolve appropriate highlights for a given text document position. Read more
The textDocument/documentSymbol request is sent from the client to the server to retrieve all symbols found in a given text document. Read more
The textDocument/codeAction 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. Read more
The codeAction/resolve request is sent from the client to the server to resolve additional information for a given code action. Read more
The textDocument/codeLens request is sent from the client to the server to compute code lenses for a given text document. Read more
The codeLens/resolve request is sent from the client to the server to resolve the command for a given code lens item. Read more
The textDocument/documentLink request is sent from the client to the server to request the location of links in a document. Read more
The documentLink/resolve request is sent from the client to the server to resolve the target of a given document link. Read more
The textDocument/documentColor 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. Read more
The [textDocument/colorPresentation] request is sent from the client to the server to obtain a list of presentations for a color value at a given location. Read more
The textDocument/formatting request is sent from the client to the server to format a whole document. Read more
The textDocument/rangeFormatting request is sent from the client to the server to format a given range in a document. Read more
The textDocument/onTypeFormatting request is sent from the client to the server to format parts of the document during typing. Read more
The textDocument/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. Read more
The textDocument/prepareRename request is sent from the client to the server to setup and test the validity of a rename operation at a given location. Read more
The textDocument/foldingRange request is sent from the client to the server to return all folding ranges found in a given text document. Read more
The textDocument/selectionRange 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. Read more
The textDocument/prepareCallHierarchy request is sent from the client to the server to return a call hierarchy for the language element of given text document positions. Read more
The callHierarchy/incomingCalls request is sent from the client to the server to resolve incoming calls for a given call hierarchy item. Read more
The callHierarchy/outgoingCalls request is sent from the client to the server to resolve outgoing calls for a given call hierarchy item. Read more
The textDocument/semanticTokens/full request is sent from the client to the server to resolve the semantic tokens of a given file. Read more
The textDocument/semanticTokens/full/delta request is sent from the client to the server to resolve the semantic tokens of a given file, returning only the delta. Read more
The textDocument/semanticTokens/range request is sent from the client to the server to resolve the semantic tokens for the visible range of a given file. Read more
The textDocument/linkedEditingRange request is sent from the client to the server to return for a given position in a document the range of the symbol at the position and all ranges that have the same content. Read more
The textDocument/moniker request is sent from the client to the server to get the symbol monikers for a given text document position. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more