grossd

grossd

Hello,

I’d like to get started in earnest to and develop a sample application with Elixir / OTP on BEAM – probably running on Windows – at first – and later on Ubuntu.

I am using to working with the Eclipse IDE which offers great visual interactive debugging.

Is there a recommended – and well supported – IDE for Elixir with good integration into OTP as well – to develop and visually debug applications ?

I read visual studio code seems popular – would be great to hear the latest on this …

thank you,

Daniel

Showing Posts 1 to 6

bartblast

bartblast

Creator of Hologram

I recommend VS Code for that, the setup is straightforward, check this article: https://medium.com/geekculture/debugging-phoenix-and-elixir-applications-in-visual-studio-code-5f1b63a6713b

drl123

drl123

Since you are already used to Eclipse, try the IntelliJ Elixir plugin in any of IntelliJ’s IDE’s. I personally use it with RubyMine (because I already own it for my day job) and it works quite well. Elle Imhoff, who works for Dockyard, developed the plugin and it gets regular updates. The debugger is good and the test runner is really nice too. The advantage of RM over standard IntelliJ CE is that you get the database tool integrated as well. Unfortunately, RM only free for 30-days, but IntelliJ CE is always free to use.

grossd

grossd OP

Thank you, much appreciated.

I started trying out VS Code – but, – just to report a bleeding beginners experience – i got stuck pretty quickly – having zero knowledge of what is going on with files, under the hood, etc.-- to even know how to get a hello world program running and stepped through via debugging.

I’ll try IntelliJ with RubyMine – hopefully its more of a turnkey experience – so i can get code running pretty much after installation of IDE and pluging :slight_smile:

Ideally, there would be a full featured online IDE where you login (e.g. via git credentials) and just start coding and debugging.

Dan

grossd

grossd OP

too bad, i just couldn’t figure configuring RubyMine for Elixier either ..

Its preconfigured for Ruby – i can install from within the elixir plugin – but, then i am stuck – no elixifr project shows up ..

A search found me this: GitHub - KronicDeth/intellij-elixir: Elixir plugin for JetBrain's IntelliJ Platform (including Rubymine) · GitHub

Which seems to include some instruction – which don’t work in my installation – unclear where elixirer SDK is on my path – i now have two in program and program (x86) one with bin folders empty – perhaps i created it inadvertedly while trying configure from within the IDE

Oh, well, its frustration – for me at least – no clear path to get the IDE working for Elixir … it should really be simpler i think - its an entry barrier … :frowning:

bartblast

bartblast

Creator of Hologram

@grossd What problems you encountered when trying to setup VS Code?

drl123

drl123

OK, so I see then, that you are running Windows. I’m on macOS, so might be a little different. The IDE will not install Elixir or Erlang for you. You have to install those via the OS and then pay attention to which folder they get installed into, then point the IDE at those locations for its Elixir and Erlang binaries. In my case, I use ASDF to manage my language installs, so on macOS there’s a hidden .asdf folder with an installs sub-folder containing all of the install roots. Not sure how you installed in WIndows, or where it would have put them.

I’m not sure what you mean by ‘no elixir project shows up’. If you have an existing project, just open it from the main menu in RM (open from folder), then the plugin should format/highlight your ex and exs files, just as it does rb files. You won’t be able to start a new Elixir project from the menu in RM, since it is a ‘small IDE’ (in JetBrains parlance, this means it is designed for use in a single language. IntelliJ, on the other hand, is a ‘full IDE’ meaning it was designed to handle multiple languages and in that case, you can start a new Elixir project from the main menu, as well as compile, etc.). BTW…you probably also need to have Ruby installed, since the IDE will look for it by default.

The instructions you linked to are for macOS having installed E & E via Homebrew, but the concept is the same. You have to go into preferences and tell the IDE where you installed the binaries.

I usually just create the project from the terminal with mix new, then open the folder with RM. After that, the project will appear in your projects list in RM, so it’s only a minor inconvenience on the initial project creation.

— All posts loaded —

Where Next? Top

Trending in Questions Top

water
I’m aware of 2 such projects, are there others? git: GitHub - team-alembic/realworld: A fullstack Phoenix LiveView application with back...
New
katta
I having some trouble figuring out if I have set myself too strict of standards for my production server. Currently I can handle 75% of r...
New
peck
Hi everyone. My team and I have been working on a fairly modest app based around video streaming and chat, but we’ve landed a customer t...
New
achenet
Hello, I’m trying to build a basic Phoenix web-app, and I’d like to use Tailwind. However, when I launch mix phx.server, I get an error...
New
bradley
I really like the adapter patterns that ecto, nebulex, waffle, etc. use and would love find something similar for a key management servic...
New
unaware8150
Hello folks! So at work, we are seeing some situations where we have to define some “fixed” strings that are used across the codebase in...
New
Alvinkariuki
How Can I Optimise Compile Time Dependencies I have been building an elixir application for about 2 years now. Many modules and files ha...
New

Other Trending Topics Top

budgie
A little off-topic, but I feel like people here have a good head on their shoulders. I used to be quite good at making software. Was luc...
New
KristerV
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
mudasobwa
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
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
juhalehtonen
There has been a thread to discuss the Stack Overflow Developer Survey on this forum every year since 2018, so here’s yet another one for...
New
budgie
I love Elixir. It’s one of 2 programming languages I’ve ever fallen in love with. But I don’t use it anymore. Serverless was the promis...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews