Bug Report T451491
Visible to All Users

Refactorings - The "Add Parameter" refactoring is not focusing a new parameter

created 8 years ago

I'm not sure if I'm missing a step, I put the caret on the method name, CTRL+. and pick "Add Parameter", but then I have to manually mouse over and click the type to start editing. Pressing Enter after "Add Parameter" just breaks the method name.

Show previous comments (1)

    It's definitely not working for me, on multiple machines, with the exact same settings.

    I've attached my exported settings, can you confirm they work for you?

    I'm thinking this may be a conflict somewhere, I use Tab to expand my templates (while Space is disabled).

      Okay I did a bit of debugging, and it appears that the culprit is:

      CodeRush>Options>Editor>C#>Programming Style>Use keywords for type references

      if that option is checked it inserts object and does auto-select it for editing. , however…

      if that option is unchecked, it inserts Object and does not auto-select it for editing.

      I'm assuming this is a bug, and needs to be fixed. Please confirm. Thank you.

      P.S. This might also affect VB.NET, but I didn't test it…

      DevExpress Support Team 8 years ago

        John, we are happy to hear that you have found the cause of the issue.
        Thank you very much for sharing it.
        I've managed to reproduce the issue and have passed it to our R&D team.
        Once we have any progress with this item, we will update this ticket accordingly and you will receive a notification from the Support Center.

        Regards,
        Igor

        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.