Cervajz

Cervajz

Code at the speed of thought

Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter. It’s also open source.

Stay in Flow

Productive coding starts with a tool that stays out of your way. Zed combines the power of an IDE with the responsiveness of a lightweight editor for productivity you can feel under your fingertips.

Engineered for performance

Zed efficiently leverages every CPU core and your GPU to start instantly, load files in a blink, and respond to your keystrokes on the next display refresh. Unrelenting performance keeps you in flow and makes other tools feel slow.

Intelligence on tap

Save time and keystrokes by generating code with AI. Zed supports GitHub Copilot out of the box, and you can use GPT-4 generate or refactor code by pressing ctrl-enter and typing a natural language prompt. Interact with the model conversationally without switching context in the built-in assistant panel, then reference your conversation during inline generation.

Language-aware

Zed maintains a full syntax tree for every buffer as you type, enabling precise code highlighting, auto-indent, a searchable outline view, and structural selection. Zed also speaks the Language Server Protocol to provide autocompletion, code navigation, diagnostics, and refactorings.

Connect with your team

With Zed, multiple developers can navigate and edit within a shared workspace. This makes it easy to have nuanced, real-time conversations about any part of your codebase, whether the code in question was committed last year or hasn’t yet been saved to disk.

A virtual office for software teams

Channels are spaces to discuss, plan, and write software with your team. Each channel has a shared document for taking notes and tracking projects, and channels nest in a hierarchy to keep you organized. Share projects with the channel and use audio or text-based chat to engage collaborators in real time.

Work with code on any machine

When you join a teammate’s project, you can navigate and edit as if the code is on your local machine. Open any file, type with low latency, and interact with language servers. It all works seamlessly, whether you’re working with someone at the next desk or on a different continent.

Navigate together

Jump to a teammate’s location and follow them around the code, then switch roles and have them follow you. It’s a great way to review changes or help a new teammate get oriented in your codebase. You can also use the built-in screen sharing to follow someone outside of Zed to view documentation or experiment with an app in development.

…and more:


Zed editor newly supports HEEx templates (v0.91.3) :slight_smile:

I was waiting for this one to give it a proper go - as an alternative to IntelliJ IDEA :sweat_smile:

Anyone using the editor for daily development? Share your experience!

Showing Posts 52 to 43

cleaver

cleaver

Unfortunately, I’m no longer using Zed. The configuration seemed like a bit of a moving target–I think these were new features at the time. Hopefully, it’s more stable now.

neurodynamic

neurodynamic

Ohhhh, nevermind, it is working in .heex files, just not in ~H sigils.

neurodynamic

neurodynamic

Did you have to do anything to get the changes to take after editing the extension file? I’ve been trying to get this solution to work and none of the file changes to the extension seem to do anything.

cleaver

cleaver

Correction, I ended up having to add the "tailwindcss-language-server" to the language servers. I’m almost certain it was working at one point but maybe it was just copilot. It seems to be not all that stable or consistent at this point.

cleaver

cleaver

I just added HEEX to the sections:

[language_servers.emmet-language-server]
language = "HTML"
languages = ["HEEX", "HTML", "PHP", "ERB", "JavaScript", "TSX", "CSS"]

[language_servers.emmet-language-server.language_ids]
TSX = "typescriptreact"
HEEX = "heex"
HTML = "html"
PHP = "php"
JavaScript = "javascriptreact"
CSS = "css"
ERB = "eruby"
MatijaL

MatijaL

Could you please share your Emmet settings here?

cleaver

cleaver

Just a note to those trying Zed a more recently who are also using TailwindCSS. I started using Zed a few days ago and did NOT have to add tailwind to the Elixir and HEEX language settings. It worked right away.

Here’s my language settings in case it helps:

  "languages": {
    "Elixir": {
      "format_on_save": {
        "external": {
          "command": "mix",
          "arguments": ["format", "--stdin-filename", "{buffer_path}", "-"]
        }
      },
      "language_servers": ["next-ls", "!elixir-ls", "!lexical"]
    },
    "HEEX": {
      "format_on_save": {
        "external": {
          "command": "mix",
          "arguments": ["format", "--stdin-filename", "{buffer_path}", "-"]
        }
      },
      "language_servers": ["next-ls", "!elixir-ls", "!lexical"]
    }
  },

However, I DID run into problems with using Emmet in HEEX and it required this not so elegant solution:

Eiji

Eiji

Not fixed? From what I have read it’s DNS problem, right? Why others should care that you locally or your local provider blocks some domain? I’m using Plasma 5 and changing DNS Server setting is very easy. Just change it to 1.1.1.1 and you would not have such strange problems.

Think that you would force all Wikipedia users to move all their work on the other server as one or few countries have blocked Wikipedia. It’s not a serious request. You can change DNS yourselves as you use VPNs to avoid censorship. I don’t see any problem here.

soyjeansoy

soyjeansoy

Edit @Eiji is correct, it’s DNS problem. Kindly ignore my post.

jotavio

jotavio

I also was needing this so I tried to implement it in Zed’s elixir extension but currently there’s some limitations. I created an issue for that to get some help about how to implement it :slight_smile:

https://github.com/zed-industries/zed/issues/14278

Where Next? Top

Trending in Dev Env & Tools Top

tomekowal
Hey! I’ve found, reproduced and made a fix for a mildly annoying bug in Renovate. It created redundant ~> 0.x or 0.x+1 in mix.exs, e...
New

Other Trending Topics Top

mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
webofbits
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself. My main conc...
#ai
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews