-
Notifications
You must be signed in to change notification settings - Fork 0
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
Revisit ranges pointed to by SymbolDef::find #129
Milestone
Comments
mkaput
added a commit
that referenced
this issue
Feb 5, 2025
…enum variants Previously, `SymbolDef::Item` was used for enum variants. `ItemDef::name` returned the name of a **lookup item** related to the item, which for enum variants was **the enum**, not the variant itself. This caused a bug because usage finding uses the symbol's name as a text search needle, which made the algorithm attempt looking for references to the enum, yielding effectively no usage results. fix #129 - this was the last FIXME comment related to that issue that was left, even though the bug eventually appeared to be completely unrelated. commit-id:374fbe2d
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We should introduce a separation of
full range
vsfocus range
like RA has and revisit spans that we produce for goto definition & references etc.For example, instead of going from this:
to this:
we should go to:
this issue applies to almost all other kinds of "definitable" elements.
The text was updated successfully, but these errors were encountered: