Skip to content

Conversation

skx
Copy link
Owner

@skx skx commented Dec 10, 2022

This will close #111 by calculating possible completions only once, and then reusing them for the duration of our LSP server.

This works because we only complete things within the standard-library which won't change mid-execution.

If we ever supported completion of the users' code then this approach would need to be revisited, but we don't do that and don't want to at the moment.

This will close #111 by calculating possible completions only once,
and then reusing them for the duration of our LSP server.

This works because we only complete things within the standard-library
which won't change mid-execution.

If we ever supported completion of the users' code then this approach
would need to be revisited, but we don't do that and don't want to at
the moment.
@skx skx merged commit 5212cb5 into master Dec 10, 2022
@skx skx deleted the 111-lsp-cache branch December 10, 2022 06:52
@skx skx mentioned this pull request Feb 13, 2023
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

Successfully merging this pull request may close these issues.

Improve LSP
1 participant