this post was submitted on 10 Jul 2024
92 points (100.0% liked)

Free and Open Source Software

17957 readers
151 users here now

If it's free and open source and it's also software, it can be discussed here. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
 

cross-posted from: https://jlai.lu/post/8476122

Zed on Linux is out!

top 37 comments
sorted by: hot top controversial new old
[–] davehtaylor@beehaw.org 39 points 4 months ago (2 children)

Might be neat. Might check it out. But devs really need to stop asking me to install things by curling a script and piping it into my shell. There are better ways to do this. Doing this leaves a massive possible attack surface.

[–] erwan@lemmy.ml 4 points 4 months ago (1 children)

No matter how they package it, running a binary downloaded from Internet has the same attack surface

[–] tesseract@beehaw.org 5 points 4 months ago (1 children)

You are right, except for one detail. Package managers almost always validate the packages using digital signatures, to avoid man-in-the-middle attacks. You don't need to trust the network anymore. Shell scripts piped to a shell don't have that protection. You still have to trust the developers and maintainers, though.

[–] msage@programming.dev 2 points 4 months ago

Shell scripts have md5 signatures

[–] shaked_coffee@feddit.it 1 points 4 months ago* (last edited 4 months ago)

~~Agree. Not at all a security expert here, but maybe doing it inside a distrobox could be a temporary fix?~~

Forget it, I just tried and it seems it gets installed in your home directory so using distrobox doesn't change anything (apparently, but as I said I'm not an expert so feel free to correct me if I'm wrong).

However, I've seen they also have it available through a bunch of package managers like nix, arch and Fedora

[–] 1984@lemmy.today 11 points 4 months ago (1 children)

It's not really an alternative yet, it's in alpha versions....

But I think it will be great in a year.

[–] Auzy@beehaw.org 2 points 4 months ago

I gave it a test.. I'm personally missing a markdown preview extension, and FIXME highlight extension

[–] syd@lemy.lol 10 points 4 months ago

No git tab still. Vscode > Zed for now.

[–] Auzy@beehaw.org 10 points 4 months ago* (last edited 4 months ago) (2 children)

What's with these posts using misleading info recently?

This doesn't look anything like vs code.

The only similarity might be they're both ide's

[–] DmMacniel@feddit.org 10 points 4 months ago (1 children)

Uhm yeah both are text editors trying to pass as an IDE. And alternatives don't have to look alike either.

[–] Auzy@beehaw.org 5 points 4 months ago

Well.. I just tested it.. And actually it seems closer than I thought..

I have no idea though why they used screenshots without a project pane and such. It supports extensions and such too..

I can't see a FIXME Extension though that highlights it yet though.. Or a markdown preview extension (which I definitely need)

[–] davehtaylor@beehaw.org 7 points 4 months ago (1 children)

Yeah this looks like more of an alternative to Sublime

[–] Auzy@beehaw.org 8 points 4 months ago

Actually.. I just did install it.. It actually does have a lot of similarities to VS Code.. I have no idea why they used photos in the blog without the project pane. But it also seems to support extensions and such too

[–] ericjmorey@programming.dev 7 points 4 months ago* (last edited 4 months ago) (1 children)

I'm on the Neovim train and I'm not getting off at this junction.

But more high quality choices is a good thing.

[–] xilliah@beehaw.org 2 points 4 months ago (4 children)

I'm using Rider and considering to switch to something like Vim. Any recommendation for me on where to start?

[–] DarkNoul@feddit.nl 3 points 4 months ago

Try LazyVim

[–] smiletolerantly@awful.systems 3 points 4 months ago (1 children)

I had multiple failed starts with (n)vim, always getting frustrated way before I had a usable setup, until I just used NvChad. It's basically a preconfigured version, with all the plugins, keybinds,... you could probably want.

It gave me something usable right out of the box. I continued tinkering with it for almost two years before moving on to my completely custom configuration.

IMO the people that say you should start with bare (n)vim in order to learn everything from the ground up are delusional. There's no reason you can't learn all that stuff after you've actually experienced how nice the entire thing can be.

[–] xilliah@beehaw.org 1 points 4 months ago (1 children)

I'll be using it with c# and unity. I don't care about debuggers, or starting the project from the IDE. I imagine there are plugins that hook it up to the c# language server?

I'm planning to learn Rust, so I might also just get started with that plus nvChad. Then I keep using Rider for my daily work.

[–] smiletolerantly@awful.systems 2 points 4 months ago (1 children)

Yeah, getting LSP + Linter + Formatter for basically any language set up is very straightforward with NvChad.

Debuggers/testing framework can be a little more work, but if that's not required for you, all the better :D

I bet there's also plugins available that help with integrating Unity and nvim (I know there are for Godot).

Good luck, and have fun with this rabbithole 😄

[–] xilliah@beehaw.org 2 points 4 months ago (1 children)

Why does this feel like you've just given me some free heroin to try?

And unity doesn't need integration. It automatically integrates itself into anything. It'll just put a popup window right in the middle of the screen that you can't get rid of without killing it. It'll tell you something too private that you didn't really want to know. Eventually, while coding, it will just bring itself entirely to the front. Alt tab won't work.

[–] smiletolerantly@awful.systems 2 points 4 months ago (1 children)

👀 (to both of those statements)

[–] xilliah@beehaw.org 2 points 4 months ago

Sorry that just had to get out one way or the other 😜

[–] IrritableOcelot@beehaw.org 3 points 4 months ago

Start by running vim and typing :vimtutor. You might have to install the vimtutor package. Its a good way to learn. Once you're through the vimtutor tutorial you should be good to go, you'll get better over time. I second recommending neovim over original vim. The command is nvim to start once installed.

[–] ericjmorey@programming.dev 2 points 4 months ago (1 children)

A couple of months ago I wrote up some instructions for someone that was trying to make the switch to neovim. They reported back that it was helpful.

Check it out:
https://lemmyverse.link/programming.dev/comment/9552694

[–] xilliah@beehaw.org 3 points 4 months ago

Wow thanks shell pal

[–] onlinepersona@programming.dev 7 points 4 months ago* (last edited 4 months ago) (1 children)

Why is zed so popular? What am I missing? Looks like just any other editor...

Anti Commercial-AI license

[–] NotSteve_@lemmy.ca 9 points 4 months ago (1 children)

It's really fast, has nice vim keybindings and has the potential to be a great open source VSCode alternative.

I don't use it yet since it doesn't have a built in Python debugger but I've been watching it closely. I really want to switch to it someday soon

[–] Lemongrab@lemmy.one 2 points 4 months ago

VSCode (or the base app used by it) is open source (see: VSCodium). It has a similar relationship to Chrome and its base Chromium, where assets and tweaks are added to brand the product. You may have been trying to say "a great open source, VSCode alternative" and I misunderstood. Just commenting to remove ambiguity.

[–] t3rmit3@beehaw.org 4 points 4 months ago* (last edited 4 months ago)

built from the ground up in Rust with a GPU-accelerated renderer

I don't want GPU-accelerated rendering, I want a renderer that has a solid 5 second lag, to make it look to anyone around like I type faster than 20 wpm.

[–] DmMacniel@feddit.org 4 points 4 months ago (2 children)
[–] Zedd00@lemmy.dbzer0.com 6 points 4 months ago (1 children)
[–] DmMacniel@feddit.org 3 points 4 months ago (1 children)

But... Marcellus Wallace went full medieval on your ass?

[–] Zedd00@lemmy.dbzer0.com 1 points 4 months ago

That was all just good fun

[–] mhzawadi@lemmy.horwood.cloud 1 points 4 months ago (1 children)
[–] DmMacniel@feddit.org 1 points 4 months ago (1 children)

Dunno, never been a fan of Atom.

[–] mhzawadi@lemmy.horwood.cloud 2 points 4 months ago

I use and keep kicking my work colleagues with the fact pulsar seems much better at being an IDE

[–] t3rmit3@beehaw.org 3 points 4 months ago

Every time I try a vim alternative, I get frustrated and just end up back with vim.