2012年1月27日星期五

Renaming, and Moving Files In Eclipse



Moving and Renaming Files and Folders

Using the Eclipse menu you can rename and move source controlled files using the Refactor command. To move a file into a directory outside the project directory, right-click the file and selectRefactor > Move from the Eclipse menu. Browse to the new location and click OK. You can also drag a file to a new location. Either way, Teamprise pends a rename to the file and a check mark appears over the label in your Eclipse resource view.

To change the name of a resource, right-click the file and select Refactor > Rename from the Eclipse menu. Type the new name and click OK. Teamprise pends a rename to the file and a check mark appears over the label in your Eclipse resource view.



Click the check-in icon to commit pending changes to the server.

没有评论: