Sasanidas / Apprentice

A small alchemist ready to rock
GNU General Public License v3.0
38 stars 2 forks source link

Question about the direction of this project (wrt to ElixirSense) #4

Open axelson opened 1 year ago

axelson commented 1 year ago

Hi! I wanted to stop by and say that this project is very interesting, and as an emacs user I'm looking forward to checking it out! 🎉

In your Alchemist Resurrection post in July you mentioned you're thinking about integrating with elixir_sense. But if I'm understanding correctly, you've moved on from that approach. Is that correct?

I wanted to ask because it's very possible that most of the elixir_sense code will be moved into ElixirLS itself or at least not maintained in a way intended for outside consumption since currently there are not any known users of elixir_sense besides ElixirLS itself.

Sasanidas commented 1 year ago

Hi @axelson ,

My initial idea was to improve the alchemist server to be mostly on pair with the lsp server, and I saw that the vim team have a nice extension that was using elixir_sense that (https://github.com/slashmili/alchemist.vim).

But then I didn't like the design of the alchemist server, it seemed too hacky and was just another "lsp" but with a custom calls, which is not ideal. The REPL integration was great tho, but aside from that it offered little room for me to improve the server in a way that I feel comfortable.

So, after the merge in the main Emacs of an lsp client (eglot) I decide to just remove some thing from alchemist (maybe enhance other things) and improve the REPL (as a Common Lisp programmer, a love a good REPL).

But I think it's a bad decision to merge elixir sense with lsp, I would like to use the library to build a backend for an NREPL server (as a separate project) so that would make some things difficult for me.