Community
Participate
Working Groups
If a file was created before the new file code template was modified or if the file was imported form another Java project, it is impossible to insert the filecomment code template. I tried typing /** on a newly created line above the package declaration line and it only inserts a dummy 3 line comment. I tried the Source Add Comment (Alt-Shift-J) and it adds a type comment.
Same behaviour in 3.1.1
I think we never implemented the behavior to add a file comment when typing /** at the beginning of a file. I think its a good idea. Moving to jdt.text. Dani protest if you think jdt.ui should continue to implement this (as I did peviously).
See also bug 286088.