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

Guides for common patterns #17

Open
mhanberg opened this issue May 2, 2023 · 0 comments
Open

Guides for common patterns #17

mhanberg opened this issue May 2, 2023 · 0 comments

Comments

@mhanberg
Copy link
Collaborator

mhanberg commented May 2, 2023

Description

I am starting to see patterns that are not necessarily opportunities (yet?) for library features, but should be documented in some way to help folks when implementing their own LSPs.

For example, in elixir-tools/credo-language-server#14, I noticed the problem of getting cascading runs of Tasks running Credo going and reporting progress, so I used a Task.Supervisor.async_nolink to monitor the tasks to report the progress end, and which gave me the ability to "cancel" the in flight tasks.

In the future, I can see many more patterns developing, so it'll be good to get a create a place to put them

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