Bug 123992 - [typing] /* and /** should detect and insert filecomment code template
Summary: [typing] /* and /** should detect and insert filecomment code template
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows 2000
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-16 12:09 EST by Mario Jauvin CLA
Modified: 2009-08-11 03:05 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mario Jauvin CLA 2006-01-16 12:09:32 EST
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.
Comment 1 Mario Jauvin CLA 2006-01-16 12:09:57 EST
Same behaviour in 3.1.1
Comment 2 Martin Aeschlimann CLA 2006-01-17 09:31:13 EST
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). 
Comment 3 Dani Megert CLA 2009-08-11 03:05:58 EDT
See also bug 286088.