Automatic code refactoring

Amilcar do Carmo Lucas amilcar at ida.ing.tu-bs.de
Tue Mar 1 11:29:05 UTC 2005


Calvin Spealman wrote:
> 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.
Nice.

> 
> 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
> suggestions?
The is some info about languages parts in the API documentation (Website)
> 
> 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.
I'll let roberto and adymo answer that.


Please subscribe to the mailing list otherwise further mails from you migth get silently discarded by the mailserver.


Regards,
Amilcar Lucas





More information about the KDevelop-devel mailing list