Live data from Hacker News

Zed, a collaborative code editor, is now open source

zed.dev

351–360 of 642 posts

Re: Zed, a collaborative code editor, is now open source

#351
post #180

Earlier quoted context omitted.

“Please don’t do it like a 4x4 truck, do it proper, like a bicycle” — there is some overlap between those things, but for people who are actually making full use of the former, the latter is not a useful suggestion

I'd suggest that the people who make "full use" of vsc-over-ssh are satisfied with vscode, so it would be unwise to target the full featureset. More generally, targeting another project's complete featureset is often a great way to get mired down in the wrong details. Unless you can afford to do a proper cleanroom -- then, you'll be able to at least match the performance and useful abstractions used in the original.

> I'd suggest that the people who make "full use" of vsc-over-ssh are satisfied with vscode, so it would be unwise to target the full featureset.

Wha...? This is a killer feature. I'll put up with a lot of crap to use it. That doesn't mean I wouldn't switch to something nicer in other ways if it also offered this killer feature.

It's hard for me to understand why there are IDEs under active development not trying to offer this feature. It is so much better an experience to have the network split into the proper place: between the UI and the heavy computation. Having the UI too far away undoes whatever responsiveness work has been done and more. Having the heavy computation too near means it's hard to develop and test the far environment, take advantage of its compute, etc.

Re: Zed, a collaborative code editor, is now open source

#352
post #189

Earlier quoted context omitted.

This. The worst thing is that I get mad at them for not doing what I want them to, faster, when the tooling and my crooked explanations are at fault, not them. Not that I mention that out loud, but sometimes I feel ashamed for those feelings. Having real time collaboration that works so seamlessly as Zed apparently does would really get me to consider switching IDEs!

Seems like VNC or similar would be a better solution. Might need to use a terminal or other program. Instead of confining it to one application.

I'm using VNC for coworking/mentoring sessions and it works very well for us (it's lower latency, higher frame rate, sharper picture than typical screen sharing, and allows both/all sides to interact with the session and use the mouse pointer to point to things). We're using Linux on both the server and client side. There's a full desktop on the remote side, to fully interact with that (to have key bindings go to the server instead of the local desktop) the client needs to be made full screen. Latency isn't really an issue even between central US and Europe.

I've automated the set up of a Debian server for the purpose using[1]. There are some details on how to run it and how to set up the client side here[2] (probably slightly outdated). Feel free to mail me about it.

[1] https://github.com/pflanze/chjize [2] https://github.com/pflanze/chjize/blob/master/client-side-to...

Re: Zed, a collaborative code editor, is now open source

#353

I opened a random python project on my machine in Zed and it automatically loaded up an LSP for python. It looks like it's using the same one as my emacs uses (pyright), but it presents completion choices in a not particularly useful order. Typing `os.p` gives me for instance as completion choices: pwritev pwrite putenv popen pipe path P_ALL P_PID pread pardir P_PGID P_WAIT ... but then I type 'a' and then backspace…

I’m also curious about the answer to this! I noticed similar behavior when opening a Typescript project. Enjoy the low latency, but I’d also appreciate accurate/helpful autocomplete suggestions.

Re: Zed, a collaborative code editor, is now open source

#354
post #258

Earlier quoted context omitted.

Ah yes windows, the classic developer OS.

Windows is the most popular developer OS according to the 2023 stack overflow survey, for both professional and personal use.

You have to remember that you're on HN and windows doesn't exist around here.

Re: Zed, a collaborative code editor, is now open source

#355

There are some free code editor but no good free ide. Jetbrain are the main player and their products are paid. I am finding a jetbrain alternative that is free

I'm guessing you don't consider VSCode an IDE? I'm curious, what features do you use in IDEs that are missing in VSCode?

Re: Zed, a collaborative code editor, is now open source

#356
post #77

I hope this leads to Zed being ported to other platforms (Linux, please!)

Speaking of Linux, are there any other editors we can use today? I tried to look for one recently but couldn't find anything. (edit: I mean collaborative editors)

It's Mac but SubEthaEdit is collaborative.

Re: Zed, a collaborative code editor, is now open source

#357
post #340

Earlier quoted context omitted.

I’m really picky about my tools in general and latency in particular, and I give Zed a spin from time to time, it’s sweet. Clean, minimal design aesthetic, tree-sitter, tight code, it’s a nice bit of work and I dig it a lot. But emacs 29 with the right flags and a tuned GC (no one does this! it’s got a heap-size from the 80s!) is just as snappy and has more amazing packages than VSCode. There’s a market for people wh…

How do you get a reasonably fancy Emacs to start up/open files quickly? Every time I try to get into EMacs after adding a few packages it becomes painfully slow to open a file for editing. Then I try to understand Emacs server, then I fail / give up and go back to vim.

Emacs server is quite straightforward. M-x server-start in a running emacs, then emacsclient . emacsclient -c if you want to open the file in a new window, or emacsclient -t if you want to open it in your current terminal. C-x # when you're done editing the file.

Re: Zed, a collaborative code editor, is now open source

#358

Earlier quoted context omitted.

I think that is on the roadmap too, but possibly further down.

Is there some place I can subscribe to the Windows release notification?

Possibly https://www.google.com/alerts?

Re: Zed, a collaborative code editor, is now open source

#359
post #316

Earlier quoted context omitted.

> older editors that are doing syntax highlighting via regex. I mean, Emacs, which can probably be considered the oldest code editor at this point, got built-in tree-sitter (which is what Zed uses under the hood) support in the last release. So it's not really related to editors being new or old

It's not just tree-sitter that makes zed feel snappy. If you're using a reasonably fast language-server, which rust-analyzer apparently is (I didn't know this using vscode), the autocomplete & intentions feel instantaneous. I think the team has learned a lot from previous editor implementations (they were the core team of atom that was notoriously slow), and so they've had an opportunity to do a lot of stuff right. F…

> If you're using a reasonably fast language-server, which rust-analyzer apparently is (I didn't know this using vscode)

Some more anecdata to back this up: initial workspace load in VScode I can watch RA tick through its progress. Clean and boot up Zed and the same process is so fast that it’s almost unbelievable.

Post reply on HN