Ticket T441956
Visible to All Users
Duplicate

We have closed this ticket because another page addresses its subject:

"Widen scope (promote to field)" not available?

Widen Scope - Cannot promote a local method variable as a class field

created 8 years ago

[DevExpress Support Team: CLONED FROM T441666: Issues with CodeRush for Roslyn]
I have the following issues / questions / requests.  Sorry if they've already been asked; it's basically impossible to determine what keywords to search by.

* Widen scope: can't promote local method variable a class field:  request addition of this feature; use frequently.

Thanks!

Comments (1)
DevExpress Support Team 8 years ago

    Brad,

    Thank you for the request. I have discussed it with the team and we will consider porting this feature from CodeRush Classic in future versions.

    Answers approved by DevExpress Support

    created 8 years ago

    We have implemented the functionality described in this ticket. It will be included in our next update(s).

    Please check back and leave a comment to this response to let us know whether or not this solution addresses your concerns.

      created 8 years ago

      Hi Brad,
      We have published version 16.2.3. It contains the "Widen Scope (promote to field)" action (see the screencast). You can download it from the Visual Studio marketplace:
      https://marketplace.visualstudio.com/items?itemName=DevExpress.CodeRushforRoslyn

        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.