Maxim Muzafarov created CASSANDRA-18126:
-------------------------------------------

             Summary: Add to the IntelliJ Git Window an issue navigation link 
to Cassandra's Jira
                 Key: CASSANDRA-18126
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18126
             Project: Cassandra
          Issue Type: Task
            Reporter: Maxim Muzafarov
            Assignee: Maxim Muzafarov


It is possible to navigate from the IntelliJ IDEA Git window to a corresponding 
Cassandra issue, the Apache Jira if mentioned in the git message. The example 
below shows how _CASSANDRA-*_ letters are turned on in the commit message to an 
appropriate Cassandra Jira link:

!https://files.slack.com/files-pri/T4S1WH2J3-F04FW0ZCA02/image.png!

We should update the IntelliJ IDEA configuration and make this behaviour a 
default for the {{ant generate-idea-files}} process.

To achieve this manually you can update the {{.idea/vcs.xml}} file in the 
Cassandra project with the following:
{code:java}
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
<component name="IssueNavigationConfiguration">
<option name="links">
<list>
<IssueNavigationLink>
<option name="issueRegexp" value="CASSANDRA-(\d+)" />
<option 
name="linkRegexp"value="https://issues.apache.org/jira/browse/CASSANDRA-$1"/>
</IssueNavigationLink>
</list>
</option>
</component>
</project>
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to