Create some refactoring tools, which may be used to rename symbols automatically. Probably a very huge task.
Another helpful feature would be something like a "abstrahizer", which can be used to extract some code fragments into a new procedure.
Analysis:
The two functionalitites can be implemented as follows:
- Create a replaceall functionality for the editor, which will care about the current style and has a starting and an ending line. Additionally, determine the start and the end of the current procedure. Finally, one has to care about, whether a variable or a table is globally or locally defined or if it is an procedure argument.
- The abstrahizer will be a more experimental feature: depending on the marked lines, the abstrahizer will try to detect in- and output of the current code section and create a new procedure from this informationin a separate window. Probably it would be neat, that the replaceall functionality is separated into a find all and a replace matches functionality, because the find all could be used in this context, too.
Implementation:
- Implementation: The new functionality was implemented as proposed by the analysis.
- Revision: [r390]
- Implementation test: The symbol renaming feature and the code extractor were tested on many possible code sources
Documentation:
- ChangesLog: updated
- Comments: The changed sections of code were commented sufficiently
- Documentation articles: New documentation articles were created and the documentation index was updated correspondingly
- Language files: updated
Tests:
This functionality was tested manually. All deviations were resolved.
Diff:
Diff:
Diff:
Diff:
Diff: