Bug Report T318310
Visible to All Users

Code Templates - Certain CodeRush Classic custom templates do not work after being imported into CodeRush for Roslyn

created 9 years ago

I am new in using CodeRush for Roslyn.

I am currently trying to use our own Templates after importing them but I cannot get them running.
The attachment contains the templates I would like to use.

In the classic Edition I was able to insert the template by eg. typing "_cf ".
The template was then inserted immediately after pressing a key like space.

Currently the behavior is just that the typed "_cf" is removed and nothing more happens.

Any Support would greatly be appreciated.

Best regards,
Alex<

Comments (1)
DevExpress Support Team 9 years ago

    Thanks for providing your custom templates. I have exported and examined them. These templates are not expanded in CodeRush for Roslyn, therefore, names of certain contexts are different than those that are present in CodeRush Classic. We will improve the templates import in CodeRush for Roslyn so that it changes names of these contexts to corresponding names automatically. As a temporary workaround, I have made these changes manually and attached the corrected XML file to my current comment.

    Also, the 'AlignNewLines' text command and the 'GetUserMiddleName' string provider that are used in your templates are not implemented in CodeRush for Roslyn for now. We plan to add this functionality with future updates. You will be notified of our progress.

    Answers approved by DevExpress Support

    created 9 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.