Bug Report T814948
Visible to All Users

Templates – The "Tab to Next Reference" navigation blocks a template expansion in JavaScript files in some cases

created 5 years ago

I have the current version of CodeRush and Visual Studio 2017.

In this screencap video, you can see that my custom template works in some places and not others. I have not specified a context…

This behavior happens with some but not all of my custom templates.

Any idea what I'm doing wrong? Or is this a bug?

https://www.screencast.com/t/0yM1svq4Al

Comments (1)
DevExpress Support Team 5 years ago

    Hi,

    Thank you for pointing out this issue and providing the screencast.
    As you can see, the text you enter gets underlined once you press Tab if the template is not expanded. That means that another CodeRush "Tab to Next Reference" feature was executed and blocked template expansion. Executing the Tab to Next Reference in this case is wrong.
    I have reproduced this behavior locally and we are working on it. We will notify you on our progress.

    As a temporary workaround I suggest changing the mnemonic of your template (for example on "cps.") to resolve the conflict with the Tab to Next Reference feature.

    Answers approved by DevExpress Support

    created 5 years ago (modified 5 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.