generated from JetBrains/intellij-platform-plugin-template
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(exts-git): extract and rename git plugin support #183
This commit extracts the git plugin support and renames the refactoring implementation, including changes to the package, resource-bundle, and plugin.xml. It also adds a new file cc.unitmesh.git.xml and modifies the build.gradle.kts file to include the Git4Idea plugin.
- Loading branch information
Showing
7 changed files
with
34 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...esh/devti/actions/vcs/CodeReviewAction.kt → ...tmesh/git/actions/vcs/CodeReviewAction.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../devti/actions/vcs/PrepushReviewAction.kt → ...sh/git/actions/vcs/PrepushReviewAction.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<idea-plugin package="cc.unitmesh.git"> | ||
<!--suppress PluginXmlValidity --> | ||
<dependencies> | ||
<plugin id="Git4Idea"/> | ||
</dependencies> | ||
|
||
<extensions defaultExtensionNs="cc.unitmesh"> | ||
<action id="autodev.Vcs.CodeReview" | ||
class="cc.unitmesh.git.actions.vcs.CodeReviewAction" | ||
icon="cc.unitmesh.devti.AutoDevIcons.AI_COPILOT" | ||
description="Ask AI to review code"> | ||
|
||
<add-to-group group-id="Vcs.Log.ChangesBrowser.Popup" relative-to-action="Vcs.RepositoryChangesBrowserMenu" | ||
anchor="after"/> | ||
<add-to-group group-id="Vcs.Log.ContextMenu" relative-to-action="Vcs.ShowDiffWithLocal" anchor="after"/> | ||
</action> | ||
|
||
<action id="autodev.Vcs.PrepushReview" | ||
class="cc.unitmesh.git.actions.vcs.PrepushReviewAction" | ||
icon="cc.unitmesh.devti.AutoDevIcons.AI_COPILOT" | ||
description="Ask AI to review code"> | ||
|
||
<add-to-group group-id="ChangesViewToolbar" anchor="last"/> | ||
<add-to-group group-id="ChangesViewPopupMenu" relative-to-action="ChangesView.Revert" anchor="after"/> | ||
</action> | ||
</extensions> | ||
</idea-plugin> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters