You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error while consuming 'textDocument/declaration' with language server 'SourceKit-LSP' while editing a Swift file in IntelliJ 2025.3.3 #1434
This error comes from 'SourceKit-LSP' language server. It seems it notifies that it supports textDocument/declaration' although it seems it doesn't support it.
Fixed in 0.19.4 by #1485: LSP4IJ reported the errors of textDocument/definition requests as errors of textDocument/declaration. The error itself is SourceKit-LSP's answer to the request. Please reopen with an LSP console trace if it still happens with 0.30.1.
Activity
angelozerr commentedon Mar 13, 2026
This error comes from 'SourceKit-LSP' language server. It seems it notifies that it supports textDocument/declaration' although it seems it doesn't support it.
Could you enable LSP trace as verbose (see https://github.com/redhat-developer/lsp4ij/blob/main/docs/UserGuide.md#lsp-console) and share your trace please.
bodiam commentedon May 8, 2026
Hi @angelozerr , good to see you again. I've got the same issue for
nixd.this is my output:
PS: I just saw I was using
com.redhat.devtools.lsp4ij:0.19.2, I've updated to0.19.3lagergren commentedon Nov 20, 2026
Fixed in 0.19.4 by #1485: LSP4IJ reported the errors of
textDocument/definitionrequests as errors oftextDocument/declaration. The error itself is SourceKit-LSP's answer to the request. Please reopen with an LSP console trace if it still happens with 0.30.1.