top | item 39120018

(no title)

koenbok | 2 years ago

Zed developers, if you read this, please get inspired by Cursors "Fix it" button that you can click on any error. It simply starts a new chat with the code context and error message, suggesting possible fixes.

I'm currently learning Rust and this is such a powerup that I honestly wouldn't know how to learn anything without.

discuss

order

ethanwillis|2 years ago

Zed developers, please don't. I don't want my core editor potentially sending out my code to who knows where or wasting cycles analyzing it.

If people want this just let it be a plugin.

glennpratt|2 years ago

> 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. https://zed.dev/

Seems like that ship has sailed. Maybe it's a plugin already or could be in the future, but that's not on GP's suggestion.

zamadatix|2 years ago

Beyond "is it on by default" (due to data privacy concerns) whether something belongs in a "core" editor or in a plugin is a whole separate can of worms - moreso if the core editor starts shipping plugins. There is someone who reads that agreeing it means the editor should be just a plugin store and if you want font hinting, syntax coloring, tabs, terminals, smooth scrolling, and so on then download them yourself. At the same time there is someone who reads that agreeing it means the editor should have anything possible related to working with text but if you want to play a video while you code the plugin system should allow you to do that in a pane. Neither are really right or wrong about what should be a plugin, it's really a matter of what the tool wants to optimize for out of the box.

ra1231963|2 years ago

It seems inevitable we’ll also be able to run LLMs locally, which would make this type of feature more appealing.