I have the following monorepo structure in a VS Code Workspace:
MyModule
└── File A
└── Folder A
└── Etc...
ModuleWrappers
└── File B
└── Folder B
└── Etc...
PSProfile
└── File C
└── File D
└── Etc...
This is my .code-workspace file:
{
"folders": [
{
"path": "MyModule"
},
{
"path": "ModuleWrappers"
},
{
"path": "PSProfile"
}
],
"settings": {
"terminal.integrated.cwd": "MyModule",
"powershell.cwd": "MyModule",
"terminal.integrated.persistentSessionReviveProcess": "never",
"powershell.startAutomatically": true,
"powershell.scriptAnalysis.enable": true,
"powershell.integratedConsole.showOnStartup": true,
"powershell.integratedConsole.focusConsoleOnExecute": true,
"files.defaultLanguage": "powershell"
}
}
Despite setting terminal.integrated.cwd and powershell.cwd to the MyModule folder, when I click the new terminal button, VSCode still prompts me:
How can I force VSCode to always open new terminal sessions in a specified working directory in a workspace?
I was under the impression that's what terminal.integrated.cwd and powershell.cwd are for.
Am I missing a setting? Is there a way to suppress this prompt?
