Reporter | Alexander Shvedov (shvedov) |
---|---|
Created | Mar 21, 2015 12:26:31 AM |
Updated | Apr 16, 2018 8:08:55 PM |
Subsystem | Navigation - Search (Find Usages) |
Assignee | Alexander Ulitin (alexander.ulitin) |
Priority | Critical |
State | Open |
Type | Feature |
Fix version | Backlog |
Affected versions | No Affected versions |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
- Search for type member usages, wait for "find results" window to come up;
- Comment out type member;
- Search target in "find results" window became
striked-out like this;
Navigation back to this type member no longer works at all. But actually it's near the original document range - in the commentary :)
I propose to check document range of declared element pointer (if it can't restore declared element) and if range is not dead enough, navigate there. This is much smarter thing to do, comparing to doing nothing. If this can be done generally, for dead usages too - that would be simply great.