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 - Uncomment lines start from #
Summary: Uncomment lines start from #
Status: RESOLVED WONTFIX
Alias: None
Product: editor
Classification: Unclassified
Component: CSL (API & infrastructure) (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on: 226413
Blocks:
  Show dependency tree
 
Reported: 2009-07-27 14:56 UTC by danilchenko_anton
Modified: 2016-07-07 07:31 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 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