This is an automated email from the ASF dual-hosted git repository.

liuxiaocs pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/incubator-hugegraph-toolchain.git


The following commit(s) were added to refs/heads/master by this push:
     new ef68cc5d chore: make IDEA support IssueNavigationLink (#600)
ef68cc5d is described below

commit ef68cc5d0582b8b43589e3c651276fc03a7d1515
Author: Liu Xiao <[email protected]>
AuthorDate: Mon Apr 15 01:08:14 2024 +0800

    chore: make IDEA support IssueNavigationLink (#600)
    
    * chore: make IDEA support IssueNavigationLink
    
    * add empty line
---
 .gitignore    |  3 ++-
 .idea/vcs.xml | 36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index 5e8ef496..308eac31 100644
--- a/.gitignore
+++ b/.gitignore
@@ -22,7 +22,8 @@ gen-java
 .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 00000000..4d824917
--- /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>

Reply via email to