Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Request knownDocuments defines 1 params but recevied none. #10

Open
bogdanbeniaminb opened this issue Apr 3, 2022 · 0 comments

Comments

@bogdanbeniaminb
Copy link

The first indexing works fine, but on the second project opening I receive this error: deep-assoc index exc.

Debugging the extension, this is the info about the error:

[2022-04-03 12:49:56.977] [renderer1] [error] [Extension Host] Error: Request knownDocuments defines 1 params but recevied none.
    at handleResponse (/home/barbu/.vscode/extensions/klesun.deep-assoc-completion-vscode-0.9.0/node_modules/vscode-jsonrpc/lib/common/connection.js:477:48)
    at processMessageQueue (/home/barbu/.vscode/extensions/klesun.deep-assoc-completion-vscode-0.9.0/node_modules/vscode-jsonrpc/lib/common/connection.js:292:17)
    at Immediate.<anonymous> (/home/barbu/.vscode/extensions/klesun.deep-assoc-completion-vscode-0.9.0/node_modules/vscode-jsonrpc/lib/common/connection.js:276:13)
    at processImmediate (node:internal/timers:464:21)

It comes froom WorkspaceDiscovery.ts, line 223.. If I disable the knownDocumentsRequest call and timestamp to 0 and cachedUriSet to [], then the extension doesn't throw that error any more.

It seems as if Intelephense's knownDocuments method doesn't receive everything it wants.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant