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

Integrating to LSP #12

Open
wingyplus opened this issue Sep 27, 2021 · 1 comment
Open

Integrating to LSP #12

wingyplus opened this issue Sep 27, 2021 · 1 comment

Comments

@wingyplus
Copy link
Collaborator

I think we should add lsp-mode integration support to the emacs. Maybe we should provide a minor mode (earthly-lsp I think..) that implement lsp client from lsp-mode. The experiment lsp server might be https://github.com/andrewsykim/earthly-lsp.

Ref to discussion #9 (comment)

@Konubinix
Copy link

There is also https://github.com/glehmann/earthlyls now. @glehmann was aware of https://github.com/andrewsykim/earthly-lsp but wanted to create the lsp server in rust.

So far, I can tell he did pretty well. Also, he it still very eager to develop new features.

Also, you actually don't need to do anything to support lsp in this repository. I already added the support for https://github.com/glehmann/earthlyls in lsp-mode. You only need to enable lsp from your earthlfiles and then, you can get this.

image

instead of this

image

And goto-reference and find-references as well

image

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

2 participants