Bug Report T526713
Visible to All Users

Templates - Typing '.' inside the link breaks it

created 8 years ago

When i type the following to create a property from another namespace:
p<ESC>.RecordList.TDelayLoadType<space>Name, this happens:

C#
RecordList name; public RecordList.TDelayLoadType Name { get { return name; } set { name = value; } }

Note that the backing field has RecordList as its type (and not RecordList.TDelayLoadType)
This happened because intellisense displayed a list of types in the RecordList namespace and using the arrows + pressing the dot caused the caret to jump to the next field.
It does not make a difference if i fully type the name or use the scroll wheel to select a type.

How can i change the field names to _PascalCase ?
Options\Editor\C#\Naming Conventions, Properties, Edit does not make a difference and actually broke the template naming fields.

Thanks,
Richard

Comments (3)
DevExpress Support Team 8 years ago

    Hi Richard,

    Thank you for providing the code sample.

    >> Note that the backing field has RecordList as its type (and not RecordList.TDelayLoadType)
    I have reproduced this issue, so we will fix it and notify you as soon as we make progress.

    >> How can i change the field names to _PascalCase ?
    I have attached a screencast that illustrates how you can do this.

    RL RL
    Richard Luteijn 8 years ago

      Thanks Pavel.
      In 'Naming Conventions' i selected Properties instead of Instance Private Fields.

      I have a number of other small issues and will create a support ticket for each of them.

      DevExpress Support Team 8 years ago

        Hi Richard,

        Thank you for the clarification.
        We will answer you in the tickets you have created.

        Answers approved by DevExpress Support

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