I added some extensions to VS Code, including python, c++, flutter, etc. I'm trying to disable some extensions in a specific repo, such as the flutter extension in my frontend repo. I want to save this setting in .vscode/ so that when I move the repo, VS Code will remember the setting.
As far as I know, no. The information about which extensions you have enabled or disabled for a workspace is not saved in the workspace's .vscode/ folder. The best you can is recommend / recommend-against extensions to enable for the workspace using extensions.json (using the recommendations
and unwantedRecommendations
properties).
I'm not sure exactly where that information is stored, but I reckon somewhere in the place where VS Code stores the rest of your user data. On Linux machines, that's in ~/.config/Code. On Windows, it's in %APPDATA%\Code. On macOS, it's in ~/Library/Application Support/Code. It might be stored in the workspace database (./User/workspaceStorage/<workspace folder hash>/...)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With