microsoft / microsoft/foundry-dev-tools
AI Toolkit for Visual Studio Code overrides user settings and pulls workspace settings into user settings
@swatDong is already working on this.
Since Dec 2, 2025.
- Dominant language
- JavaScript
- Stars
- 2.1k
- Forks
- 260
- Avg merge
- 42m
- Merged PRs (30d)
- 29
Description
The AI Toolkit for Visual Studio code seems to inject some instruction file locations into the chat.instructionsFileLocations user configuration:, such as /home/vscode/.aitk/instructions/ and C:\Users<user>.aitk\instructions\ .
Firstly, that is bad enough that an extension just injects instruction files as I want 100% control of that myself.
Secondly, while it does so, if I am in a workspace where I have workspace specific instruction files set in the workspace settings, this extension is also pulling these into the user settings. And since I have setting sync on, this pollutes all my different workspaces with wrong settings for my instruction files.
For example if I have only .github/instructions in my user setting and folderA/.github/instructions/ and folderB/.github/instructions/ in my workspace settings. After AI toolkit runs, I have the following in my user settings:
.github/instructions
/home/vscode/.aitk/instructions/
C:\Users<user>.aitk\instructions
folderA/.github/instructions/
folderB/.github/instructions/
and this syncs over to my other workspaces where I dont want folderA and folderB as my instructions.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.