Bug 441213 - Toggle Block comment
Summary: Toggle Block comment
Status: CLOSED DUPLICATE of bug 67286
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 4.3.2   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-05 20:12 EDT by Deepak CLA
Modified: 2014-08-13 03:44 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Deepak CLA 2014-08-05 20:12:47 EDT
While Add Block Comment and Remove Block Comment feature is provided, the provision to remove Toggle Comment is not provided.
Comment 1 Manoj N Palat CLA 2014-08-06 00:15:50 EDT
Moving to ui for comment
Comment 2 Dani Megert CLA 2014-08-06 06:24:55 EDT

*** This bug has been marked as a duplicate of bug 58435 ***
Comment 3 Deepak CLA 2014-08-12 13:53:40 EDT
The bug is not duplicate of bug 58435. Perhaps more explanation should be added.

For example Add Block Comment adds a comment:

/*	String str1="str1";
	String str2="str2";
	String str3="str3";
	String str4="str4";
	String str5="str5";
	String str6="str6";*/

Right-click and select Source>Format.

The comment block becomes the following or similar (for short lines the comment block may be wrapped).

/*
* String str1="str1"; 
*String str2="str2"; 
*String str3="str3"; 
*String str4="str4"; 
*String str5="str5"; 
*String str6="str6";
*/

Right-click and select Source>Remove Block Comment. 

The comment is not completely removed, and becomes the following or similar (for short lines the comment block may be wrapped).

 
* String str1="str1"; 
*String str2="str2"; 
*String str3="str3"; 
*String str4="str4"; 
*String str5="str5"; 
*String str6="str6";
Comment 4 Dani Megert CLA 2014-08-13 03:44:05 EDT
(In reply to Deepak from comment #3)
> The bug is not duplicate of bug 58435. Perhaps more explanation should be
> added.

Definitely. There was no word about formatting in the initial comment ;-).

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