Ticket T411203
Visible to All Users

Using custom plugins with the roslyn version

created 9 years ago

Hi,
I had a few custom plugins I'd written for the original coderush. Just trying to set them up in coderush for roslyn. Is this supported yet? If so, can you walk me through it? There doesn't seem to be an eqivalent of the plugin manager screen? I opened the extensions folder from the coderush support menu , and copied my plugins into, then restarted visual studio. I tried to add a keyboard shortcut to trigger one of the plugins, but it wasn't available in the commands menu. Will I need to recompile the pluhins? Change them in some way for Roslyn?

Show previous comments (7)
DevExpress Support Team 9 years ago

    Hi Kevin,
    Thank you for the update. You've found a solution for the second question faster than I prepared a suggestion for you.
    You are right - you can convert the properties to auto-implemented using two ways: you can enable the "Make properties auto-implemented" option in Code CleanUp and you can use the "Convert to auto-implemented property (convert all)" refactoring menu item. Both of these ways should produce the result you need.

    Please contact us if you face any difficulties using our product. The information you share is very important to us.

    KO KO
    Kevin O'Donovan 8 years ago

      I've just installed the September patch to VS2015 update 3, and code cleanup is no long converting the properties mentioned above to auto-implemented

      So lets say you have a class like this one:

      Visual Basic
      Public Class CRTest Public Property ExemptionCertificate As String Get Throw New NotImplementedException() End Get Set(value As String) Throw New NotImplementedException() End Set End Property End Class

      Convert to auto-implemented is enabled in code cleanup, but it doesn't do anything with the property in the above example. A regular property with a backing variable is correctly transformed. If I explicitly invoke the convert to auto implemented property refactoring on it then it does work, but since my prime use for this is to fix a bunch of properties created when implementing an interface, this would be a tedious way to handle it.

      Also relevant, I suspect: If I add the single backed property I described above, and invoke the refactoring menu, I don't get the "all" variant of the refactoring. If add a second backed property and invoke the menu I *do* get the "all" variant. Looks like the NotImplementedException properties are now being excluded from whatever filter you are applying to detect if there are single or multiple candidate properties

      DevExpress Support Team 8 years ago

        Hello,

        I've created a separate ticket on your behalf (Code Cleanup is no longer converting non-implemented properties to autoimplemented). It has been placed in our processing queue and will be answered shortly.

        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.