intitni / CopilotForXcode

The missing GitHub Copilot, Codeium and ChatGPT Xcode Source Editor Extension
https://copilotforxcode.intii.com
MIT License
7.62k stars 372 forks source link

[Help Wanted]: Enable/disable copilot for specific project #490

Closed mkowalski87 closed 5 months ago

mkowalski87 commented 5 months ago

Before Reporting

Describe your issue

Hi, Due to security policies in the company, in some of the projects I'm allowed to use copilot but in others it is forbidden. Currently, when I want to use the plugin I have to enable it in system settings and disable it when I'm switching to a different project.

Is there any option to make this process easier?

Maybe some kind of config file in to project directory?

intitni commented 5 months ago

There is a toggle for it. If you have a better idea about it please submit a feature request.

Screenshot 2024-04-16 at 21 03 00
intitni commented 5 months ago

Please note that it only works for the suggestion feature. The app will check if the project root URL is or is a sub directory of an item in the exception list, if it is, the suggestion feature will be enabled.

mkowalski87 commented 5 months ago

@intitni Thank you. This is exactly what I was looking for