Auto-generation of package-info.java

Hello,

Is there a way in Idea 11 to have a package-info.java file automatically generated when creating a new package?

Thanks,
-- Cameron

2 comments
Comment actions Permalink

Hello Cameron,

no, there's no possibility (yet). You may watch/vote corresponding issue http://youtrack.jetbrains.com/issue/IDEA-17910

Yann

0
Comment actions Permalink

Hello,

I'm digging this one out of the grave. But it'd be really convenient if we could have a way of chaining the actions. Usually creating a new package imply creating the package-info.java file.

Is there a way to do that now ? I've seen the issue, it more relates to the capability of creating a package-info.java file from the new file menu in the project window.

What I'm really looking for is to have the templates chaining themselves.

Thanks

1

Please sign in to leave a comment.