top | item 42817830

(no title)

cbisnett | 1 year ago

I’ve been using Sublime Text for more than a decade and I gave Zed a try recently. I don’t have good reasons like the author, but I kinda wanted to see what the hype was about.

I really liked everything about it including the much better LSP support and the base key map for Sublime Text was very close so I felt at home quickly.

Then I tried actually writing code in my usual workflow and this is where things started to fall apart. I’ve been writing in Ruby for almost 10 years now and when I type things like `def<tab>` I’m used to Sublime filling in the snippet and allowing me to quickly enter and tab through the components. Same for a bunch of really common Ruby concepts like blocks. I found this to be very limited and even though I created custom snippets they never would render with the correct indentation. I think the Ruby language extension just needs some additional work and probably doesn’t get much attention. For me I didn’t have time to figure it out and contribute so I went back to Sublime Text.

I will definitely continue to play with Zed and see if it gets better because of the native AI integration. I’m not an AI fanboi and I usually avoid it, but being able to supply the open and existing files as context when asking the assistant to generate things like tests performed much better with context than without and were much closer to how we write and format tests.

discuss

order

SnowingXIV|1 year ago

I echo this sentiment. Also, a long time rubyist. I pretty much go between neovim or Sublime everything else has felt off for Ruby development. I use vintage (vim) mode for Sublime and it’s the sweet spot. I get all the motions, but also some -non vim actions that I appreciate. This might feel like uncanny valley, but it works.

bigstrat2003|1 year ago

I just can't see myself ever leaving Sublime. VS Code is good, but uses way too many resources without really delivering commensurate functionality compared to Sublime. I thought Zed might do it, but their main focus seems to be trying to integrate LLMs which are a productivity drain with how inconsistent they are. So if anything that's a reason to stay away, not to use it. Thus far Sublime is the only editor which is just focusing on doing a good job being an editor and not using hella resources.

eproxus|1 year ago

I’ve fully migrated from Sublime Text to Zed, but in these areas both are lacking things the other has.

Sublime has great language support out of the box but poor LSP support (basically outsourcing it to a user plugin instead of having a native integration).

Zed has great LSP support but ”poor” language integration (also outsourcing the language plugins to the community, which makes the vary in quality and feature set).

But Zed has great AI integration which Sublime completely lacks, if you’re into that.

lbrito|1 year ago

This is close to my experience. Also long-time Sublime user, almost always writing Ruby.

I don't know if I'm an AI fanboi or not, but for generating things like factorygirl definitions and simple rspec unit tests, GPT is seriously good (in the sense that it saves me tedious work, not that it is particularly fantastic).