+6

Refactoring

nick vajberg vor 12 Jahren aktualisiert von Pat vor 12 Jahren 1

It would be nice to be able to do at least simple refactoring, now that the symbol database works so great.


At first, at least for C++, Java, ObjC and the like:


  - Rename functions and classes (update all references)

  - Introduce variable

  - Extract method


Other can come later.


Thanks.

Update all references is not as important to me, but intro variable and extract method would be great and seem fairly straightforward to implement, since they could be done without semantic knowledge of the language.


There's a recently-developed package for some refactoring at http://saquery.com/sublime-text-refactoring-plugin/ (or https://github.com/s-a/sublime-text-refactor).