I am trying to switch to VS Code from LiteIDE for developing GO code. One of the features that I used frequently in LiteIDE was the ability to pick a file, other than the current file, as the target of run or test commands.
For example, I could set the file my_go_file_test.go as the target and then be able to run the tests with a keyboard shortcut while editing any other file.
In LiteIDE this is accomplished by pinning the file in a control at the top of the IDE. Is there a way to do something similar in VS Code.
I've poked around in setting and googled it. The best I can come up with at this point is a three-step process to toggle to the test file, run the test, and then toggle back to the file I was in. This requires 3 separate shortcuts instead of just one.
The goal is to be able to use a single keyboard shortcut to run tests while doing TDD.