Documentation
¶
Overview ¶
Package server implements the server functionality
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpdateSettings ¶
Types ¶
type ResolveHandler ¶
type ResolveHandler func(context.Context, types.LSPCodeAction) (*types.LSPCodeAction, error)
func ResolveCodeActionHandler ¶
func ResolveCodeActionHandler(c *config.Config, service *codeaction.CodeActionsService, _ 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.LSPCodeAction, 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
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package notification implements the scan notifications
|
Package notification implements the scan notifications |
Click to show internal directories.
Click to hide internal directories.