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
"Ignore Once" annotation line position is affected by previous executions of the quickfix #3373
Comments
Just to confirm: "Removed unused declaration" does work, correct? |
Yes, "Remove unused declaration" does work. |
---So I wrote a unit-test for this and it didn't fail--- There is a unit-test that should cover this...https://github.com/rubberduck-vba/Rubberduck/blob/next/RubberduckTests/QuickFixes/IgnoreOnceQuickFixTests.cs#L820 |
@Vogel612 the procedure is first-thing in the module, it does make a difference. Needs tests with |
No repro with .2357 |
Wait a minute... just got it! |
Ok. So the problem seems to be that there's something we're not invalidating on reparse, causing the quickfix to think the annotation should be inserted where it would have been needed before a previous quickfix shifted the module contents down one line. Investigating. |
There's a work-around though: annotate the procedures bottom-to-top. |
Reportedly fixed. |
Closing this since this should be fixed in the PR #4693 (and related PRs) |
I have some stubs for future development that are currently not being called. The
Procedure {x} is not used
inspection is properly identifying that they are not called. TheIgnore once
Quick Fix does not insert an@Ignore {inspection}
annotation.That's the same picture before & after clicking...
Ignore the 243 meaningful name inspections, please, I know they're there...
The text was updated successfully, but these errors were encountered: