Skip to content
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

Support highlight same variables,goto definition,goto implimentation #524

Open
infchaos opened this issue Mar 30, 2024 · 1 comment
Open

Comments

@infchaos
Copy link

Is there any way to support those features by roslyn? Ideas or api recommendations about these feature's implementation are welcome and helpful.
I try to get ideas from rename command and found it's a service provided directly by roslyn and it's implementation is non public and very complex to understand.

highlight same variables means when cursor falling onto a variable,all the same variable references are highlighted.
I am trying to implement these features by roslyn's symbolfinder functions but it always return empty results which makes me confusing.

@aelij
Copy link
Member

aelij commented Apr 3, 2024

Of course these are internal types but inside RoslynPad they are made public using IgnoresAccessChecksToGenerator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants