What code editor do you recommend for Ruby?

I know there is not one size fits all solution for everyone, but what would you recommend to someone new to the language?

Are there specific configurations or plugins that you would suggest?

1 Like

Someone new to the language: vscode. Easy, free, great set of plugins (Rails Extension Power Pack, GitLens)
Or if you have corporate backing, or do this for a living: RubyMine (Fabulous refactoring tools!)

However, I’m also old and still live quite happily in neovim within tmux most of the time.

Plug('vim-ruby/vim-ruby')
Plug('vim-utils/vim-ruby-fold')
Plug(‘tpope/vim-rails’)
Plug(‘tpope/vim-fugitive’)
Plug(‘tpope/vim-surround’)
Plug(‘tpope/vim-commentary’)
Plug(‘tpope/vim-sensible’)
Plug(‘tpope/vim-endwise’)
2 Likes

Thanks for your response, welcome to the forum!

I totally agree that vscode makes it easy to get started with plugins (and Ruby LSP). It’s been a while since I look at RubyMine so I’ll def check it out.

I’m also a happy user of neovim, currently I’m using LazyVim with a couple of tweaks. I’ll review the plugins you mentioned too.

yea vscode is easy to learn for newbie. or if you want to try the alternative, rubymine just free for non commercial

I’ve been using vscode for a long time now, I like the extensions, copilot integration, and it’s what I’m familiar with. At work they suggested RubyMine but I just couldn’t get into it so I just came back to vscode. There’s for sure some rough edges, but I appreciate that it’s heavily maintained

1 Like

Some like Panic’s Nova. Not free. But it’s been around a while and is supported.

I use VS Code with Kilo.ai

Thanks for sharing your responses and welcome to the forum too: @Kur0Pala @MtnBiker @megamvb @uciharis !

Seems like vscode is the clear winner so far, but it was interesting to learn about Nova and Kilo.ai, I haven’t heard of those before.

Recently I’ve been experimenting with Lite XL. It’s fast and doesn’t eat my RAM. It’s also very extensible with Lua, similar to NeoVim actually and yes I also like NeoVim and use it from time to time, but nowadays I prefer more graphical editors.

One editor I don’t see mentioned much these days is Pulsar, it’s the continuation of Atom if that rings some bells. Compared to the previous editor I mentioned it does consume a little more memory but I can still run it fine on my low-end PC so it’s not that bad :grinning_face_with_smiling_eyes:

1 Like

@chadow A fast editor that doesn’t eat lots of RAM is always a good choice :slight_smile: . Thanks for sharing.

1 Like

I quite like Zed even though Ruby support is not as strong as with VS Code or Rubymine.

@svoop Thanks for the suggestion! Is there anything in particular that you like about Zed in comparison with VS Code?

@javier.cervantes It’s very snappy (Rust), has a clean UI and the things I really need just work.

I used VS Codium before (for privacy reasons) with quite a number of extensions – quite simply because more useful extensions exist. But this came with more maintenance like environment issues breaking things.

Also, Zed is under active development (very much like VS Code) and for now, it doesn’t look as if it were to vanish the way Atom did any time soon.

1 Like

I’ve still been rocking Sublime Text since I started using it in 2012? :skull:. It’s still great! A bit crusty around the edges in places, but zippy & does exactly what I need it to do.

It’s been a while since I heard about Sublime Text. I do remember using it about 10 years ago and liking it so it’s great to know it’s still around

I was using Sublime Text then vscode but now i’m learning neovim to look like a pro.

1 Like

At this point it’s mostly Claude Code, with a smattering of Neovim to clean things up.

I’m a long-time Emacs user and have played with various bells and whistles. Mainly I stick with the classics - nothing too surprising if you’ve been in that ecosystem (org mode, magit, prelude+projectile, etc). My teammates mostly use RubyMine and VS Code. I think some of them are Emacs-curious but kind of overwhelmed.

I am using Zed. I was fun of Sublime for many years. It feels like using fast and modern Sublime. I used VSCode long but Zed is very enough for now. (Ad: I did a Zed extension for Rails ERB snippets. You can reach it here.)

I am using Sublime Text and would recommend it, it is fast to open file and has good plugin support!

1 Like