Skip to content

Commit d31b341

Browse files
author
Charlie Egan
authored
lsp: log handleTextDocumentCodeAction params (#1511)
This is to aid in debugging #1501 Signed-off-by: Charlie Egan <charlie@styra.com>
1 parent 58b8152 commit d31b341

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

internal/lsp/server.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1517,6 +1517,8 @@ func (l *LanguageServer) handleTextDocumentHover(params types.TextDocumentHoverP
15171517
}
15181518

15191519
func (l *LanguageServer) handleTextDocumentCodeAction(params types.CodeActionParams) (any, error) {
1520+
l.logf(log.LevelMessage, "handleTextDocumentCodeAction params: %+v", params)
1521+
15201522
if l.ignoreURI(params.TextDocument.URI) {
15211523
return noCodeActions, nil
15221524
}

0 commit comments

Comments
 (0)