How can I change top level package name in IntelliJ IDEA?
问题 I have a package structure: com.report.domain.model I would like to change it to com.reporting.domain.model. When I select Refactor → Rename on package com.report.domain.model, I only see an option to rename 'model'. I have tried switching between Project view and Package , but to no avail. I know how to make this change in Eclipse via Navigator view, but how can I do the same in IntelliJ IDEA? 回答1: In the Project Window, click on the Gears icon in the title bar and deselect "Compact Empty