Search code examples
scalaintellij-14

Add a scala file into parent package


I am in this situation:

enter image description here

The package "vu.co.kaiyin.clipboard" has been created and has a package object in it. Now I want to add a new scala file in the package "vu.co.kaiyin". How can I do that?


Solution

  • Do it on scala folder. Just add vu.co.kaiyin.new_package there - putting all path.