vscode-cmake-tools
vscode-cmake-tools copied to clipboard
[Feature] Clicking On Unit Test In Test Explorer Should Focus On Source
Request Overview
Clicking on a CTest unit test in VS Codes Test Explorer should focus the cursor on the corresponding code in the test-file.
Additional Information
If I rerun all tests and one of them fails, the current solution is to either know the file by heart, that contains the test or type the test-name into global search and open the search result. It would be much nicer, if the user could just click on the test in the Test Explorer and be teleported to the source.
This behavior is supported by many extensions that integrate with the Test Explorer. CMake Test Explorer behaves correctly for example.