devpod
devpod copied to clipboard
Support for Zed
It would be very helpful if DevPod supported the Zed editor.
It's growing in popularity and now available for all 3 major platforms.
Hi @brandondrew, thanks for opening the issue. Zed definitely looks like a welcome addition to the IDE ecosystem and I'm personally excited to see their development. It'd be fantastic if we could add them as an IDE to DevPod. We're currently lacking a way of programatically opening a remote environment though, I've created a ticket over at Zeds repo for this purpose.
You can still use Zed with DevPod manually if you want to:
- Create your workspace with DevPod
- In Zed (Preview), start the
projects: open remoteaction - Click on
New Server - Select
Connect via SSH (default)and enter eitherssh $WORKSPACE_ID.devpodordevpod ssh $WORKSPACE_IDas the host - Zed should install itself into the container and connect your local instance to it
@pascalbreuninger Thanks!
Hey man, I've been trying first with the example from the vscode repo for a quick check. I get this
Even though I can ssh into it:
vscode-remote-try-python on main via v3.11.2 on (ca-central-1)
❯ ssh vscode-remote-try-python.devpod
vscode ➜ /workspaces/vscode-remote-try-python (main) $ cd .local/
vscode ➜ /workspaces/vscode-remote-try-python/.local (main) $ ls -a
. ..
vscode ➜ /workspaces/vscode-remote-try-python/.local (main) $ which gzip
/usr/bin/gzip
# Checking zed bin and glibc version
vscode ➜ ~/.local/bin $ ls
flask
vscode ➜ ~/.local/bin $ ldd --version
ldd (Debian GLIBC 2.36-9+deb12u8) 2.36
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
I am running ❯ zed --version Zed preview 0.157.2
Feels like its not sending the headless zed binary through ssh or maybe I just don't get it. Anyways, I know this is like preview/alpha stuff but since I am trying to get into devcontainers and really don't want to ever go back to vscode, if you have any idea of what I am doing wrong.
DevPod worked though, meaning I can still edit the file in zed:
And changes are reflected inside the container
vscode ➜ /workspaces/vscode-remote-try-python (main) $ python -m flask run --port 9000
* Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on http://127.0.0.1:9000
Press CTRL+C to quit
127.0.0.1 - - [10/Oct/2024 19:23:03] "GET / HTTP/1.1" 200 -
vscode ➜ /workspaces/vscode-remote-try-python (main) $ curl -X GET http://127.0.0.1:9000
<html>
<head>
<title>ZED</title>
</head>
<body>
<h1>Changed?</h1>
<p>Y</p>
</body>
We've just released v0.6.0 which includes support for Zed :)
@pascalbreuninger thank you so much!