This feature would be called something like Flatten Directories in the IntelliJ vocabulary, but that doesn't seem to exist. We only have Flatten Modules and Flatten Packages. I found this issue, and one of the comments mentions you might try the Packages view, but unsure if that is exactly what you are looking for..