-
Notifications
You must be signed in to change notification settings - Fork 226
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
Fix symbol highlight when hovering function name #1890
Conversation
Edit: Also, in case someone was wondering: test were extended to search for function name in definitions as they are different AST type than references -> use different code. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work, thank you! Just made some inline changes to correct an existing spelling error.
test/PowerShellEditorServices.Test/Services/Symbols/AstOperationsTests.cs
Outdated
Show resolved
Hide resolved
test/PowerShellEditorServices.Test/Services/Symbols/AstOperationsTests.cs
Outdated
Show resolved
Hide resolved
test/PowerShellEditorServices.Test/Services/Symbols/AstOperationsTests.cs
Outdated
Show resolved
Hide resolved
test/PowerShellEditorServices.Test/Services/Symbols/AstOperationsTests.cs
Outdated
Show resolved
Hide resolved
🎉 Btw. just realized that I didn't add test for The old extent was very wrong (endline, but endcolumn=startcolumn + name length). 95% sure it didn't break anything, but just letting you know in case you have a list of known missing regression tests :) |
I do indeed have that 😅 |
PR Summary
Fixes:
PR Context
Fix #1887
Fix #1888