chore: make IDEA support IssueNavigationLink (#600)
* chore: make IDEA support IssueNavigationLink
* add empty line
diff --git a/.gitignore b/.gitignore
index 5e8ef49..308eac3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -22,7 +22,8 @@
.svn
### IntelliJ IDEA ###
-.idea/
+.idea/*
+!.idea/vcs.xml
*.iws
*.iml
*.ipr
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..4d82491
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one or more
+ ~ contributor license agreements. See the NOTICE file distributed with
+ ~ this work for additional information regarding copyright ownership.
+ ~ The ASF licenses this file to You under the Apache License, Version 2.0
+ ~ (the "License"); you may not use this file except in compliance with
+ ~ the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ -->
+<project version="4">
+ <component name="IssueNavigationConfiguration">
+ <option name="links">
+ <list>
+ <IssueNavigationLink>
+ <option name="issueRegexp" value="#(\d+)" />
+ <!--
+ GitHub share the sequence number of issues and pull requests, and it will redirect to
+ the right place when the the sequence number not match kind.
+ -->
+ <option name="linkRegexp" value="https://github.com/apache/incubator-hugegraph-toolchain/pull/$1" />
+ </IssueNavigationLink>
+ </list>
+ </option>
+ </component>
+ <component name="VcsDirectoryMappings">
+ <mapping directory="$PROJECT_DIR$" vcs="Git" />
+ </component>
+</project>