refactor : C/C++ refactoring tool
script karma |
Rating 74/43,
Downloaded by 4512 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
bi dongliang |
|
script type |
utility |
|
description |
This plugin contains some basic refactoring commands for C/C++.
For the complexity of C++, instead of really parse the source code, I used
regular expression matches. But it works well as I tested.
NOTE: It doesn't work for old style parameter declaratoins! And I admit that it may mess up your code sometime if you occasionally forget the rules. Thanks for the kind man who point out this.
The refactor commands and their default key map currently are:
1. <A-r>e Extract method
2. <A-r>p local variable to Parameter
3. <A-r>r Rename local variable
4. <A-r>d Delete parameter
5. <A-r>o reOrder parameters
6. <A-r>c introduce Constant
BiDongliang bidongliang_2000@126.com 2007/12/4 |
|
install details |
|
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.97.9.174
|