On Coverage tab keep the "current" file selected
Installed product versions
- Visual Studio: [example 2022 Professional]
- This extension: [example 1.1.21]
Description
After re-running the unit tests (we use Xunit) the list of classes with coverages get renewed and the scroll bar ends up at the top of the list. Lets say I am working on a class and obviously I am fixed on making a coverage progress on it. Before re-running the unit tests I locate the file on the Coverage tab and click on it expecting that after the re-run I will find it selected again and I don't have to hunt for it again in the long list of files. Which currently is not the case. After each re-run I need to scroll thru the list to find my file.
Current behavior
I have to locate the file I last checked on Coverage tab after the unit tests re-run.
Expected behavior
I would like to keep the file I last checked on the Coverage tab selected which makes it easier to follow the code coverage progress on the class of interest.
Perhaps the behaviour is implemented Visual Studio Code Coverage is now available in 2026 Community and Professional editions