Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-patch] UI-Integration of refactoring

Hi there,
the attached patch integrates the new rename into the context menu
of the CEditor, the OutlineView and the CView. Furthermore it sets
up an action set showing a refactoring menu and defining the standard
keyboard shortcuts. The integration works both with and without jdt 
being present, whereas the latter is more beautiful.

I also made a change to org.eclipse.cdt.ui, such that the 'old' rename
actions disappear, as soon as the refactoring plugin is present. 

I do not plan to code anything further for 3.0 from here (unless there 
are bugs to fix). Obviously there is room for lots of improvements. 
Most striking to me is:
   * visual indication of where potential-matches occur in the preview.
     - I'll post something for the platform guys on bugzilla.
   * clean handling of macro expansion (depends on information currently
     not fully provided by AST, a bugzilla entry exists).
   * more refactorings.

Markus.



Attachment: refactoring-patches-20050422.zip
Description: refactoring-patches-20050422.zip


Back to the top