Details
-
Type:
New Feature
-
Status:
Reopened
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.1
-
Fix Version/s: 2.4
-
Labels:None
-
Number of attachments :
Description
Background: Modern IDEs offer code templates for new files or new methods. Also some code formatters add automatically template-based javadoc comments. Typically such templates use tags as placeholders for the real description which are located at the end of the line. Enhancing the standard tag detection to support EOL tags might trigger too many false positives, especially if the tag comment has to be extracted too.
Therefore this proposal is about the support of an extension to the configuration to support tags defined as regular expression:
<regexpTags> <regexpTag>\\* (.*)DOCUMENT_ME$<regexpTag> <regexpTags>
The algorithm should match the regexp against each line. The first match of the line is the hit and the first group defines the text of the tag. In this situation you will avoid false positives for the standard tags and users like me can define advanced search patterns.
Background of this issue are the comments at MTAGLIST-17, see the attachment there for code with such tags.
Issue Links
- is duplicated by
-
MTAGLIST-15
either support ignoring of casing for tags or implement tag-classes (clusters)
-
Since I got the issue wrong and for some reasons normal JIRA users cannot create links to other issues here, again the corrected tag:
MTAGLIST-17