MattFlower / vscode-aider-extension

74 stars 18 forks source link

[Feature Request] Per-workspace Configs #2

Closed jacobsmith closed 9 months ago

jacobsmith commented 9 months ago

Hello,

thanks for your work integrating aider with VSCode - you beat me to it! One thing I'd love to get working is per-workspace configs. I use aider for both personal and professional projects and I'd like to use my employer's OpenAI key when working on work-related code.

I'll try to circle back and get a PR for this, but wanted to put an issue up to see if other individuals would also find it useful.

thanks!

MattFlower commented 9 months ago

Hi Jacob, thanks for sharing your issue. When I go into settings, I see the ability to change between User and Workspace settings. It looks like this:

User Workspace Settings

Would it work to go into "workspace" and set your setting there on each of your projects? I've also noticed that if you set it in both user and workspace that workspace overrides user, perhaps that might help reduce the total number of time you'd need to set it.

Let me know if that works -- if so, I'll update the documentation to reflect it.

jacobsmith commented 9 months ago

🤦 that is exactly what I needed, I thought it had to be something custom. Thanks for pointing that out! I've been enjoying working with the extension, thanks for your work on it!