-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
:CoverageShowDiff is not implemented?! #19
Comments
Ping @stgpetrovic (who committed this initially for "Goran Petrovic"). As it currently stands I would just remove it. |
It does not appear to be implemented fully. Fixes google#19.
It does not appear to be implemented fully. Fixes google#19.
Aha, I found we actually have private shared coverage provider that patches this |
Sure. The general idea would be to not use caching at all at first. Can you share how it is used internally (in an abstract way)? |
Sure, had to look up what it was doing… It says "diff_path" but it's actually not a diff but a snapshot of the file as it was at the time coverage was evaluated, used for diffing with the current version. The common case for this tool is to render server-side coverage data on submitted files, and it can actually be kind of awkward getting fresh coverage results from modified versions of the file. I filed #34 to discuss how to handle this kind of snapshotted coverage data functionality long term, since there's some complexity to getting it right. |
Overall it makes sense coverage providers should be able to capture the snapshotted file contents. We could just rename it to something like |
It looks like
diff_path
is not being added to the data anywhere!? (vim-coverage/autoload/coverage.vim
Line 130 in 88d0204
And (although mentioned in
vim-coverage/autoload/coverage.vim
Lines 184 to 185 in 88d0204
The text was updated successfully, but these errors were encountered: