3

Is there a package that allows syntax aware refactoring in python or c++. For example, extracting a value as a parameter, into a function signature, extracting a block as a function (passing local values as parameters into the function signature).

1 Answer 1

5

Python:

https://github.com/python-rope/ropemacs

https://github.com/jorgenschaefer/elpy (also base on rope)

C++:

https://github.com/tuhdo/semantic-refactor

https://github.com/thoni56/c-xrefactory

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.