clag

clag

Emacs/spacemacs with language server protocol for Elixir, or any solution for emacs guys?

Hi guys, I have noticed that the support for elixir in visual studio code is quite good, autocomplete is correct, even for installed packages, error suggestions work well, unfortunately vscode consumes too much ram and I prefer lighter editors, but support in spacemacs leaves something to be desired.

using spacemacs require a lot of steps before start to use elixir in a project and even after that autocompletion is not good and simple syntax errors are not even detected, I have seen that LS is usable in many editors, even recently I saw a post using vim https://www.mitchellhanberg.com/post/2018/10/18/how-to-use-elixir-ls-with-vim/ , but I don’t find how to integrate the LS of elixir (that exists) with emacs, someone has been lucky doing this?..or someone using emacs to program elixir using some other package has had good results? thank you!

Most Liked

axelson

axelson

Scenic Core Team

Alchemist doesn’t have any integration with the Elixir Language Server yet and there are a number of things that are rather broken at the moment, especially go-to-definition. @Trevoke has been studiously working on integrating the language server into Alchemist and currently has a PR up that you should give a try: https://github.com/tonini/alchemist.el/pull/350

You can also join in on the #alchemist-dev channel of the Elixir Slack if you’re interested in the development. (I try to help out but I don’t know enough emacs lisp to even be dangerous)

Where Next?

Popular in Questions Top

lastday4you
I wanted to check elixir version in phoenix because i found that my elixir is 1.5 but when i use Enum.chunk_by it said the function is un...
New
fireproofsocks
I’m working on defining a simple Ecto schema for a table (in PostGres), but I don’t see where I can define a column as NOT NULL. Conside...
New
JDanielMartinez
Hi! May someone helps me, please! I have two apps into an umbrella project: the first one is Database, which manages queries, and the se...
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
_russellb
I want to try my hand at web scraping. What tools/libraries do I need to use. I’m hoping to turn this into something professional so don’...
New
romenigld
I am trying to run a deploy with docker and I successfully runned with this command: docker build -t romenigld/blog-prod . but when I t...
New
vac
Hi, I'm quite new in Elixir and I'm trying to format a string to a PEM format. I have the certificate value like MIIDBTCCAe2...... and ...
New
fireproofsocks
Forgive me if this is obvious, but how does one delete a database record WITHOUT selecting it first? https://hexdocs.pm/ecto/Ecto.Repo.h...
New
LegitStack
I’m trying to make a websocket server in Phoenix or raw Elixir. I heard about gun, I think I could use cowboy, but since I’m not that sma...
New
idi527
I’ve been re-reading swift book again and noticed that multiline strings there don’t have a trailing line break, unlike in elixir iex(2)...
New

Other popular topics Top

SoCreat
i’m a new one to elixir which editor can i use vs code? or atom? Thanks! :smiley:
New
chrismccord
Phoenix 1.4.0 released Phoenix 1.4 is out! This release ships with exciting new features, most notably with HTTP2 support, improved deve...
688 30048 115
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
JorisKok
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New
jerry
Good day to you all. I have been struggling to get a query involving like and ilike to work. Can anyone assist me on this, please? pro...
New
vertexbuffer
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
myronmarston
The Elixir Typespec docs show the following syntax for keyword lists in typespecs: # ... | [key: type] # keyword lis...
New
mcarvalho
What is the difference between System.get_env and Application.get_env? For example, what are best practices to use one versus another.
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New
siddhant3030
Hi, I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
New

We're in Beta

About us Mission Statement