forked from vim-scripts/refactor
-
Notifications
You must be signed in to change notification settings - Fork 1
C/C++ refactoring tool
Vaelatern/vim-script-refactor
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a mirror of http://www.vim.org/scripts/script.php?script_id=2087 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 [email protected] 2007/12/4
About
C/C++ refactoring tool
Resources
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- Vim Script 100.0%