clang-tools 19.0.0git
Public Attributes | List of all members
clang::clangd::TweakArgs Struct Reference

Arguments for the 'applyTweak' command. More...

#include <Protocol.h>

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 1031 of file Protocol.h.

Member Data Documentation

◆ file

URIForFile clang::clangd::TweakArgs::file

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

Definition at line 1033 of file Protocol.h.

◆ selection

Range clang::clangd::TweakArgs::selection

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

Definition at line 1035 of file Protocol.h.

◆ tweakID

std::string clang::clangd::TweakArgs::tweakID

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

Definition at line 1037 of file Protocol.h.


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