GPUI2 and extensions #6679
Unanswered
coderedart
asked this question in
Q&A
Replies: 0 comments 4 replies
-
Why would they need to rewrite GPUI2 to support extensions? If it's a framework (which I believe to be true) they'd just need to use it to build extra UI around extensions. I also want to add something to the plugin system discussion and that is considering an approach that is perhaps a bit uncommon.
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As GPUI2 is still in progress, i was wondering if zed people actually looked into how they will support plugins?
I was just reading https://zed.dev/blog/zed-weekly-27 , and it seems like you are using rust features like traits and closures for the new GPUI2 api, whichhich is good while you are working with rust, but are generally not easily
scriptable
/bindable
vscode has the advantage of using electron (browser) and simply makes everything a simple json object or delegates more complex stuff into a electron's webview . This allows plugins to be very powerful.I did not find any clear plan regarding extensions yet. But considering that you are rewriting GPUI anyway, might as well consider scriptability in your new design before its locked down further. Otherwise, extensions will need a new custom UI framework, or GPUI2 will need to be rewritten again in the future to support extensions.
Beta Was this translation helpful? Give feedback.
All reactions