-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Labels
area-autolinksIssues or features related to autolinksIssues or features related to autolinks
Milestone
Description
Current support for autolinks as
"gitlens.autolinks": [{ "prefix": "JIRA-", "url": "https://jira.company.com/issue?query=<num>" }]
is quite limited. And it seems to me there are more requirements where is this matched in the text, that are not clearly visible - I have had instances where the rule didn't seem to trigger and make a link.
How about changing this so that we have a list of regexes, and the link can use capturing groups from the regex? While those would be matched in the entire commit message. Gerrit's configuration of [commentlink]
could be a nice base of the idea.
dezsiszabi, dr-dime, guillempuche, cachius and PeteNealIAR
Metadata
Metadata
Assignees
Labels
area-autolinksIssues or features related to autolinksIssues or features related to autolinks