Package Module Directory

Coming from eclipse to ultimate.
1. In what context, when and where is File>New>Package enabled?
2. Can I convert a module to a pacakge?
3. Why is

    package mypackagename;

underlined in read?

1 comment
Comment actions Permalink

1. It's enabled for any directory that is configured as Sources and for any package under Source root.

2. There is no automated action for that, also not sure what exactly what you are trying to achieve. Normally package belongs to a module.

3. Make sure that your source file is located in the mypackagename directory under the source root.


Please sign in to leave a comment.