View source
typedef CodeActionRegistrationOptions
package languageServerProtocol.protocol
import languageServerProtocol.protocol.Protocol
Registration options for a CodeActionRequest.
Fields
optionalresolveProvider:Null<Bool>
The server provides support to resolve additional information for a code action.
Available since
3.16.0
.documentSelector:Null<DocumentSelector>
A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.
optionalcodeActionKinds:Null<Array<CodeActionKind>>
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.