ricksonoliveira

ricksonoliveira

AI Editors for Elixir

Hey folks,
I have been looking for an alternative to good old VsCode for a while. Have tried some vim and emacs editors with their plugins and frameworks. And they all have their place and time.
But lately I have switched it over completely to AI based editors and the results I’m finding in terms of productivity specifically has saved me a ton amount of time on tasks, building features, debugging, etc.

The first I tried was cursor, which was awesome experience. I’ve literally started projects from nothing with just chatting with it and “almost” just copying and pasting it’s results with a little tweak.
The greatest thing I loved about cursor was it’s inline autocomplete. It really understands the “catch” of what you’re coding and almost always its completions are right or at least close to what you’re thinking.
It’s notable to mention that it’s based off VsCode so you can sync all the plugins and configs importing from it.
Finally, debugging with it is also makes it an amazing productive tool.

A few cons:
The cons about cursor I would say are mainly the pricing, which is 20 bucks monthly for the individual plan. I know its not much, but I assure you there are better prices for more complete tools out there.
Also, cursor is kind of “just” a code generator even though it’s really assertive. But it doesn’t have file system access (as far as I know) so it just basically helps you code faster.

A new world
After being in love with AI code editors, a co-worker friend of mine (which presented me to this new world in the first place) also showed me Windsurf made by Codeium.
Now, I’m not making any marketing here but this one is a real gem. I was really impressed with its chat. It’s almost a plug and play editor. For example you can simply tell it to develop a project based off your thoughts and it will not only return the results, but ask if you wanna apply the changes, and it will even setup database, run the deps and all the commands by itself and all you have to do is just sit and watch and agree or not as you want it to build the project for you.
Yesterday I literally caught myself arguing with it to migrate from my fly.io postgres database in prod for a project to a supabase db and it analyzed the code by itself and made the changes and now I have it up and running. That took less than 5 minutes.
It really analyzes the code for you, not only in the file you’re at, but all the funcitons, modules and files that flow will impact.
With that being said I don’t even have to mention how powerful that is in terms of debugging.
And it’s pricing is a few dolars less than cursor. :slight_smile:

Let’s be fair
To be fair when mentioning both editors. The autocomplete from Windsurf isn’t as great as cursor’s. I set it to autocomplete fast but even so it’s a bit slow and can be annoying to wait and see what it will suggest you.

What do you guys think? Is anyone else using these AI code editors? Enjoying them? Do you know a better one than the ones mentioned?

I would love to know :slight_smile: .
Cheers.

Most Liked

katafrakt

katafrakt

I used Windsurf a bit and I certainly agree that it’s better than Cursor. However, all these are too vscodish for me, so I still use Emacs as my daily driver. I just added Aider support to it in case I have a really tedious task with which AI can actually help me.

acrolink

acrolink

Your post is one day late :slightly_smiling_face: … should I cancel my recently purchased subscription to Cursor ?

ken-kost

ken-kost

Currently on cursor free version, I just bought tokens on OpenAI API and plugged that, don’t use code completion. But I will try windsurf if you say it’s good. :+1:

w0rd-driven

w0rd-driven

Cody is an exceptional plugin that I use in both VSCode and PHPStorm. The free plan is often more than enough as unlimited completions are perfect and 200 chats is quite a lot. The real powerhouse is that it uses Claude Sonnet 3.5, which has only improved since Cody was in beta earlier this year. I believe they also have a Neovim plugin if you’re into that. Cody also now supports Ollama models if you want to run them locally but I’ve yet to get the accuracy I get with Claude. JetBrains WebStorm is free for non-commercial use so this combo makes a decent vscode alternative. If it’s anything like phpstorm though, I’ve had more stability with vscode lately. Another big wildcard is the Elixir plugin at one point only worked for IntelliJ and not the specialized variants. IntelliJ community edition is a thing but wasn’t worth the hassle when I tried messing with it over a year ago.

As someone that’s used MS Copilot (Bing chat), I believe a branded gpt3.5 or 4 and Claude, I typically have way better results with Claude. The biggest gripe is it doesn’t hit websites so the knowledge has a cap. GitHub Copilot now has a free plan with 50 chats and 2000 completions but any completion cap can get met extremely quickly. When Cody had similar low caps after the beta, I had to turn that off because it would not fallback to normal intellisense/autocomplete when the limits were reached on vscode. I personally wouldn’t use Copilot alone, but mixing both for 250 chats would be worth exploring.

bradley

bradley

I’m a vscode user and I use GitHub copilot with sonnet 3.5. The new edits feature makes it competitive with cursor which is nice. I’d say my biggest challenge is getting it to understand the less known/bleeding edge elixir stuff. This is something I’m continually trying to work out.

Next I want to try out continue.dev or cline with vscode and the new MCP protocol. I think MCP might finally be the answer to getting quality elixir AI code gen but I haven’t fully figured it out yet. Some preliminary tests with the Claude desktop app and MCP are already promising.

MCP w/ search1api might fix this issue for you! I haven’t tried out the search API yet but I want to soon.

I love aider. I hope they add MCP support soon. I think that’ll make it much more powerful than it already is.

Where Next?

Popular in Dev Env & Tools Top

pjbs
Mechanical? Which Cherry switch? Which layout? TenKeyLess?
704 21107 332
New
AndyL
With this week’s release, ElixirLS bundles an experimental MCP Server. (see CHANGELOG) Highlights Added Call hierarchy provider imple...
New
plcholder
I know alot of people hate the concept of vibe coding & ive tried it with several languages didnt really like it, but for some reason...
New
Dusty
New England download page New England repo I am a long-time dark theme user, but I recently developed an interest in coding on a light ...
New
AstonJ
If you have any macOS tips or tricks, or a favourite way of using it, please share :icon_biggrin: For general chat about Macs, please us...
New
SyntaxSorcerer
I found Elixir after a friend recommended looking into it for developing a multi-agent orchestration and task management system. Soon aft...
New
jswny
Has anyone managed to get Codex (the cloud version, as seen here) to work for Elixir? I tried to setup the dependencies but mix deps.get...
New
bradley
Hi everyone, I’m curious how people in the Elixir community are approaching evaluation frameworks for AI applications, whether you’re us...
New
bitboxer
In the last couple of months I only played a little bit with elixir, haven’t had much time to actually build something with it. But now t...
New
g33kidd
Just curious as to what everyone is using in terms of colors. I’m currently using Sublime Text 3 and using the GoldenDragon color scheme....
New

Other popular topics Top

Qqwy
Update: How to use the Blogs & Podcasts section You can post links to your blog posts or podcasts either in one of the Official Blog...
3268 119930 1237
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
axelson
This post is a wiki (feel free to hit the edit button near the bottom right of this post to add your own changes!) This post collects co...
239 45766 226
New
grych
Hi folks, Few months ago I have announced the proof-of-concept of the library to manipulate the browsers DOM objects directly from Elixi...
639 49522 488
New
New
hariharasudhan94
I would like to know what is the best IDE for elixir development?
New
myronmarston
The Elixir Typespec docs show the following syntax for keyword lists in typespecs: # ... | [key: type] # keyword lis...
New
stefanluptak
Hello everybody, usually, I use a 29" ultra-wide monitor for VSCode which can easily accomodate explorer (files panel) + file with code ...
New
beno
I will often find my self writing things similar to: case some_value do nil -> something() "" -> something() _ -> someth...
New
lucidguppy
I have a super simple question about elixir - how would I take a file like this foo bar baz and output a new file that enumerates th...
New

We're in Beta

About us Mission Statement