


Author丨Tim Anderson
Compilation丨Noah
produced | 51CTO Technology Stack (WeChat ID: blog51cto)
Zed Editor Project It is still in the pre-release stage and is open source under AGPL, GPL and Apache licenses. The editor features high performance and multiple AI-assisted options, but is currently only available on the Mac platform.
Nathan Sobo explained in a post that in Project Zed’s code base on GitHub, the editor part is licensed under the GPL, and the server-side components The AGPL license is used, and the GPUI (GPU Accelerated User Interface) part uses the Apache 2.0 license. GPUI is a Rust UI framework developed by the Zed team. Such a license choice ensures the openness and accessibility of the code, allowing Zed to be widely used and contributed to in the open source community.
Sobo previously created the Atom editor and the Electron framework. The Electron framework is used by VS Code, the world's most popular editor and lightweight IDE. Electron is built using Chromium browser components and the V8 JavaScript engine, while Zed has a completely different code base. It is written in Rust and compiled into native code.
Unlike VS Code, which has more than 55,000 extension plug-ins, Zed currently only has a preliminary plug-in model and has not formed a complete extension ecosystem; its FAQ states, "In Zed We will not add a plug-in system before open source, but once the open source is completed, we will work on the development of extensibility functions." This indicates that there will be more work in this area in the near future.
Thanks to Rust's high performance and lack of plug-ins, Zed runs extremely fast, providing a solution to developers' biggest pain point with VS Code - performance issues.
A developer commented on Zed News and said: "VSCode always feels extremely slow to me... VSCode's lag in basic code inspection and syntax detection makes me extremely annoyed. , and eventually had to give up using it."
Another developer said: "For those who haven't tried Zed, it's the best experience in my 25 years of development. The most distracting GUI editor I've ever used. It's hard to describe how much my concentration improved when I got rid of the various icons, menus, colors and other Christmas tree-like scenes in other editors."
Although the AI assistance function provided by Zed is still rough in experience, developers who prefer maximum control may be satisfied. Zed supports both GitHub Copilot and OpenAI.
Regarding the integration of Copilot, Zed team member Mikayla Maki said: "It is crucial to balance its visual and psychological burden, because an overly aggressive Copilot can be counterproductive and interfere with existing auto-completions such as LSP features such as Copilot. Therefore, we have introduced settings to disable Copilot by language, increase the text suggestion delay by 75 milliseconds, and prioritize the language's own LSP (Language Server Protocol) over Copilot in the event of a conflict."
Picture
Zed Editor’s OpenAI Assistant Panel is a highly configurable and unique feature. Developers can choose the model type and change the model at any time, even during a conversation with the AI. To use this feature, you need to have an OpenAI account and configure an API key in Zed. These keys are billed by the number of tokens used, and Zed will always display the number of tokens remaining for the selected model.
Interactions with OpenAI's large language models are submitted via CMD-Enter instead of just the Enter key, the idea is to keep it as close to a regular editor feel as possible, so Pressing the Enter key will only insert a new line." This also means that it is difficult for users to accidentally consume tokens. The response content is returned in real time, and if it seems unhelpful, the request can be canceled by pressing the Escape key.
In addition, Zed also has an inline assistant function that can view contextual information of the surrounding code. Marshall Bowers, another member of the Zed team, has posted about using AI for inline document writing and translating code from one template system to another, such as performing tasks like “Rewrite this HTML using auk’s DSL method. , just like the post_link function above" command. He said that when processing most of the template code, AI was ultimately used to assist.
According to the roadmap, in the future Zed will support AI assistance functions without OpenAI keys, while providing inline intelligent assistance in the terminal, a simplified assistant interface, and enabling AI to "Access buffers, files, LSPs, terminal prompts, etc. in inline state".
In addition to the lack of extensions, Zed has some other problems. Currently, support for languages such as Rust, TypeScript, and Python is relatively good, and many other languages are partially supported, but there are also some languages, such as Microsoft's C#, that have not yet received any support, although the feature description mentions: "Active development is underway to use Zed The ability to connect to any language server".
Another problem is that Zed is currently only available on the Mac platform. There is a GitHub issue regarding this issue stating that there are plans to add support for other platforms. Linux and web-side support are included in the roadmap (the web-side may adopt WebAssembly technology that Rust can compile to target), but there is no mention of the Windows platform at the time of writing, suggesting that development of the Windows version may take more time, or Users need to use it indirectly through Windows Subsystem for Linux (WSL).
Reference link: https://devclass.com/2024/01/25/rust-based-zed-editor-now-open-source-with-built-in-support -for-openai-and-github-copilot/
The above is the detailed content of Rust-based Zed editor has been open sourced, with built-in support for OpenAI and GitHub Copilot. For more information, please follow other related articles on the PHP Chinese website!

截至3月20日的数据显示,自微软2月7日推出其人工智能版本以来,必应搜索引擎的页面访问量增加了15.8%,而Alphabet旗下的谷歌搜索引擎则下降了近1%。 3月23日消息,外媒报道称,分析公司Similarweb的数据显示,在整合了OpenAI的技术后,微软旗下的必应在页面访问量方面实现了更多的增长。截至3月20日的数据显示,自微软2月7日推出其人工智能版本以来,必应搜索引擎的页面访问量增加了15.8%,而Alphabet旗下的谷歌搜索引擎则下降了近1%。这些数据是微软在与谷歌争夺生

Reddit和Twitter上的用户从3月20日开始报告了ChatGPT的一个漏洞,并发布了一些屏幕截图,显示他们的ChatGPT网页历史记录中包含他们不熟悉的对话标题。虽然以这种方式似乎无法访问共享聊天内容,但OpenAI公司在关闭该漏洞时完全删除了聊天历史记录。根据行业媒体的报道,ChatGPT在当天还出现了重大中断,那些可以访问的用户注意到提供了不一致的服务。OpenAI公司在其状态页面上记录了中断情况,并在最初报告的几个小时内恢复了服务。OpenAI公司的首席执行官 Sam Altman

前几天,谷歌差点遭遇一场公关危机,Bert一作、已跳槽OpenAI的前员工Jacob Devlin曝出,Bard竟是用ChatGPT的数据训练的。随后,谷歌火速否认。而这场争议,也牵出了一场大讨论:为什么越来越多Google顶尖研究员跳槽OpenAI?这场LLM战役它还能打赢吗?知友回复莱斯大学博士、知友「一堆废纸」表示,其实谷歌和OpenAI的差距,是数据的差距。「OpenAI对LLM有强大的执念,这是Google这类公司完全比不上的。当然人的差距只是一个方面,数据的差距以及对待数据的态度才

Vince Kellen是美国加州大学圣地亚哥分校(UCSD)的首席信息官,他深知ChatGPT、DALL-E和其他生成式AI技术有据可查的局限性:生成的答案可能并不真实,生成的图像也可能缺乏完整性,输出可能存在偏差。但无论如何他都在向前推进,他表示,员工们已经在使用ChatGPT来编写代码和工作内容描述了。OpenAI的文本生成技术ChatGPT以及图像生成技术DALL-E在一系列吸引了公众想象力的大型语言模型(也称为生成语言模型或者生成式AI)中是最突出的,这些模型响应书面请求以生成从文本文

据报道,美国新闻行业正将AI聊天机器人视为一种新的生存威胁。他们担心人们会认为聊天机器人提供的文章摘要已经足够好,从而不再访问他们的网站,致使读者和广告商流失。然而,也有媒体高管认为,尽管存在潜在的威胁,但也有机会。他们正试图在行业变革中领先一步,以适应读者获取信息方式的演变。以下是翻译内容当你向微软Bing聊天机器人询问美国前总统唐纳德·特朗普(Donald Trump)是否被起诉时,它的回答会让传媒高管们感到害怕。机器人给出的三句摘要似乎很有用,它不仅提供了CNN、华盛顿邮报等新闻媒体的链

本次分享题目为 ChatGPT 技术、国产化尝试和开源模型。分享包含三大部分的内容,第一部分总体介绍 ChatGPT 相关的技术:ChatGPT 技术的演进、目前存在什么样的问题、ChatGPT 技术学习的三个阶段、数据组织和效果评估;第二部分分享我们在 ChatGPT 技术国产化方面进行的尝试,包含实验过程中我们遇到的问题、进行的思考以及模型的效果和应用;第三部分介绍我们已经发布的中文开源大模型,使用自有数据训练出本地模型如何进行操作,在实验过程中可能遇到的问题,和开源的先进模型相比存在的差距

ChatGPT可以联网后,OpenAI还火速介绍了一款代码生成器,在这个插件的加持下,ChatGPT甚至可以自己生成机器学习模型了。 上周五,OpenAI刚刚宣布了惊爆的消息,ChatGPT可以联网,接入第三方插件了!而除了第三方插件,OpenAI也介绍了一款自家的插件「代码解释器」,并给出了几个特别的用例:解决定量和定性的数学问题;进行数据分析和可视化;快速转换文件格式。此外,Greg Brockman演示了ChatGPT还可以对上传视频文件进行处理。而一位叫Andrew Mayne的畅销作

将文心一言发布时间定在3月16日的百度,没能预料到会遭到来自OpenAI、谷歌、微软的轮番轰炸:先是3月15日凌晨,OpenAI发布大型多模态Transformer模型GPT-4;紧接着,宣布开放大规模语言模型PaLM的API接口,并推出面向开发者的工具MakerSuite;文心一言发布之后,巨头们也并没有歇着,3月16日晚间,微软更是发布由AI驱动的办公神器Microsoft 365 Copilot,号称让Word、PPT、Excel、OutLook、协同办公软件的生产力都飙增。文心一言对标C


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

Dreamweaver Mac version
Visual web development tools

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

Atom editor mac version download
The most popular open source editor

SublimeText3 Linux new version
SublimeText3 Linux latest version
