Let\'s suppose this is the package name:
package com.company.name. How do I change company?
P.S. I saw how to change name but
I found another solution for renaming a package in the entire project:
Open a file in the package. IntelliJ displays the breadcrumbs of the file, above the opened file. On the package you want renamed: Right click > Refactor > Rename. This renames the package/directory throughout the entire project.