Rename package in Android Studio

后端 未结 30 2562
深忆病人
深忆病人 2020-11-21 05:21

How do you rename packages in the new IDE Android Studio, based on IntelliJ IDEA?

Is there an automatic refactoring included?

I want to make bulk refactorin

30条回答
  •  滥情空心
    2020-11-21 05:48

    1. Press Ctrl + Shift + R

    2. Replace the old package with the new one.

    3. Right click on the package name.

    4. Refactor > Rename and rename to the new one

提交回复
热议问题