xiaoqiang
These past few days, I’ve tried switching from Neovim to Helix, and so far the experience has been great. Compared to neovim, which requires multiple plugins and configurations, Helix requires very little configuration to start using it for Elixir. Plus, it has a great shortcut key prompts, so if you’ve used vim before, you can quickly get used to it.
In addition to its out-of-the-box features, one of my favorite features of Helix is its multi-selection editing!
Prerequisites:
- Ensure that
elixir-lsis installed and in your path. On macOS, you can usebrew install elixir-ls.
Put the following configuration in .config/helix/languages.toml, and happy coding!
[[language]]
name = "elixir"
scope = "source.elixir"
injection-regex = "elixir"
file-types = ["ex", "exs"]
roots = ["mix.exs"]
auto-format = true
diagnostic-severity = "Hint"
comment-token = "#"
indent = {tab-width = 2, unit = " "}
language-server = {command = "elixir-ls"}
Trending in Dev Env & Tools
Not sure I’m going to upgrade myself yet, but curious what others think:
How are you finding it for dev?
What are your thoughts of it g...
New
This just hit devtalk - best use of AI to date?
Stop paying for software that has a free twin. 971 open-source replacements for 443 pai...
New
We first posted one of these threads back in 2017 - so let’s start a fresh one, and let’s use a site that was created by @davejs using Ph...
New
I’ve been enjoying great results on my personal projects using AI tools with Elixir recently, thanks largely to the guardrails that are a...
New
Hi everyone,
Over several Elixir projects I kept writing down what each one taught me and turning the setups I got right into something ...
New
Other Trending Topics
Hey there,
I haven’t seen a list of useful Elixir specific skills for the popular AI tools yet so I’m starting one here with my first.
...
New
Hi everyone :waving_hand:
I wanted to share something I’ve been building — NowBlind, a random chat app designed to help people discover ...
New
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
Hey. Is there anyone here who creates agents in their apps? Not talking about using agents, but creating them. I’m finding it pretty diff...
New
(I just needed to vent somewhere and LinkedIn is full of hope, or hype, I’m not sure which exactly)
AI dream has many faces, but general...
New
Localize is the next generation localisation library for Elixir. Think of it as ex_cldr version 3.0. The first version will be released ...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #code-sync
- #discussion
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #ai
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #blog-post
- #elixirconf-us
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #security
- #elixirconf-eu
- #api
- #forms
- #performance











Showing Posts 1 to 10- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
dimitarvp
Can it do the template coloring in the same files i.e. two different syntaxes in one file? The HEEX stuff?
AstonJ
@OvermindDL1 posted about it last year on DT, I gave it a quick go but didn’t have time to use it much after that, it seemed quite basic at the time tho.
I added the link to it in your post
cloudytoday
Yep, it’s awesome. I’m also using a not yet merged PR which adds a file tree to it, it’s stable and I had no issues with it for a month or so.
xiaoqiang
It is possible because their syntax highlighting uses tree-sitter.
Furthermore, I suggest updating the Elixir configuration to support specific features of the language server in heex. Additionally, I discovered that my understanding of the “injection-regex” configuration item was incorrect, and we may not require it.
xiaoqiang
Awesome!
dimitarvp
Nice, thank you.
Does it deal with umbrella projects well? I noticed that it detects
mix.exsbut umbrellas have several such files at a different level.xiaoqiang
Based on current usage, LSP can function normally with Umbrella projects.
I conducted a test using an Umbrella app named “hello” with a subproject at “hello/apps/world”. Only “hello/apps/world/.elixir_ls” was generated, and it seems that “hello/.elixir_ls” was not generated.
I guess that elixir-ls has implemented support for Umbrella projects, even though “mix.exs” exists in the directory.
freewebwithme
I am just trying to use Helix, does come with dialyzer support?
cloudytoday
Yep, it does. You will see all the warning right in the editor.
fceruti
I read the whole tutor this weekend, and I’m all set up. I’m giving it a go this week
Thanks for sharing!