I am making a ".vscode" folder with settings.json file and a tasks.json file.
In the settings.json, I have
{
"type": "process",
"label": "terminal",
"command": "/bin/bash", // <-- your shell here
"args": [
"-l" // login shell for bash
],
"problemMatcher": [],
"presentation": {
"echo": false, // silence "Executing task ..."
"focus": true,
"group": "build", // some arbitrary name for the group
"panel": "dedicated"
},
"runOptions": {
"runOn": "folderOpen"
}
}
and in my settings.json I have:
{
"task.allowAutomaticTasks": "on"
}
However, it is not working for me. Whenever I open up code-server, the terminal is not opening up in that particular folder in which I have the ".vscode" folder in.
Does anyone have suggestions or if I am doing anything wrong?