in
Forums
Blogs
Files
Devexpress.Com
Client Center
Support Center
DevExpress Channel

Refactor for native c++ ?

Last post 10/3/2008 10:41 AM by Kevin McFarlane. 3 replies.
Page 1 of 1 (4 items)
Sort Posts:
Previous Next
  • 7/28/2007 8:50 AM

    Refactor for native c++ ?

    Does Refactor! for CPP support refactoring for native Visual C++ or only C++.NET? I installed it but nothing is changed; there is no any "Refactor" submenu nor special markers etc. And will you support any refactorings for the Visual C++ in future? (I mean native C++, not C++.NET)
    Filed under: , ,
  • 8/4/2007 2:21 PM In reply to

    Re: Refactor for native c++ ?

    It does support native C++. I use Refactor! Pro, which does have a DevExpress menu. However, I think the free versions of Refactor! probably don't. The refactorings are available based on your context, e.g., suppose you have:

     int count = 5;

    If you place the cursor at the start of count you should see a Refactor! smart tag appear. Clicking on this with the mouse will pop up a menu of available refactorings, e.g., "rename."

    You can also invoke the refactoring (when available) via a keyboard shortcut. In Options->Keyboard it is assigned to CodeRush.Refactor.

     
    Also I recommend viewing the Refactor! C++ training video.
     

     

     

  • 10/1/2008 6:50 AM In reply to

    Re: Refactor for native c++ ?

    Don't suppose the original poster will be reading this one year on, but i've just discovered that #ifdefs seem to screw up the refactoring. That may have been the problem in this case? Anyway, temporarily commenting out the #ifdef means I can carry on refactoring, but it's a shame to have to do so. A bug fix for the next release perhaps?

    Cheers.

    Filed under:
  • 10/3/2008 10:41 AM In reply to

    Re: Refactor for native c++ ?

    Make sure you report this on the support site if you haven't already.

Page 1 of 1 (4 items)
Copyright © 1998-2008 Developer Express Inc.
ALL RIGHTS RESERVED