Bug on Windows
I really like this extension for my workflow. It works really well, however for some reason on my Windows machine the first split terminal's command isn't being ran.
Here's what my settings.json looks like:
{
"restoreTerminals.runOnStartup": true,
"restoreTerminals.terminals": [
{
"profile": "App",
"splitTerminals": [
{
"name": "App1",
"commands": ["yarn serve:app1"]
},
{
"name": "App2",
"commands": ["yarn serve:app2"]
},
{
"name": "App3",
"commands": ["yarn serve:app3"]
}
]
}
]
}
Everything works as expected, except the command for App1 doesn't run. Rearranging the apps produces the same error - the first object in the array's command isn't ran but the rest are fine.
When I copied and pasted their base example config, it included the property "artificialDelayMilliseconds": 300," at the top of the file. You might try that and see if that works?
I had the same issue with profile "Git Bash" using windows 11, switching my default profile setting ("terminal.integrated.defaultProfile.windows") in the integrated terminal to "Git Bash" and mysteriously "commands" started working
ALSO NOTE: weirdly i had to remove the "profile" setting in each splitTerminal , only then it would work...using different profiles will be still an issue as only the default profile works
{
"workbench.colorTheme": "Default Dark+",
"python.experiments.enabled": false,
"python.envFile": "${workspaceFolder}/.env",
"[python]": {
"editor.wordBasedSuggestions": false
},
"explorer.confirmDelete": false,
"security.workspace.trust.untrustedFiles": "open",
"terminal.integrated.defaultProfile.windows": "Git Bash",
"terminal.integrated.profiles.windows": {
"PowerShell": {
"source": "PowerShell",
"icon": "terminal-powershell"
},
"Command Prompt": {
"path": [
"${env:windir}\\Sysnative\\cmd.exe",
"${env:windir}\\System32\\cmd.exe"
],
"args": [],
"icon": "terminal-cmd"
},
"Git Bash": {
"path": "C:\\Program Files\\Git\\bin\\bash.exe",
// "args": [
// "-i",
// "-l"
// ]
},
"Ubuntu-20.04 (WSL)": {
"path": "C:\\WINDOWS\\System32\\wsl.exe",
"args": [
"-d",
"Ubuntu-20.04"
]
}
},
"editor.minimap.enabled": false,
"terminal.integrated.enableMultiLinePasteWarning": false,
"terminal.integrated.tabs.location": "left",
"git.autofetch": true,
"terminal.integrated.automationProfile.windows": {
}
}