summaryrefslogtreecommitdiff
path: root/internal/lsp/server.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-09-03 16:41:46 +0300
committerPaul Buetow <paul@buetow.org>2025-09-03 16:41:46 +0300
commit3ee19139a95441a3ce10690377de8f453c7aec3f (patch)
treeb627097b2b2863e493e9ef0f9f4a88057c96c228 /internal/lsp/server.go
parentf3a1a41d92651d6d19ee6b078c0ffdc825015bde (diff)
lsp: add 'Hexai: implement unit test' code action for Gov0.4.1
- Generate or append tests to _test.go - Jump to generated test via showDocument (command + server-initiated) - Document the feature in docs/go-unit-tests.md - Prefix action titles with 'Hexai: ' - Bump version to 0.4.1
Diffstat (limited to 'internal/lsp/server.go')
-rw-r--r--internal/lsp/server.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/lsp/server.go b/internal/lsp/server.go
index 8af64ec..7a1007e 100644
--- a/internal/lsp/server.go
+++ b/internal/lsp/server.go
@@ -121,6 +121,7 @@ func NewServer(r io.Reader, w io.Writer, logger *log.Logger, opts ServerOptions)
"textDocument/completion": s.handleCompletion,
"textDocument/codeAction": s.handleCodeAction,
"codeAction/resolve": s.handleCodeActionResolve,
+ "workspace/executeCommand": s.handleExecuteCommand,
}
return s
}