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.
A lot of languages supports multiple different block comments. For example in GSP (Groovy server pages - something similar to JSP only using groovy as the main language) one can use three block comment types: The one from HTML: <!-- --> The one from JSP: <%-- --%> And GSP specific: %{-- --}% Action items should support such use case.
Isn't this already possible? When I select HTML in the Action Items settings, the dialog will correctly recognize that block comment markers are <!-- -->. When I select JSP, it will correctly recognize that block comment markers are <%-- --%>. So just GSP is missing, and this may need to be addressed on the GSP side.
Well I just pick one of the cases (simply GSP have support for three different block comments - each of them can be in GSP and they are all valid comments). Doesn't actually matters they are equals to HTML/JSP comment symbols. What I'm saying is that some languages can have action items in multiple different block comments (beside GSP, there is also a PHP use case) and current action items UI/Infrastructure does not support this (at least as I understand it --> of course I can be wrong :)).
(In reply to comment #2) > What I'm saying is that some languages can have action items in multiple > different block comments (beside GSP, there is also a PHP use case) and current > action items UI/Infrastructure does not support this (at least as I understand > it --> of course I can be wrong :)). You are right Martin, right now you can specify just one line comment pattern and one block comment pattern. I'll take a look on that.
One more thing that comes to my mind. Groovy also supports two different line comments (either classic '//' or groovy specific '#!').
I think allowing comma or vertical bar separated lists would do.