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.
Summary: | Action items customizer should support multiple different block comments | ||
---|---|---|---|
Product: | platform | Reporter: | Martin Janicek <mjanicek> |
Component: | Action Items | Assignee: | Jan Peska <JPESKA> |
Status: | NEW --- | ||
Severity: | normal | CC: | pjiricka |
Priority: | P3 | ||
Version: | 7.4 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
Martin Janicek
2013-02-18 13:00:56 UTC
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. |