Reputation: 225
I'd like to change the naming conventions of parameters. Until now we've used a "p"-prefix, but I think it isn't necessary and I would like to get rid of the prefix and also change the uppercase character which follows the "p" to a lowercase. Is this somehow possible to do in the whole project in "one run"?
Upvotes: 4
Views: 147
Reputation: 2030
Another solution is to use File / Search. You can do a find and replace in all the files in the workspace. This accepts regular expressions as well.
Upvotes: 0
Reputation: 20150
To change the name of one parameter in the whole project in Eclipse do the following:
Click on the parameter.
press [alt] + [shift] + [R].
enter the new name.
press enter to accept the new name, it will change over the whole project. This also works on class names, methods etc.
I'm sorry, but this way you have to do this for all parameters again.
Upvotes: 1