Which code editor or IDE do you use?

There is an elixir plugin for jetbrains IDEs.

I love the debug/test runners in Jetbrains IDEs. I started with PyCharm and use Rider still but haven’t had any luck with the elixir plugin. Haven’t found the time to put in the effort to get it up and running. The colour scheme is something else :upside_down_face:

4 Likes

That’s very nice!
Do you mind about showing your editor/workspace, like a screenshot?
I’m happy every time I see someone building their own tools for the job.

What do you mean about mouse based? Is it something like Sam?
In which language you code your tools?

3 Likes

That’s the one I use, it’s awesome!

1 Like

Long, long ago I learned Sam on the Blit terminals we used at Bell Labs. When we later moved to a Sun platform there was no decent text editor, so I wrote my own, similar to jim/sam/samuel, that I named Ted (following the tradition). When we moved to X11 I wrote another called xed, the rewrote using the Xt widgets to get xted. All of these were in C (I was an early adopter). When we began using C++ I found the InterViews toolkit from Stanford (I think. John Vlissides was involved with that prior to his GOF fame). This one was called “fred”. I used Fred for many years. I fact, I have a binary executable, last compiled in 1994, that I could still run on Linux as recently as a couple of years ago. How’s that for backwards compatibility? Most recently, I rewrote it in Python/GTK, calling it phred. That’s what I’m using today.

The funny thing is that the current phred is slightly slower than the old fred, despite running on computers that are 3 orders of magnitude faster. Button/menu response is just slow enough that some of the idioms I used to use, like rapidly clicking the middle button to do repetitive tasks, fail, because it takes just slightly too long for the menu to come up. As my friend Ted Kowalski used to say, “Remember when hardware was slow and software was fast?”

9 Likes

(I wasn’t the one asked for a screenshot, but I’ll add mine anyway to make the thread a bit more visually pleasing :grinning_face_with_smiling_eyes:)

https://i.imgur.com/41HBg6x.png

  • Sublime Text 4
    • LSP plug-in
    • erlang-ls language server
  • Alacritty
    • Fish as shell
    • tmux as window manager (with resurrect and continuum plugins)
    • asdf as version manager (for Erlang, Elixir etc.)
  • Iosevka font

Some features I really like with this setup:

  • Sublime (because of their flexible built-in syntax definitions) automatically scans and index all symbols in a project. In the example above I can goto definition for any C symbol in our whole toolchain, and jump to any Erlang function in all folders I’ve added. This just works out of the box with Sublime.
  • Erlang LS shows function definitions etc. and let’s me do some IDE-like things like rename functions and goto source (for my code and any library I use, including OTP). Ah, and it also compiles the code on save hand highlights any warnings and errors. :slightly_smiling_face:
  • My tmux tabs (and their contents) gets periodically saved so I case I reboot, I can just start my tmux session again and everything gets restored.
  • I also have a custom Fish plug-in that shows any special Erlang version in the prompt (in case I have overridden the globally configure asdf version in a project)

Personally, that’s enough IDE-like features for me without sacrificing speed or responsiveness of the editor. Happy to answer any questions about my setup.

6 Likes

Primarily Vim until earlier this year. Now mostly VS Code with Erlang LS and the Vim and GitLens extensions. I use it both on Linux and on Windows. On Windows, I also use the “Remote - WSL” extension together with WSL2 running Debian with the Erlang bits on there, and the “new” Windows Terminal.

I also use the DejaVu Sans Mono font, the Gruvbox Dark Hard theme, and the Material Icon Theme.

Some other extensions too, but not in relation to Erlang. Quite happy with VS Code for the time being.

image

4 Likes

Using Emacs for a long time (as soon as I got my fingers on a Unix system)

3 Likes

But Peer, you’re somebody who took a telecoms language and backend and thought it’d be neat to use for low resource embedded systems - it stands to reason you’d also choose Emacs :wink:

#vim

2 Likes

Well I have been using it already when Emacs was standing for “Eight megabytes and constantly swapping” this would be a quite smallish embedded system. On my 64GB iMac it doesn’t even show up in top unless I open a file with a bunch of GB

2 Likes

IntelliJ IDEA has been my choice for Erlang. It’s unbelievably convenient, and I feel sad for being forced into VSCode.

8 Likes

Visual Studio Code with GitHub - pgourlain/vscode_erlang: Erlang support for Visual Studio Code extension has been working really well for me. Syntax/error highlighting and interactive debugging are of great help, especially when you are new to the language/platform.
Not sure why it’s not getting any recognition here.

3 Likes

For anyone interested in Emacs, this might be of interest:

Some fairly positive comments on Devtalk: Doom-emacs: An Emacs framework - In The News - Devtalk

1 Like

I’ve been a regular user of and contributor to the helix editor for a bit: it’s very vim-like but based more on kakoune’s selection model. I’m such a die-hard now that I wrote a new tree-sitter grammar for Erlang so helix would have Erlang syntax highlighting!

4 Likes

Loving Emacs…

4 Likes

Visual Studio Code and Vim.

3 Likes

VSCode
Sometimes Sublime or Neovim

2 Likes

I mostly use my own small emacs-like editor.
I occasionally use Emacs and Vim.
I’ve tried atom and I have vscode and I really
made an attempt to use NetBeans and Eclipse.
The trouble is that Eclipse has a really big
learning curve and a really small window on my code
and I need something the other way around.
The only IDE I’ve ever been really comfortable
with is Smalltalk, and that’s because there were some
really good books explaining it.
When I had a working Mac I used Xcode.

I’ve never found any IDE that was good for editing.

2 Likes

I thought for a moment this was written as a poem - now there’s a challenge!

2 Likes

me too. Thanks to erlang-ls I enjoy “sender of…” and “implementors of…” (in Smalltalk speak) which makes it for me way more enjoyable to navigate through code.

But I definitely miss the whole Smalltalk experience. (Using mainly vim and vscode with erlang-ls, to come back to original question :slight_smile: ).

1 Like

I use Kate

2 Likes