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

Creating a bridge for atom with elixir-ls and atom-ide: ide-elixir? #10

Closed
agustif opened this issue Sep 16, 2017 · 6 comments
Closed

Comments

@agustif
Copy link

agustif commented Sep 16, 2017

https://blog.atom.io/2017/09/12/announcing-atom-ide.html

Reading these news, I remembered your project, do you use Atom yourself, any plans on making this happen?

@JakeBecker
Copy link
Owner

Hi,

Sorry for the wait in getting back to you. I don't use Atom myself, but I took a quick look. The Atom IDE package is based on v2 of the Language Server Protocol, and ElixirLS uses v3. They're pretty similar though, it may be possible to make it compatible with v2. Also, it doesn't look like it supports the VS Code Debug Protocol, which means that debugger integration won't be possible.

I'm going to take a quick stab at an Atom plugin. I'll report back here if I make any progress.

@JakeBecker
Copy link
Owner

It basically works! Repo here: https://github.com/JakeBecker/ide-elixir

It's got some issues. Snippets in auto-complete don't work, so I think I need to add some indication to the clientCapabilities and look for that in the server. Also, the Atom client doesn't handle the window/logMessage or window/showMessage notifications from the server, which makes it harder to diagnose issues. I don't want to publish quite yet until I've worked out more of the bugs in ElixirLS, since I expect bug reports from Atom will be lacking in relevant information because of this.

Feel free to try it out though!

@agustif
Copy link
Author

agustif commented Oct 22, 2017

Thanks, this looks cool! Right now working on JS, but will try soon!

@ontofractal
Copy link

@JakeBecker Great to see that you're working on a atom-ide extension for elixirLS!

@JakeBecker
Copy link
Owner

The main blocker right now is this issue: atom/atom-languageclient#130

Once there's a fix for that, I'll release the plugin and close this issue.

@JakeBecker
Copy link
Owner

I've just released the Atom IDE extension. Blog post here: https://medium.com/@JakeBeckerCode/announcing-ide-elixir-an-elixirls-plugin-for-atom-ide-379fb71f7b7f

Thanks for the encouragement, everyone! 👍

JakeBecker pushed a commit that referenced this issue Mar 31, 2020
Include fork in published name, register elixirLS as langId, add language server tracing setting UI
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

3 participants