Right now I have a few projects I'm running in VSCode, and it's quite tedious to run go test everytime I write new code, I'd rather see if I broke something right away. I know in Javascript I am able to run the tests everytime I save a file, and have the output sent to the terminal.
Right now I am using a "run on save" extension, and I have a config file that looks like:
{
"emeraldwalk.runonsave": {
"commands": [
{
"match": ".*",
"cmd": " go test"
}
]
}
}
But it outputs to the "output" section of VSCode, and I'd like it to output to my terminal.
So is there either:
-
A way to have this extension output to my terminal
-
A way to have "go test" run on a loop whenever I save?
Any thoughts would be appreciated.
Aucun commentaire:
Enregistrer un commentaire