If you rename a function in a script library it should auto update all referenced design elements that uses that function. The same for local / global variables.
I think this is a really good idea, but maybe to alleviate Peter's concern, there could be an option when renaming on whether to update all references.
Well it should be a right-click + 'rename' function, but to temporary rename the function yourself should not be a problem then. Take a look how microsoft solved this in their .NET environments. You can both manually rename your function, and rename it with the rename function with a right-click.
I think your on the right track Ferry. I would prefer to see this done as part of a refactor function rather than a simple rename. This would then also pick up renames for classes and variables. per Matt. I am curious to know to what extent the existing Eclipse capabilities can be used.
The existing Eclipse refactoring capabilities can be used to the extent that the AST is available to the refactoring APIs. A parse tree from the editor isn't going to cut it. Refactoring requires deep semantic knowledge of the code.
If IBM is producing a Lotusscript parser->AST in Java, well then...let the community have at it.
It s mandatory that the rename process has knowledge of the the code, since you could have used identical names in different classes (sometime wise, and sometimes foulish).