[Improve](tools)Add IssueNavigationLink to make IDEA support hyperlink on GitHub PR on Git plugin. (#21231)

This commit is contained in:
Calvin Kirs
2023-06-27 14:13:46 +08:00
committed by GitHub
parent 4b94d34ec2
commit 20d441aab4
2 changed files with 33 additions and 0 deletions

1
.gitignore vendored
View File

@ -33,6 +33,7 @@ package-lock.json
.cache
.settings/
**/.idea/
!.idea/vcs.xml
**/.vscode/
**/.fleet/

32
.idea/vcs.xml generated Normal file
View File

@ -0,0 +1,32 @@
<?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="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
<component name="IssueNavigationConfiguration">
<option name="links">
<list>
<IssueNavigationLink>
<option name="issueRegexp" value="#(\d+)" />
<option name="linkRegexp" value="https://github.com/apache/doris/pull/$1" />
</IssueNavigationLink>
</list>
</option>
</component>
</project>