p10tyr / PrestoCoverage

Visual Studio Extension for simple coverage visuals
Apache License 2.0
45 stars 6 forks source link

Coverage Visualization Not Refreshing Without File Re-Open #14

Open TobiasvdVen opened 5 years ago

TobiasvdVen commented 5 years ago

After trying PrestoCoverage for the first time we think we are running into this issue in v1.16.2.

Our steps:

1 if (...)
2 {
3     // Do something
4 }
5 else
6 {
7     // This branch is not covered
8 }

The visualization is correct in this case, showing red in the margin on line 7. Next, we comment out line 5, the else clause. After pressing 'Run All' again, all visualization disappears. It will not appear again until we close the .cs file in which we made these changes and re-open it.

Hope this information helps!

IanIsFluent commented 5 years ago

Similar issues here!

p10tyr commented 5 years ago

Will investigate. Its just the way Visual Studio handles panes.. its literately quite a pain to implement correctly.