Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ResolveHandler ¶
type ResolveHandler func(context.Context, types.CodeAction) (*types.CodeAction, error)
func ResolveCodeActionHandler ¶
func ResolveCodeActionHandler(c *config.Config, service *codeaction.CodeActionsService, server types.Server) ResolveHandler
ResolveCodeActionHandler returns a jrpc2.Handler that can be used to handle the "codeAction/resolve" LSP method
type TextDocumentCodeActionHandler ¶
type TextDocumentCodeActionHandler func(context.Context, types.CodeActionParams) ([]types.CodeAction, error)
func GetCodeActionHandler ¶
func GetCodeActionHandler(c *config.Config) TextDocumentCodeActionHandler
GetCodeActionHandler returns a jrpc2.Handler that can be used to handle the "textDocument/codeAction" LSP method
Source Files
¶
Click to show internal directories.
Click to hide internal directories.