Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367620 - better support for creating package-info.java files
Summary: better support for creating package-info.java files
Status: CLOSED DUPLICATE of bug 86168
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.8   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-29 07:30 EST by Philippe Marschall CLA
Modified: 2012-01-03 06:00 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Marschall CLA 2011-12-29 07:30:09 EST
Build Identifier: I20110915-1308

It would be nice if JDT had better support for creating package-info.java files. Right now what I do is New → File → "package-info.java" and then do the quick fix for for adding the package declaration (New → Class doesn't work). This is a bit annoying especially for APIs that require such files like JAXB. It would be nice if the following two would be supported:

 - In the New wizard under Java there is an entry "Package Info" (or similar)
 - In New → Package there is a checkbox for "create package-info.java"

Reproducible: Always
Comment 1 Dani Megert CLA 2012-01-03 06:00:15 EST

*** This bug has been marked as a duplicate of bug 86168 ***