What controls the style of the 'highlight' applied to the identifiers when using Tab to Next Reference? By default, it's a red underline. I would prefer it to use a style similar to "CR - Highlighting" in Tools/Options/Environment/Fonts and Colors -- can I do this, or is it hard-coded?
Navigation - Tab to Next Reference - add a way to customize highlighting style
Answers approved by DevExpress Support
We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.
Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.
You can download the build with the hotfix using this link: CodeRush.Roslyn-17.1.7.17235.exe.
See the attached screencast to learn how to adjust a color for the Tab to Next Reference.
- v17.1.8Download Official Update
I've noticed that in the above video, all the keywords are highlighted as soon as the first one is clicked upon, and the underline rotates between the instances. That doesn't happen in my setup, which may be my real problem; all the keywords stay the same color. Is there a CodeRush option for "Highlighted Reference Color"? I do have "Tab to Next Reference" checked.
In the attached image, I have clicked on IdList and pressed tab once.
Great googly moogly, it's a VS setting I had turned off somehow, Text Editor / C# / Advanced / Highlight References to Symbol Under Cursor.
Never mind and thank you.
Hi Michael,
You are right, this is a built-in VS feature for highlighting references.
I am happy to hear that this issue is resolved.
Hello Michael,
Thank you for contacting us.
At present, we do not provide a way to change the style for navigation links.
We agree with you that we should implement this possibility, so we will notify you as soon as we make any progress.