Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » [Compare] Javadoc not as smart as editor
[Compare] Javadoc not as smart as editor [message #468277] Tue, 04 August 2009 15:58 Go to next message
Eclipse UserFriend
I hit this scenario a lot when I am ensuring I have proper comments in my code before I check it in.

1. Compare Java source file with repository
2. Notice the class is missing a multi-line comment
3. Alt-Shift-J on the class to generate a comment
4. Navigate to the first asterisk and press Enter

Expected result: It would go to the next line, but put an asterisk in there for me so that it's still a "proper" multi-line comment. This is what the Java editor does.

Actual result: It just creates a blank line and puts me in the first column; not indented and no asterisk.

I know JDT compare was improved in 3.5. Is this a new problem or just an additional candidate for enhancement?

Cheers
Ben
Re: [Compare] Javadoc not as smart as editor [message #468337 is a reply to message #468277] Wed, 05 August 2009 03:25 Go to previous message
Eclipse UserFriend
Ben Vitale wrote:
> I hit this scenario a lot when I am ensuring I have proper comments in
> my code before I check it in.
>
> 1. Compare Java source file with repository
> 2. Notice the class is missing a multi-line comment
> 3. Alt-Shift-J on the class to generate a comment
> 4. Navigate to the first asterisk and press Enter
>
> Expected result: It would go to the next line, but put an asterisk in
> there for me so that it's still a "proper" multi-line comment. This is
> what the Java editor does.
>
> Actual result: It just creates a blank line and puts me in the first
> column; not indented and no asterisk.
>
> I know JDT compare was improved in 3.5. Is this a new problem or just
> an additional candidate for enhancement?
Please file a bug report against JDT Text.

Dani
>
> Cheers
> Ben
Previous Topic:Java Templates with Imports
Next Topic:Eclipse export table rows in .sql
Goto Forum:
  


Current Time: Sun Sep 14 06:59:33 EDT 2025

Powered by FUDForum. Page generated in 0.02889 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top