You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "istinnstudio (via GitHub)" <gi...@apache.org> on 2025/04/17 21:08:22 UTC
[I] Using more than 2 forward slashes "/" can sometimes change the color of comments in editor [netbeans]
istinnstudio opened a new issue, #8432:
URL: https://github.com/apache/netbeans/issues/8432
### Apache NetBeans version
Apache NetBeans 25
### What happened
NB24:
I think that 24 is the version introduced this bug but I am not sure.
```
public class comments_bug {
// A COMMENT for (int i = 0; i < x.size(); i++) {}
/// for (int i = 0; i < x.size(); i++) {}
/// for (int i = 0; i < x.size(); i++) {}
/// for (int i = 0; i < x.size(); i++) {}
///
///
///
///
}
```

### Language / Project Type / NetBeans Component
_No response_
### How to reproduce
use something like:
```
public class comments_bug {
// A COMMENT for (int i = 0; i < x.size(); i++) {}
/// for (int i = 0; i < x.size(); i++) {}
/// for (int i = 0; i < x.size(); i++) {}
/// for (int i = 0; i < x.size(); i++) {}
///
///
///
///
}
```
### Did this work correctly in an earlier version?
No / Don't know
### Operating System
windows 10 pro
### JDK
21
### Apache NetBeans packaging
Apache NetBeans provided installer
### Anything else
_No response_
### Are you willing to submit a pull request?
No
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] Using more than 2 forward slashes "/" can sometimes change the color of comments in editor [netbeans]
Posted by "neilcsmith-net (via GitHub)" <gi...@apache.org>.
neilcsmith-net commented on issue #8432:
URL: https://github.com/apache/netbeans/issues/8432#issuecomment-2814935721
This is not a bug. `///` is the line prefix for Markdown Javadoc. Editor support was added in #7491 Your `<` is presumably being seen as the opening of a tag.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] Using more than 2 forward slashes "/" can sometimes change the color of comments in editor [netbeans]
Posted by "istinnstudio (via GitHub)" <gi...@apache.org>.
istinnstudio commented on issue #8432:
URL: https://github.com/apache/netbeans/issues/8432#issuecomment-2816209053
Sometimes I use the comment button to quickly comment out code. If the code has already comments i use it more than once in order to uncomment it back easily, so I often use 4 of those ////, There could be a check for the javadoc code not to recognize as a doc anything that has more than 3 ///. Otherwise color hallucination is not that bad...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] Using more than 2 forward slashes "/" can sometimes change the color of comments in editor [netbeans]
Posted by "neilcsmith-net (via GitHub)" <gi...@apache.org>.
neilcsmith-net closed issue #8432: Using more than 2 forward slashes "/" can sometimes change the color of comments in editor
URL: https://github.com/apache/netbeans/issues/8432
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists