-
Notifications
You must be signed in to change notification settings - Fork 13
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
Lagging interface with company-mode #6
Comments
Thanks for the report. Do you have a sample project where this behavior is reproducible? Can you post the output of running |
For me it happens in I'll run company-diag later 👍 |
|
@jandamm, SourceKit-LSP has just implemented server-side filtering of completion results (see swiftlang/sourcekit-lsp#298). This should improve performance, specially on Emacs <27, where JSON serialisation is done in Emacs Lisp code. Could you compile a SourceKit-LSP toolchain from top of tree and see if completion performance is better? Thanks. |
Hey @danielmartin, thanks for the follow up. |
For posterity, building
|
I'm using
lsp-sourcekit
withcompany-mode
as part of an Doom Emacs configuration.When I start typing and company wants to present auto completion, the interface freezes for about a second. Then I'm presented with an extremely long list of auto completion possibilities:
This only happens when I start typing. There is no issue, when I've got the type written out and just look for members of the type.
Abc.
is working fine and presents theinit
,Type
andself
.The text was updated successfully, but these errors were encountered: