Closed haifengkao closed 3 years ago
Thanks for the details!
I have implemented the server-side filtering The OS X binary and source codes can be find here https://github.com/haifengkao/fast-sourcekit-lsp/releases
@haifengkao thanks for your work! Might try out your fork!
As this is can only be fixed in sourcekit-lsp
and as there is a workaround with https://github.com/haifengkao/fast-sourcekit-lsp/releases, I will close this issue.
When I specified the build params with
sourcekit-lsp
backend,the completion becomes very slow. I have to wait for 2~3 secs for the completion menu to popup
The problem comes from
sourcekit-lsp
itself. https://forums.swift.org/t/sourcekit-lsp-completion-delay-with-sublime-text/30655sourcekit-lsp
will dump all global variables in the SDK to a json file without filtering.The
sourcekit-lsp
team is working on this issue. https://github.com/apple/sourcekit-lsp/commits/masterAfter they are finished (if vscode-lsp supports it), the problem might be resolved.