nixd
Loading...
Searching...
No Matches
Public Attributes | List of all members
lspserver::TweakArgs Struct Reference

#include <Protocol.h>

Collaboration diagram for lspserver::TweakArgs:
[legend]

Public Attributes

URIForFile file
 A file provided by the client on a textDocument/codeAction request.
 
Range selection
 A selection provided by the client on a textDocument/codeAction request.
 
std::string tweakID
 ID of the tweak that should be executed. Corresponds to Tweak::id().
 

Detailed Description

Arguments for the 'applyTweak' command. The server sends these commands as a response to the textDocument/codeAction request. The client can later send a command back to the server if the user requests to execute a particular code tweak.

Definition at line 1015 of file lspserver/include/lspserver/Protocol.h.

Member Data Documentation

◆ file

URIForFile lspserver::TweakArgs::file

A file provided by the client on a textDocument/codeAction request.

Definition at line 1017 of file lspserver/include/lspserver/Protocol.h.

◆ selection

Range lspserver::TweakArgs::selection

A selection provided by the client on a textDocument/codeAction request.

Definition at line 1019 of file lspserver/include/lspserver/Protocol.h.

◆ tweakID

std::string lspserver::TweakArgs::tweakID

ID of the tweak that should be executed. Corresponds to Tweak::id().

Definition at line 1021 of file lspserver/include/lspserver/Protocol.h.


The documentation for this struct was generated from the following file: