Bug Report T531436
Visible to All Users

Navigation - Tab to Next Reference - Can't find references in "*.Designer.cs" files

created 8 years ago

In the latest version of CodeRush for Roslyn, the 'Tab to Next Reference' (hotkey Tab) is not finding any instances in .designer.cs files.

It may be something I have inadvertently turned off, in which case can you tell me is there is such a setting?

Thanks,
Martin.

Comments (3)
AE AE
Alex Eg (DevExpress) 8 years ago

    Martin,
    Can you please clarify what version you are using - CRR 17.1.5 or one of public fixes (build with revision)? Isn't 'Tab to Next Reference' working in specific projects or in all cases even in simple ones as shown in the following video?
    https://www.screencast.com/t/72VcYWMqY

      The version I'm using is v17.1.5.17181.
      I have attached a sample project where you can see the problem.
      The Tab-To-Next works sometimes… a programmers worst nightmare.
      In the attached project, if you put the caret on the button1_Click event handler in Form1.cs and press Tab, nothing happens. Now open the Form1.Designer.cs and put the caret on the 'button1_Click' in the line containing:
            this.button1.Click += new System.EventHandler(this.button1_Click);
      Press Tab and you will see it navigates to the implanter in Form1.cs, and continuing to press Tab cycles through all instances correctly.
      The only problem is when you start navigation in the Form1.cs file. It seems to ignore the corresponding .Designer.cs file.

      I hope this helps,
      Martin.

      DevExpress Support Team 8 years ago

        Martin,

        Thank you for the attached project and detailed description of the issue, I was able to reproduce it on my side.
        Please give us some time to correct it.

        Answers approved by DevExpress Support

        created 8 years ago (modified 8 years ago)

        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.

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.