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 169234

Summary: Uncomment lines start from #
Product: editor Reporter: danilchenko_anton <danilchenko_anton>
Component: CSL (API & infrastructure)Assignee: Svata Dedic <sdedic>
Status: RESOLVED WONTFIX    
Severity: blocker CC: rmatous
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on: 226413    
Bug Blocks:    

Description danilchenko_anton 2009-07-27 14:56:50 UTC
All right at comment and uncomment one-line comments like this:
// $test = 1;

But if I comment next variant:
# $test = 1;

and press ctrl+/ - this line not uncomment.

Please, uncomment lines start from # and //.
Comment 1 rmatous 2009-10-06 15:40:44 UTC
Problem two possible way for line comments in php: // or #

We implement GsfLanguage.getLineCommentPrefix() which expects just one way. Not sure how to fix it:
1/ improve api/spi in csl
2/ have in options prefered way for line comments (// or #)
3/ implement ourself TogleCommentAction

If there is any reason why 1/ shouldn't be preferred way then please reassign back (then probably 3/ should be chosen)

Comment 2 Martin Balin 2016-07-07 07:31:17 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss