History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-17910
Type: New Feature New Feature
Status: Open Open
Assignee: Unassigned
Reporter: Brian Pontarelli
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

Fully support package-info.java

Created: 24 Apr 08 20:42   Updated: 26 Apr 08 23:22
Component/s: Code Formatting and Code Style

Environment: Linux, JDK 6

Build: 7,757


 Description  « Hide
Currently, IntelliJ doesn't fully support working in the package-info.java class. Here are the things that are currently not available:
  • Copy and paste using the Project Navigation
  • Refactoring (move to package, etc)
  • Code completion (for example if you start a JavaDoc comment, IntelliJ doesn't close it automatically like it does in Java source code) unless the package definition is typed into the file by hand, but since there isn't any Create New support, this is slightly cumbersome.
  • Intelli-sense (you cannot complete annotations because they must be fully-qualified and IntellIj doesn't seem to know how to complete fully qualified annotations)
  • Create New package-info.java from the context menu
  • Really no error highlight at all
  • No quick javadoc support for package-info.java files. For example, if you hit ctrl-q on an import statement for the package, it should pull in the JavaDoc that is located in the package-info.java file in the source JAR. Also, if you are in the package-info.java file and working on JavaDoc, you should be able to hit ctrl-q to preview your work.

Also, it might be nice to automatically insert a package-info.java class into each newly created package. This could be an option so folks could turn it on and off.



 All   Comments   Work Log   Change History      Sort Order:
Yann Cébron - 25 Apr 08 00:11
there are a couple of related issues around (IDEABKL-5038) but this one here sums it up nicely