how to fix messed up packages?

over the past few month, my packaging has become totally messed up because i moved a lot of stuff around. since scala allows packages != directories, i didn't notice when the plugin failed to adjust the packages & imports. maybe i've created some garbage myself during c&p-sessions. the question is: how can i fix it? there is no inspection for it, so i don't even know where to begin and how many problems exist.

评论操作 固定链接

Currently, there's no such inspection, but it may be very useful indeed. I've created a feature issue.