zed icon indicating copy to clipboard operation
zed copied to clipboard

Add build time options to disable ML/AI features

Open alerque opened this issue 1 year ago • 24 comments

I see on the roadmap that "embracing AI" is on the list. I understand that for some majority of developers this is something they do want to see explored. For another chunk of us (that I sometimes fall in, sometimes not depending on the project) there are fundamental issues with having any AI input into our coding process. For some users/projects this is an ethical boundary, for others just a licensing issue, etc.

I firmly believe that to be a really robust editor any features that attempt to make use of ML/AI tooling they should be optional. This should probably include both a build-time option so that the project can be built from source with no AI related dependencies even needed and no features enabled. The existing setting assistant = false only disables the related UI elements at run time. The build time variant should actual build a binary where these things are not even available at all, not just hidden.

In conjunction with this the related features could possible be stubbed in some way so that future 3rd party plugins or user coded automation can't accidentally access them even though the UI elements are hidden.

alerque avatar Jan 26 '24 09:01 alerque