Re: eclipse: pluging for variable/function name replacement
- From: Roland de Ruiter <roland.de.ruiter@xxxxxxxxxxxxxxx>
- Date: Fri, 16 Jun 2006 18:31:05 +0200
kayoux@xxxxxxxxxxx wrote:
Hi,Maybe you're looking for something else, but in Java projects you can use the rename refactoring to rename a variable/method/type throughout your project.
Is there a plugin that would enable me to change all occurrences of a
variable/function name in a software project?
I mean I see that I can change a variable name in one file at time,
selecting each one.
I also saw that there's a org.eclipse.core.variables package that could
help to do so.. but I believe I have to write my own code.
I want a plugin that will take as arguments all the names I want ot
change or a certain type (say all globals or functions) and change them
all given a pattern.
Is there something already done for this?
Thank you,
Yvan
Select the variable/method/type by clicking on it. Then right-click and choose Refactor > Rename from the popup menu. Alternatively, use the keyboard shortcut Alt+Shift+R.
Refactor > Rename and Refactor > Move also works for files in the package explorer.
--
Regards,
Roland
.
- References:
- Prev by Date: eclipse: pluging for variable/function name replacement
- Next by Date: <apply> task of ant and file timestamp comparison
- Previous by thread: eclipse: pluging for variable/function name replacement
- Next by thread: <apply> task of ant and file timestamp comparison
- Index(es):
Relevant Pages
|
|