Author Topic: Support code refactoring (V7)  (Read 12286 times)

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Support code refactoring (V7)
« on: August 30, 2010, 07:01:12 pm »
Already implement:
1. Find usages of symbol (Search > Find usages [Alt-.] OR popup menu)
2. Rename symbol under cursor (Edit > Rename symbols [Alt-N] OR popup menu)
Any comments ?
 :D

P.S.
1. Need add coderefactoring.h/cpp to project.
2. Need add search dirs: include\mozilla_chardet
3. This patch JUST for *testing*!

V4:
Fixed some issue.

V7:
Bug fixed.
« Last Edit: August 31, 2010, 05:36:30 pm by Loaden »

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5913
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Support code refactoring (V3)
« Reply #1 on: August 31, 2010, 01:04:07 am »
I'm testing it now. It is a huge patch and a big improvement.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: Support code refactoring (V7)
« Reply #2 on: August 31, 2010, 05:32:26 pm »
V7, Now working well! :D