Reset to default
Trending sort is based off of the default sorting method — by highest score — but it boosts votes that have happened recently, helping to surface more up-to-date answers.
It falls back to sorting by highest score if no posts are trending.
Project Window, click on the Gears icon in the title bar and deselect “Compact Empty Middle Packages”. Then you can separately select the
report package and rename it.
N.B. As of IntelliJ IDEA 2016.3, there is a bug in the menu and when the option is selected, it has a different label “Hide Empty Middle Packages”, see https://youtrack.jetbrains.com/issue/IDEA-168362.
To change the full package name:
User jkovacs has already answered this, but I’m going to cover this in a bit more detail. For example, if you want to change
In your Project pane, click on the little gear icon ()
Uncheck / de-select the
Compact Empty Middle Packagesoption:
Your package directory will now be broken up in individual directories.
Individually select each directory you want to rename, and:
- Right-click it
- Click on
- In the Pop-up dialog, click on
Rename Packageinstead of Rename Directory
- Enter the new name and hit Refactor
- Allow a minute to let Android Studio update all changes
Note: When renaming
comin Android Studio, it might give a warning. In such case, select Rename All:
Now open your Gradle Build File (
mobile). Update the
applicationIdto your new Package Name and Sync Gradle, if it hasn’t already been updated automatically:
Done! Anyway, Android Studio needs to make this process a little simpler.