[{"data":1,"prerenderedAt":323},["ShallowReactive",2],{"blog-post:\u002F2025-03-25-zed":3},{"id":4,"title":5,"body":6,"description":314,"extension":315,"meta":316,"navigation":318,"path":319,"seo":320,"stem":321,"__hash__":322},"content\u002F2025-03-25-zed.md","Zed Editor",{"type":7,"value":8,"toc":297},"minimark",[9,29,35,40,45,48,51,64,67,71,74,77,113,127,138,141,148,152,163,166,170,177,184,188,191,231,235,239,245,251,256,260,270,273,283,287,294],[10,11,12,13,17,18,24,25,28],"p",{},"A few days ago I tried ",[14,15,16],"strong",{},"Zed"," (",[19,20,21],"a",{"href":21,"rel":22},"https:\u002F\u002Fzed.dev\u002F",[23],"nofollow",") — a code editor written in ",[14,26,27],{},"Rust",".",[10,30,31,32,28],{},"Here are some things that immediately stood out ",[14,33,34],{},"right out of the box",[36,37,39],"h2",{"id":38},"built-in-features","Built-in features",[41,42,44],"h3",{"id":43},"collaborative-mode","Collaborative mode",[10,46,47],{},"Zed has a built-in collaborative mode. You can share your local codebase with a teammate and work together in the same environment.",[10,49,50],{},"It works surprisingly smoothly:",[52,53,54,58,61],"ul",{},[55,56,57],"li",{},"you can talk via voice",[55,59,60],{},"follow what your teammate is doing",[55,62,63],{},"edit related parts of the code together in real time",[10,65,66],{},"It feels a bit like Google Docs, but for your local code.",[41,68,70],{"id":69},"ai-assistant","AI assistant",[10,72,73],{},"Zed includes an AI assistant that can be configured to use different modern LLMs.",[10,75,76],{},"I recommend watching the video on their homepage — it gives a good overview of how it works.",[10,78,79,80,83,84,88,89,92,93,96,97,100,101,104,105,108,109,112],{},"I experimented with running ",[14,81,82],{},"Ollama"," locally (",[19,85,86],{"href":86,"rel":87},"https:\u002F\u002Follama.com\u002F",[23],") to generate ",[14,90,91],{},"JSDoc"," for some of my functions. The only model that produced somewhat reasonable results was ",[14,94,95],{},"deepseek-coder",". I also tried ",[14,98,99],{},"gemma",", ",[14,102,103],{},"llama",", and ",[14,106,107],{},"qwen"," (both with and without the ",[110,111,110],"code",{}," variants), but they didn’t generate anything particularly useful.",[10,114,115,116,119,120,123,124,28],{},"Running LLMs locally turned out to be ",[14,117,118],{},"very resource-intensive",". It requires a lot of RAM, the CPU easily hits ",[14,121,122],{},"100%",", and responses can take ",[14,125,126],{},"several minutes",[10,128,129,130,133,134,137],{},"The main reason I tried running models locally is that many ",[14,131,132],{},"cloud AI providers don’t work in Russia",". I still haven’t gotten around to setting up a ",[14,135,136],{},"VPS with a VPN"," to use them instead.",[10,139,140],{},"Still, it was an interesting experiment.",[10,142,143,144,147],{},"Right now, Zed allows you to use its ",[14,145,146],{},"built-in assistant (based on Claude 3.5)"," for free because the feature is still new and currently being tested.",[41,149,151],{"id":150},"familiar-shortcuts","Familiar shortcuts",[10,153,154,155,158,159,162],{},"Zed ships with ",[14,156,157],{},"VSCode keybindings by default",", and you can also enable ",[14,160,161],{},"Vim mode"," if you prefer that workflow.",[10,164,165],{},"I’m not personally a Vim user, but I know many developers appreciate having that option.",[41,167,169],{"id":168},"multi-buffers-everywhere","Multi-buffers everywhere",[10,171,172,173,176],{},"One particularly interesting architectural idea: ",[14,174,175],{},"everything in Zed is implemented as text buffers",", including the built-in terminal.",[10,178,179,180],{},"More details here:\n",[19,181,182],{"href":182,"rel":183},"https:\u002F\u002Fzed.dev\u002Ffeatures#multi-buffers",[23],[36,185,187],{"id":186},"extensibility","Extensibility",[10,189,190],{},"Zed is surprisingly extensible.",[52,192,193,200,206,221,228],{},[55,194,195,196],{},"Most programming languages are already supported:\n",[19,197,198],{"href":198,"rel":199},"https:\u002F\u002Fzed.dev\u002Fextensions",[23],[55,201,202,203,28],{},"That’s not surprising considering the Zed team also created ",[14,204,205],{},"tree-sitter",[55,207,208,209,212,213,216,217,220],{},"Extensions for ",[14,210,211],{},"Vue"," and ",[14,214,215],{},"PHP"," work great. Navigation works well — you can jump to definitions, find references, and use ",[14,218,219],{},"multi-buffers"," to edit related symbols across multiple files.",[55,222,223,224,227],{},"A nice bonus: for PHP you can reuse your ",[14,225,226],{},"Intelephense license"," if you already use it in VSCode. That makes working with PHP much more comfortable.",[55,229,230],{},"Themes, icons, and other customization options are also widely available.",[36,232,234],{"id":233},"my-impressions","My impressions",[41,236,238],{"id":237},"pros","Pros",[10,240,241,244],{},[14,242,243],{},"Performance is incredible.","\nI can open a ridiculous number of files and nothing lags or freezes. Everything feels instant. It honestly feels like my brain starts working faster.",[10,246,247,250],{},[14,248,249],{},"Pair programming built in.","\nThis alone could be a big deal for teams.",[10,252,253],{},[14,254,255],{},"Highly configurable.",[41,257,259],{"id":258},"cons","Cons",[10,261,262,265,266],{},[14,263,264],{},"SVG support is still lacking.","\nYou can’t preview SVG files directly inside the editor yet. There’s an open issue for this that has been around for about a year:\n",[19,267,268],{"href":268,"rel":269},"https:\u002F\u002Fgithub.com\u002Fzed-industries\u002Fzed\u002Fissues\u002F10454",[23],[10,271,272],{},"Maybe a good opportunity to contribute.",[10,274,275,278,279,282],{},[14,276,277],{},"Git integration isn’t as deep as in VSCode (yet).","\nResolving merge conflicts is still easier in VSCode. But the basics like ",[14,280,281],{},"git blame"," are already there.",[36,284,286],{"id":285},"final-thoughts","Final thoughts",[10,288,289,290,293],{},"Zed already feels ",[14,291,292],{},"extremely fast and promising",". The core ideas behind the editor — performance, collaboration, and multi-buffers — are genuinely interesting.",[10,295,296],{},"It’s not a full replacement for VSCode for me yet, but it’s definitely something I’m keeping an eye on.",{"title":298,"searchDepth":299,"depth":299,"links":300},"",2,[301,308,309,313],{"id":38,"depth":299,"text":39,"children":302},[303,305,306,307],{"id":43,"depth":304,"text":44},3,{"id":69,"depth":304,"text":70},{"id":150,"depth":304,"text":151},{"id":168,"depth":304,"text":169},{"id":186,"depth":299,"text":187},{"id":233,"depth":299,"text":234,"children":310},[311,312],{"id":237,"depth":304,"text":238},{"id":258,"depth":304,"text":259},{"id":285,"depth":299,"text":286},"Impressions of Zed Editor","md",{"date":317},"2025-03-20",true,"\u002F2025-03-25-zed",{"title":5,"description":314},"2025-03-25-zed","8aQ6mmZ8CpqX_sAdrxASd2dli2ElNuatzmnsq45ILfs",1788961315295]