Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there "Save as" option in Android Studio file menu?

I have recently move from Eclipse to Android Studio. I could not find "File > Save as" options. Is there any alternative for this?

(Sometimes, I create new class or XML by creating new one from already existed content, and than do changes. In Eclipise I have been doing this by using "Save as" options from File menu)

like image 336
ivan.panasiuk Avatar asked Nov 03 '15 21:11

ivan.panasiuk


1 Answers

The easiest solution which I've used multiple times would be:

  • Right click on the original file in project hierarchy panel.
  • Choose Refactor
  • Choose Copy
  • Enter New Name and Destination Package

Shortcut: F5

like image 73
frogatto Avatar answered Oct 29 '22 11:10

frogatto