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

Free and Open Source Software

17934 readers
60 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 34 comments
sorted by: hot top controversial new old
[–] [email protected] 25 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.

[–] [email protected] 3 points 4 months ago (1 children)

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

[–] [email protected] 2 points 4 months ago

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.

[–] [email protected] 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

[–] [email protected] 9 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.

[–] [email protected] 2 points 4 months ago

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

[–] [email protected] 9 points 4 months ago

No git tab still. Vscode > Zed for now.

[–] [email protected] 7 points 4 months ago (2 children)

What's with these crap posts using misleading info recently?

This doesn't look anything like a vscode alternative

[–] [email protected] 5 points 4 months ago (1 children)

Yeah this looks like more of an alternative to Sublime

[–] [email protected] 4 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

[–] [email protected] 5 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.

[–] [email protected] 3 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)

[–] [email protected] 4 points 4 months ago (1 children)

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

[–] [email protected] 7 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

[–] [email protected] 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.

[–] [email protected] 3 points 4 months ago

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

[–] [email protected] 3 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.

[–] [email protected] 0 points 4 months ago (3 children)

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

[–] [email protected] 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.

[–] [email protected] 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

[–] [email protected] 2 points 4 months ago

Wow thanks shell pal

[–] [email protected] 0 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.

[–] [email protected] 0 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.

[–] [email protected] 0 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 😄

[–] [email protected] 1 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.

[–] [email protected] 2 points 4 months ago (1 children)

👀 (to both of those statements)

[–] [email protected] 2 points 4 months ago

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

[–] [email protected] 2 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.

[–] [email protected] 1 points 4 months ago (2 children)
[–] [email protected] 4 points 4 months ago (1 children)
[–] [email protected] 1 points 4 months ago

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

[–] [email protected] 1 points 4 months ago (1 children)
[–] [email protected] 0 points 4 months ago (1 children)

Dunno, never been a fan of Atom.

[–] [email protected] 2 points 4 months ago

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