Add IssueNavigationLink (#1964)

Signed-off-by: Sergey Nuyanzin <snuyanzin@gmail.com>
This commit is contained in:
Sergey Nuyanzin 2022-01-27 18:04:03 +01:00 committed by GitHub
parent 1568407c36
commit e399ac1f27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 0 deletions

1
.gitignore vendored
View File

@ -10,6 +10,7 @@ out/
# include shared intellij config
!.idea/inspectionProfiles/Project_Default.xml
!.idea/runConfigurations/Debug_OpenSearch.xml
!.idea/vcs.xml
# These files are generated in the main tree by IntelliJ
benchmarks/src/main/generated/*

20
.idea/vcs.xml Normal file
View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="IssueNavigationConfiguration">
<option name="links">
<list>
<IssueNavigationLink>
<option name="issueRegexp" value="#(\d+)" />
<option name="linkRegexp" value="https://github.com/opensearch-project/OpenSearch/pulls/$1" />
</IssueNavigationLink>
<IssueNavigationLink>
<option name="issueRegexp" value="#(\d+)" />
<option name="linkRegexp" value="https://github.com/opensearch-project/OpenSearch/issues/$1" />
</IssueNavigationLink>
</list>
</option>
</component>
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>