Hi benoit,
There is a "Snippets" tool in one of the web/JSP plug ins.
It seems to have been intended for JSP but I have used it with other
source types.
It allows you to create a template with substitutions. When you insert
the '"Snippet" a dialog box asks for the values of the parameters to
OK, thats ok...
Eclipse enable you to do this...
If you copy a class and paste it in other package, eclipse refactores the
package name of the class...
If you make rigth click on a class file (eg. OldName.java), you can
choose the 'Refactor' option and 'Rename...' option. This enable ask fo
I know that but i imagine a plugin which do the following :
1) CTRL + C in order to copy a file (example : xxxManagerImpl)
2) CTRL + V => Eclipse ask for the new name of the file : wwwManagerImpl
The plus : Eclipse replace all xxx string in the file by www in case
sensitive mode
and my new www
You can click on 'search' button in the toolbar
- Input the word that do you want to replace
- Click the 'Replace...' button
- After Eclipse found all accurrences, you need to configure you search &
replace
If you want to replace words in an alone file, you can use Ctrl+F, this
allow you replace
I often use copy/paste and replace function in order to duplicate my manager/
dao /action...
Do you know an eclipse plugin wich can automaticcaly replace occurences of
string when doing a file copy/paste.
For example, to replace all xxxManager by zzzManager in the file.
Thanks,
B.
--
View this