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. xxxxOldName.java), you can choose the 'Refactor' option and 'Rename...' option. This enable ask for the new name (xxxxNewName.java) and case sensitive into the file... and ... vualá... that's named xxxxNewName.java Jesfre (y) benoit wrote: > > 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 wwwManagerImpl could be deployed immediately ! > > My new wwwManager is ok > > Jesfre a écrit : >> 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 words in the current file... >> >> you can see.. >> >> http://eclipsetutorial.forge.os4os.org/in2.htm >> https://eclipse-tutorial.dev.java.net/ >> https://eclipse-tutorial.dev.java.net/eclipse-tutorial/part1.html >> http://seal.ifi.unizh.ch/fileadmin/User_Filemount/Vorlesungs_Folien/Informatik_I/WS04_05/Uebung/Eclipse-Tutorial.pdf >> >> >> >> benoit wrote: >> >>> 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. >>> >>> >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/eclipse-copy-paste-replace-plugin-tf3356365s2369.html#a9374189 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
