This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 143115 - Comment toggle issue
Summary: Comment toggle issue
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC All
: P3 blocker (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-07 00:51 UTC by crimcat
Modified: 2013-07-19 12:52 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description crimcat 2008-08-07 00:51:37 UTC
Hello,

This issue is more specific to C/C++ development so I have posted it to CND/EDITOR.
Ctrl-Shift-C key combination is defined to toggle comments on and off. But for some coding style triple-slash comment
style is used like the following:
/// a_class::methos();
Current implementation after Ctrl-Shift-C removes only '//', which leads to wrong C++ syntax. Suggest removing all
slashes to get compilable code. Also, this may be applicable for any number of slashes. Suggest uncomment to compilable
source code in the case.
Comment 1 Alexander Simon 2008-08-28 19:28:57 UTC
It looks as enchancement
Comment 2 dnikitin 2008-11-05 16:07:51 UTC
>> Suggest removing all slashes
I think that it's not solution.

So, If I try to comment the following code:

// invoke methodA
a_class::methodA();

and then try to uncomment this code then I will get uncompilable source code (because comment line will be uncommented too).