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.
Steps: - Add this C code into editor: ------------------------------ int f() { return 0; } int main() { } ------------------------------ - Select 'f' function and press on 'Comment' button ==> code will be transformed to /* int f() { return 0; } */ int main() { } - Push Tools|Format menu item ==> code will be transformed to /* * int f() { * return 0; * } */ int main() { } But I cannot uncomment text quickly. For example, Select 'f' function again and press 'Uncomment' button ==> * int f() { * return 0; * } int main() { }
another use case: type "/*", press enter and add comment, type "*/" as result you get the following code: /* * comment */ try press Ctrl+/ or Ctrl+Shift+D to uncomment this bit of code --> an asterisk from middle line is not deleted I get the following: * comment
Yes, this style of comments - when each line starts with "*" - can't be easily uncommented. If you just press comment button (or press ctrl-slash) and then (some time later) uncomment - it works as expected. So I believe it's a P4.
fixed
-
Problem is described by dnikitin cannot be resolved. /* *p = 1; */ What you see in comment? 'p = 1' or '*p = 1' First problem is fixed. Verified in 200803250006 build