Automatic code refactoring

Calvin Spealman calvin at
Tue Mar 1 11:17:03 UTC 2005

I'm looking into contributing to KDevelop's support of the Python
programming language, and one of the things I want to do is add refactoring
features (a'la Bicycle Repair Man). For example, being able to rename
methods and classes in scope-smart fashions, across multiple modules.

I don't see anything in the documentation of how the language parts work, as
to how this could be accomplished. Idealing, I want to add a menu and/or
contex sub-menu when working with Python files. Does anyone have any

Also, I see parsing of source seems to be done in completely arbitrary ways
by different language parts. What about building in a EBNF parser that
could make parsing of all languages much more advanced. This could make
scope identification easier for refactoring features like this, as well as
the autocomplete mechanisms.


More information about the KDevelop-devel mailing list