Hacker News new | ask | show | jobs
by callumprentice 163 days ago
I tried Zed for a few months but just couldn't get the JavaScript/Python syntax checking and Prettier type reformatting to work reliably. I would poke at it for a few hours, get it working and then mysteriously, a few days later, it'd stop working again.

I switched to VSCode now and whilst that piece of it seems to be much more reliable, I think overall I prefer the "feel" of Zed.

I've bookmarked the article to see if that helps me figure out how to make the settings stick.

2 comments

I had the same issue a few months ago with TSX files and ended up going back to Sublime. I just found out (after reading your comment and doing some searching) that Zed has a setting to force Prettier globally.

Might be helpful:

  "prettier": {
    "allowed": true
  },
I'll try that - thank you.
It's kind of funny, but I had the exact opposite experience. I couldn't get VSCode to reliably format Typescript/React code across several projects. Some would work and others would not. Sometimes it would format, but with wrong settings.

Frustrated, I switched to Zed and have not had that issue since.

Fascinating. Can you share your non-private Zed config? I still have mine from before the switch - I'd like to compare.