This extension is available in the Visual
Studio marketplace. Please don't forget to also install the
server.
- Arrange a terminal and VSCode on your screen(s) so that you see both. You can use the terminal built into VSCode or an external one here.
- Start the server by running
contest
in that terminal. - Open Visual Studio's command palette by pressing (
Ctrl-Shift-P
orCmd-Shift-P
). Entercontest
to trim the list of available commands. Choose one of these commands:
testAll | Test everything |
testFile | Test this file |
testFileLine | Test the code at this line in this file |
repeatTest | Repeat the last test |
stopTest | Stop the current test |
autoRepeat | Start/Stop auto-repeat on file save |
autoTestCurrentFile | Auto-test the current file on save |
See the developer guide.