Zed - The 'Visual Studio Code Killer' - Now on Linux!
Vložit
- čas přidán 23. 08. 2024
- Looking for an alternative to Visual Studio Code that's written in Rust and focused on performance? Zed might be the perfect choice for you... except that it is Mac OS only. Well, it WAS Mac OS only... Now Zed is available on Linux! (It's also available on Windows, but you have to build from code).
Links
gamefromscratc...
-----------------------------------------------------------------------------------------------------------
Support : / gamefromscratch
GameDev News : gamefromscratc...
GameDev Tutorials : devga.me
Discord : / discord
Twitter : / gamefromscratch
-----------------------------------------------------------------------------------------------------------
Links
gamefromscratch.com/zed-editor-now-on-linux/
-----------------------------------------------------------------------------------------------------------
*Support* : www.patreon.com/gamefromscratch
*GameDev News* : gamefromscratch.com
*GameDev Tutorials* : devga.me
*Discord* : discord.com/invite/R7tUVbD
*Twitter* : twitter.com/gamefromscratch
-----------------------------------------------------------------------------------------------------------
Available on linux and you have to build for windows. What strange time we are?
at least this,is normal.
Coming from Mac only support that's kind of expected though. At least they have some parity in package management. For windows they'd have to create a GUI installer and have their name and program be signed (just like for Apple) but they're not interested in Windows so they just release the source for people to build themselves and are apparently not planning on truly supporting Windows.
@@stysner4580 that's why it will never be the "vscode killer" that people are hyping about.
@@androth1502 True, but they've never said themselves that that's their goal. Fair enough, to me at least.
@@stysner4580what are you talking about, i mean yeah the macos->linux->win path is logical and expected, but they literal say they windows is not YET available, also win doesn't mean gui installer, a simple winget install zed that installs an silent msi would be even better than a crappy gui installer
Missed opportunity to call it "Zeditor."
Amen. 💯
It’s Linux package name is zeditor
I'm pretty sure the name is based on "ed", the classic Unix (now Linux or BSD) editor; so "Zed" would be a play on that just like the "Sed" and "Red" programs are. I gotta admit it's a pretty freakin' niche joke, though.
@@micmacha also Z in French pronounces Zed. Pretty sure it's related because the logo is a Z.
it's name it's actually zeditor
I like Zed, had to do a manual build of it on Windows. It was relatively painless to do. Nice to see that there is a build on Linux now.
Same. Been using it on Windows 11 for about a week. I like it so far.
I ain't building shit I'll stick to a industry standard editor thanks
@@CZcamsrUser002 Zed has just been released on Linux officially. Still waiting on official release of Windows.
The build process is really not bad at all. Takes about 10 minutes to build on my Windows machine and works like a charm.
I expect within the next year, they will have an official windows build though.
@@CZcamsrUser002 have you never built anything? how long have you been a programmer?
@@CZcamsrUser002 r u even a programmer? Also, it's literally rust based, so no issues about dependence management if you already got a rust toolchain working well.
VS Code: Your change will be applied in 40 milliseconds.
Users: 40 milliseconds? But I want it NOW!
The entire selling point is that it's the "fastest" text editor, but which text editor isn't fast?
therapist: you're never going to be good enough for them Vee .... run away with me!
VS Code: gasp* This is highly unethical
Finally. I've been waiting for the Linux version for 13 months.
Fun fact, I am the one who helped port the preview versions to Linux and NixOS. They send me stickers and a sweatshirt for the help.
being a slave worker isn't my idea of fun.. i value my time
How much work you put into it and how many stickers you got in exchange? I probably can get you a job where you can work for double the amount of stickers and do something more interesting at the same time. Also, if you have friends that work for stickers too, I can give them a job too. 🤣
Hey, thanks for making news related to Linux :)
My Winblows machine crapped the bed this week so I've moved over to a Linux box I put together a bit ago, what fortuitous timing
Every time I hear "such and such killer," I roll my eyes. People use multiple IDEs, including Vim and Emacs, which by all predictions should've been obsolete years ago. They're going to keep using VSCode, too, until there's a very convincing reason to abandon it.
Unfortunately being a Something Something Something Killer is easy short hand to describe something competing against something that's popular. A text short hand to describe a product
@@gamefromscratch more of a click bait ;)
It made me click on the thumbnail, so I admit it works.
@@gamefromscratch Or a click-bait way of getting people to watch your CZcams video. We're not idiots here...
Oh vscode killer , 😅
An Emacs killer does not and imho will never exist; and if Emacs can't kill Vim nothing can. Somehow Nano is still extremely relevant, so until one of these editor guys figures out how to tie into the CLI side of things they probably won't be more popular than VSCode even on Linux due to mindshare and lack of necessity.
2:26 I was so ready for that "by the way" to end with "I use Arch", ngl 😅
i never understood the meme because arch is the worst rolling distro around
I use Arch Btw
glad to see them finally give the development tool to developers. Edit, in all seriousness all I need in an editor these days is remote shells, workspaces, and compilation helpers, and most of those things start on the underlying system anyways. I've been looking at Zed from afar for a while, so this is all good news. With time any editor's extension library can grow with usage.
Its worth noting how good the collaboration mode is in Zed.
Ive used it to work on a 2 week university project with 2 other people. The collaboration mode was incredibly stable and predictable compared to anything I've tried before.
3 people can edit the same line, do a few undos along the way, and the end result will actually make sense.
The only problem as of now is that you cant share a terminal so we went back to good ol' ssh + tmux
I’ve been using Zed for a while now. Initially I was concerned that the lack of extensions would be limiting but to my surprise I actually found it quite liberating. My editor feels so much more responsive (which I didn’t realise I would care about but turns out I do) and so much less cluttered. It’s getting to the point now where I am actually recommending it over VSCode for some use cases. In my view, the main limitation it still suffers from is support for dev containers.
It's great to see an alternative for visual studio code. Hope to see more stuff like this. Keep it up.
Vscode has always been super laggy, often times unusable even, with intellisense in the godot engine source code. The fact that zed us picking this up is a lifesaver.
The state of autocompletion in VS Code is a bunch of band-aids. Hopefully, Zed can serve better!
yes, i always need a light sidearm code editor for shit programming.
I don't get how people are finding vs code supper laggy? I am using it on 8 year old linux laptop from inside of docker container and don't notice it. Main thing that draws me back to VS code is dev containers. It is just so easy for someone joining to project and say just get docker, install vs code and dev containers plugin for it and you are good to go. All required components have been installed into devcontainer and you can just start contributing to project. You can also spin up minikube cluster if you want something more than just app and database.
Exactly. Even if VSCode were to remain king, the completion might incentivise Microsoft to improve those aspects
For people on Windows that want to give it a try, on the docs it tells you how to build it yourself, but also tells you how to get a binary from MSYS2 (I had never heard of this software before) and it's a 5 minute process depending on your internet of installing MSYS2, running a command to update and then another command to install the zed binary. As of this comment, the version of Zed you get from doing this is 0.142.6 (the current version for Mac/Linux seems to be 0.143.6).
How's the memory footprint? Apart from speed, my biggest selling point for Sublime (and SublimeMerge) is the remarkably low memory footprint. I can have a whole bunch of instances of it open, and it only still takes about 200k or 300k Mbs memory. My potato likes that a lot.
I wonder how Zed compares. (I don't have linux or mac)
It seems pretty good to me! Quick to launch and more full featured than Sublime Text. Runs on an intel N4020 on a laptop I found on Amazon for 160 bucks
66MByte on linux for me. And starting really fast. But rust analyzer eats 1.5 GByte (like on VSCode)
Could you do a video on how you can integrate Zed into the Godot workflow? I mainly want to see how it's done on Linux.
Thank you:) I will probably change to Linux in 2025 because of the recall function in win 11, so good to know!
Why wait?
@@lpnp9477 I guess it is kind of hard for me and I still have hope. I just always used windows when I was younger so it's familiar and I like it pretty much (not Microsoft though).
Windows is dying. Why wait until windows has finally died when you can update now?
Really? Why
Don't wait. Grab an ISO right now, you will never look back
Really gotta wonder what Microsoft is doing forcing so many people to switch to Linux as their only option come October 2025... seems like they want the year of the Linux desktop as much as I do!
It's easy to be fast when all you're offering is "fast". I'll wait till it serves as many user's diverse needs as vscode does.
Lmao, you really dont need that many diverse needs actually.
@@samuraijosh1595 I don't. But when lot's of people start using a product they all bring in their own diverse set of needs that are ever so slightly different from the last inevitably making a long list of requirements that any popular software will eventually need to support or lose the battle to someone else that will.
What about extensions? I want to add integrations to already existing tools like possible with vscode. Verilator for example, and other tools related to it. Even PlatformIO is a great example of extension that makes embedded coding so much easier (not compared to arduino ide mind you, compared to kconfig, makefiles, yocto, etc)
You always have the best software to showcase imo.
Thank you for letting us know about all these cool software and addons 🎉
I tried it and it currently has 2 deal breakers for me: It doesn't have a minimap and syntax highlighting breaks after ~4000 lines of code
edit: also doesn't reload open files when you change the git branch
if you have a single file of code thats 4000 lines of code i think you have bigger problems going on buddy
@@Yamartim I'm a game dev, we have files that are more than 20kloc.
It's just the nature of the beast
Well theres probably no way to fix that now, this is a treesitter issue
@@insu_na just use metaprogramming. Unless all that code is actually unique in which case you can almost certainly break it down further. No file *should* ever be 20kloc. 4k is already very much pushing it. I find very rarely in a file I feel is well designed do I even exceed 1k LOC, and then it's usually for API flexibility where we can't use abstractions and metaprogramming we'd like for clarity and backwards compat reasons.
@@Firestar-rm8df No. Have ~2M LOC per project. We'd rather deal with large files than with an incredibly fractured code base.
There are a lot of stuff I like from Zed.
There are a lot of different stuff I like from Lapce.
I would have love if instead of doing both editors from zero, they would have colaborated more into a single super editor
Lapce has so much potential, hope it doesn't get abandoned
I've tried Lapce twice. The first time it crashed and deleted an open file. It didn't corrupt it, it didn't make the OS whine, it straight up yeeted it. The second time I tried it (2 weeks ago) it crashed immediately upon opening the program. I tried a couple versions prior, same thing.
Lapce is really, really untrustworthy.
@@stysner4580 No idea, I've used it on Linux as a Flatpak with no issues, might be Mac or Windows related, and if it's the latter, well, at least it runs on Windows.
And that is how it works, just open source, and the programs explode, and people make miracles, this is a strange situation lol, for winning from source, Linux and Mac are very similar you can believe, on Mac, you don't have access to kernel etcetera, but mac is unix, the Linux is typed unix, better unix, that is the other story....This program someone looks like junk, but I make Android apps in Visual Studio code in reason for that is faster from android studio, and now i must try this, good job like always to find out for this, very good video!
58ms to handle a key press and draw a character? games have to do their entire thing (handle input, draw 3d stuff, ai) in under 16ms to get 60 fps at least, and these guys are also using the gpu
Yeah and normally if is 2D game u can get that done in 1ms depending on the computer.
what do you mean? that this is still not fast enough??
@@samuraijosh1595 that it is nothing to brag about, the input performance is below average, VSCode is just that extra horrible that it makes it look good
For now I'll stick with VS Codium but I'm glad to see more applications supporting Linux. Looking at you, Affinity.
From what I can see, it does not have support for C# (so no Unity development). Is that on the roadmap, or are we just forever left with VSCode?
Edit: C# support exists, but no unity support for now?
I don't know what makes unity support different than regular C# support, but if it's like Sublime Text, you could make some custom build commands?
Yep, nothing even remotely close to what you get with Visual Studio or the official Microsoft-developed Unity Extension on VS Code. One of Unity's talking points at Unite, IIRC, was better editor integration down the line, so hopefully that means we'll have a Unity-developed way of easily working in whichever editor we choose.
@@ar_xiv I just checked, and simply installing the C# package doesn't enable unity-specific autocomplete. This usually requires a separate extension in VSCode and Eclipse, and I think in Sublime as well.
@@octia2817 In a lot of cases if it's just API calls, you can get decent autocomplete by just including source files for the API in your project.
Firstly, not having Unity auto-complete isn't a dealbreaker... you can always read up on the documentation and make do without it.
Secondly, Zed is open source, so I'm sure someone somewhere down the line WILL make an extension for it.
I'm excited to try Zed at some point, but it'll take a while for its ecosystem to catch up (if it ever will, given that Electron apps tend to be really easy to extent due to their use of Web tooling). Maybe they can do something like Typst, where extensions are provided as WASM binaries, allowing developers to choose whatever language they prefer.
Did you do a video on Pulsar? The successor to Atom after Atom was sunset by Microsoft?
Yep
Been using it for months and switched almost completely to it. It's really awesome. Fast, effective, highly configurable, can use local LLMs instead of CloseAI. Just awesome.
awesome! cant wait for zed becoming even bigger and better. :)
JetBrains released their own supposed "VSCode killer" - nothing happened, can't even remember the name
Lapce started development - never left Alpha
Zed, another supposed "VSCode killer" - doesn't support 90% of desktops (building from source doesn't count), AI features support Copilot only -> useless
I never thought I would be that guy who is resistant to change, and I assume that I would have a first class experience running from a Mac, but I am just so used to my Neovim setup that I don't even want to try lol. I want my Telescope + extensions, Flash, eyeliner, etc. Maybe one day, but not any time soon.
I think many of us don't need those features in VSCode though with the absolute myriad of extensions to fulfill basically every need. I do all my professional work on Linux VMs from a Windows host using the excellent VSCode Remote SSH extension that lets me run it natively (where it is very fast) while doing work on the remote Linux host(s).
Dont you feel vscode is slow especially in moments where you jam it with a bunch of keys and it takes too long to recover from key input gangbang
@@samuraijosh1595 honestly no, not really, and my Windows host is a not-especially-powerful laptop. Do you commonly jam your IDE with “key inout gangbang” rather than typing coherent code? :P
Zed's vim mode is really solid, compared to the VScode extension, I like vimming it up and saving my laptop battery! Great editor for my hobby code, though some behavioural differences make it not super for my job...
Windows support?
It has it but you need to build it yourself.
Yes we are so baaack! ❤
To be the vscode killer any IDE will have to provide a plugin eco system.
IMO this is the main reason for the success of vscode.
The plugin system ensures that this editor can support any current and future language.
Awesome update. Thanks!
What is missing for me at the moment is support for DAP, as I am using debuggers a lot.
What's the point of making all these editors when we have vim?
What's the point of making all these editors when we have MS Word?
It's broken for me, it constantly uses 100% cpu :/
Same here
This is the first app that comes second to Linux rather than windows I appreciate it...❤
I think VSCode/Codium is one of the best examples of using Electron. You have wide extensibility while not hugely sacrifice performance. I would take that every-day. Great try but a lot of people stick with VSCode/Codium as it does it's job. To bring people in new editor it should be something on another level rather just editing text.
t's also available on Windows, but you have to build from code; the other ones are built out of thin air, Apple magicmouseor ... ?
Idk what feature will kill a code editor but im pretty sure it should be something like Github's Copilot
Still doesn't have git integration...😔
Thanks for letting us know. 👍
Does this work on WSL2? I tried, but it doesnt open. Anyone have any clue?
There's too much that could be the issue there. If you properly set up the system it should be exactly the same as running it on Linux "natively". If you run without GUI it's open but you can't see it. That's a WSL2 quirk.
@@stysner4580 yeah I think you're right, it's running, but without GUI. And I just saw that the GUI uses Vulkan, plenty of things could be the issue, though I do have an AMD GPU lol. I guess I'll just wait for the Windows support to arrive.
@@ishaanmalhotra3008 Having an AMD GPU or not doesn't matter at all for Vulkan.
Ah nice, Zed suddenly becomes much more interesting to me. 😊
I installed Zed a while ago but I eventually go back to Sublime text because it does not remember unsaved files. This is a deal breaker for me. Not sure if this is a feature now for Zed.
Does this support custom plugins? If so, what's the language? Lua?
this is huge, rust realtime syntax highlighting 🎉🎉🎉
Been using zed off and on for 2 months on Linux, good for being easy to use.
I was attempting to try out Zed on Void Linux but it seems a dependency may be missing. It doesn't tell me what it is. cannot execute: required file not found
I use mainly VSCode with Unity, but I've been using Zed on and off for Rust and Go development in the past couple of months and I gotta say it has a lot of potential. It won't be a VSCode killer, but it can be a worthwhile alternative.
They should have called it "zap"⚡ Because speed is what they chased down the line
I'll move from IntelliJ or WebStorm when Zed can debug as those IDEs can (Java and Javascript)!!
Until then, it's just an Editor on steroids!!
oh wow thank you for showing us this
wow, they managed to support POSIX, even though they started from a POSIX OS.
I really want to try Zed. Unfortunately, the unstable nixpkg version runs my CPU up to 90% on NixOS. Happens in both Wayland and X11 DEs/WMs. :( Haven't gotten around to terminal debugging it yet.
Good to see another ide showed up.
But the problem is that it doesn't have any eco system like vscode does.
Yes vscode is lagging crap, but it has zillions of plugins, without which working is a pain in the ass.
1:30 btw, just wanna throw in there the fact that vim is even more lightweight and faster then zed lol
And neovim is even faster then vim, as luajit is order of magnitude faster then vimscript. (Although the code is still all in C, but for things like plugins which are written in lua/vimscript the difference is noticeable)
I don't care about the pros and cons, it just looks cooler
Would this work if I use Intel CPU with integrated graphics?
I installed it on my Debian 12 laptop and didn't find it particularly fast. Although it opens quickly, the linting is extremely slow when writing code. My laptop is a 10-year-old Lenovo, but I don't encounter this issue with VSCode, aside from its slower startup time. I installed zed using the curl command from the website, so do i have to do something more to see the performance of it?
The linting functionality is not provided by zed itself, but by a language server. Language severs are not developed by the Zed team, and they are generally not implemented in Rust or something like that. So the performance depends on which language you use and which language server of the language you use.
I tried to install it on Arch, never opened, in any way it opens so, bye Zed
Is Zed better and easier to use than geany?
Vs code? What's that? Is that a new neovim plugin?
Scrolling code in Zed on Linux is a pain... so lag right now!!!!! VS Code for Linux is better for the time being!
I was waiting for this day
Hope, they'll add proper Debugger support soon.
already working on it for more than a week .... its good :)
It's just a sublime clone. People were too groupish to understand Sublime was always better than vscode. Zed is probably not even as fast as Sublime.
just tried it on arch. can't open project or sign in. kekw I believe I just have a skill issue though
yes i tried it recently, been using it since. I like it, but needs the plugins and customization of vscode
if it uses GPU, does it mean it will consume my already shit laptop battery?
ngl, their website has something cool to it.
Does it have LSP support?
Yes
Oh so what people don’t like about electron is performance? Can’t say I ever noticed performance problems in VS Code though.
you wont notice if yiu havent used faster editors like neovim, sublime, etc.
Can we install it in WSL?
it need gpu?iam ask
I had waited for ages to have the language servers I needed on vs code, I'm not going to redo that once again.
BTW why zed needs my password when launched the first time??? Oo
thanks for informing.
yes it is miles faster than vscode and jetbrains editors but not even close to terminal based in neither in user speed nor in apps speed i could see milisecond diffrences in neovim and zed yes not much and i dont even care its not meant to fight neovim its an good editor and i think it will hvae a good place in the space and a possitive effect at whole but i just cant leave my neovim
Wonder who are these programmers who switch editors every now and then.
It looks pretty, but in its current state it's kind of bare bones. Not sure if the measure of its success should be if it will kill another editor.
Hi all did anyone tried in machine without graphics card for Linux?
I have Ubuntu with 14 GB Ram plus HDD and no graphics card will this be good ?
i want to make a editor unsic c 95, c++ and rust. so that with c fast execution and c++ smart pointer when i need to manually manage memory for certain task and rust for like majority things memory, some backend. also c++ is much good for gui development.
This is funny, I was checking if Zed was on Linux two days ago, and they released it the next day.
I used it sometimes for work, mostly if I need to find/replace a string of text in an huge environment. VS Code freezes my computer for several minutes, by Zed does it instantaneously.
Aside from that, the lack of plugins doesn't make it very useful for my real job, but I figured it's only a matter of time before it get Godot support.
Vs code is lagging for me while saving files, says writing into 'file.js' for like 1 minute until the file is really written to disk
@@harshnj this is the real issue. its not that vscode is noticably slow for the average dev. it's just when it lags or crashes its a pain in the ass to get it to recover.
@@samuraijosh1595 exactly! Using zed for a few days now for all of my projects, and I just installed live-server globally via bun, and live-server extension not needed! I still miss file icons and most of the extensions, and they will be here at some point.
Its probably nice but in what way is it better than vim?
None!
Or you can check out Lapce which is also written in Rust but has worked on windows and linux from the start and doesn't come come with all the AI jank built in
selecting text has some issues though
not working on manjaro :/
There will always be Vim and if emacs and nano can't kill Vim, nothing can
Emacs is my favorite way to run Vim.
Zaddy made his way to Linux😩😩😩
Nope, I still get the bug of being unable to open the file dialog to open a project. I run ubuntu 22.04 and zed can't select a folder on my system.
Are the folders editable by the current user?
@@stysner4580 I installed the app through the script given by the web site. And I ran Zed from my home directory. The thing is, pressing ctrl+O or clicking on the "open project" button doesn't do anything. But maybe I should try removing all previous config files from Zed when I built it from source.
Edit: no, even deleting .config/zed folder didn't help.
I’ve used Zed. It is not going to kill VS Code. It was so bad when I used it I went straight back to vanilla Vim.
I’ll give it a go again, but six months ago it was awful.
Because VS Codé isn't performant ? Look at people that did actual tests. There is hardly a difference, except a huge lack of features.