Skip to content

Why are copilot and some other functions not extensions? #11856

Answered by SomeoneToIgnore
vadim-su asked this question in Q&A
Discussion options

You must be logged in to vote

Mainly due to the fact that extensions are very immature and their first working prototype appeared much later than any Copilot-related one.

Right now, extension API is very limited and is more about defining language capabilities rather than editor-related capabilities.
IIRC, there's no editor-related APIs at all now, so no plugin can adjust the text or add any graphical adjustment around it.

Until somebody designs those bits, copilot most probably stays inside Zed codebase.

Another reason is the fact that it's faster to evolve the code without worrying about the compatibility — it would be harder to pull off something like #10788 with Copilot being an extension.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@vadim-su
Comment options

@SomeoneToIgnore
Comment options

@versecafe
Comment options

@vadim-su
Comment options

Answer selected by vadim-su
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants