You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Long term goal: Integrate with various Git GUIs #45
Would be great it we could provide a way for git GUIs to inject themselves in the place of inquirer so that they could use their own GUIs to ask users for prompts. This might be a pie in the sky idea but it would be pretty freaking cool.
Reacted by reingroot, Mat Dave Jones, Daniel Elebash, Motin, Kunal, Kim Kern, Matthew Valenti, nikolayivanov, wujekbogdan, baozidai and 8 more
Here are the docs for writing IntelliJ plugins but it's going to be an open question whether the plug point that you want is available. [VCS Integration Plugins](VCS Integration Plugins) looks like it is in the ballpark.
I've asked internally and pointed to this ticket. Will need patience, still cleaning up from last week's update-the-universe cycle.
@pauleveritt Thanks and no worries on timing. I am still working on several major changes that would be breaking changes for any IDE plugins. It will still be nice to read up and familiarize myself a bit with the ecosystem. Thanks a bunch.
This plugin (https://github.com/jshiell/checkstyle-idea/) adds a checkbox to the "Before Commit" section of the commit dialog. I think this is the best approach because it makes it easy to disable it (good reducing frustration during early adoption in a code base).
Using SourceTree, it is possible to add a custom action that launches git cz in the current repository's directory in a new terminal window. The custom action can be assigned a keyboard shortcut. This is as close of a GUI integration that is possible at the moment it seems. :)
Code here for anyone interested: https://gist.github.com/motin/5896c5b04d039aac48e6a2985d12171b
Reacted by chf007, FURUKAWA,Daisuke, Glenn Mulleners, Dmytro Lisunov, Konstantin Denerz and Rich Christiansen
Activity
pauleveritt commentedon Nov 11, 2015
Here are the docs for writing IntelliJ plugins but it's going to be an open question whether the plug point that you want is available. [VCS Integration Plugins](VCS Integration Plugins) looks like it is in the ballpark.
I've asked internally and pointed to this ticket. Will need patience, still cleaning up from last week's update-the-universe cycle.
jimthedev commentedon Nov 11, 2015
@pauleveritt Thanks and no worries on timing. I am still working on several major changes that would be breaking changes for any IDE plugins. It will still be nice to read up and familiarize myself a bit with the ecosystem. Thanks a bunch.
vjpr commentedon Jun 15, 2016
Just wanted to mention there is an IntelliJ plugin for writing plugins at runtime that can rapidly speed up the development process. https://github.com/dkandalov/live-plugin
VCS Plugin Docs - http://www.jetbrains.org/intellij/sdk/docs/reference_guide/vcs_integration_for_plugins.html
I found a silly IntelliJ plugin that adds a button to the commit dialog to use as a starting point: https://github.com/darekkay/what-the-commit
The hook is in
META_INF:For showing a dialog: http://www.jetbrains.org/intellij/sdk/docs/user_interface_components/dialog_wrapper.html?search=dialog
This plugin (https://github.com/jshiell/checkstyle-idea/) adds a checkbox to the "Before Commit" section of the commit dialog. I think this is the best approach because it makes it easy to disable it (good reducing frustration during early adoption in a code base).
Most of the code needed is here:
https://github.com/jshiell/checkstyle-idea/blob/e04092ab57bfb0a5ad8a26114faca9ecc4318afd/src/main/java/org/infernus/idea/checkstyle/handlers/ScanFilesBeforeCheckinHandler.java
The
checkinHandlerFactoryextension point is what we are looking for:https://github.com/jshiell/checkstyle-idea/blob/e547d13ef4d168a6a2400c76d31bee825b27c3e3/src/main/resources/META-INF/plugin.xml#L184
All the VCS extension points can be found here: https://upsource.jetbrains.com/idea-ce/file/idea-ce-1731d054af4ca27aa827c03929e27eeb0e6a8366/platform/platform-resources/src/META-INF/VcsExtensionPoints.xml
Because of this, I don't think
live-pluginwill do, it would need to be a proper plugin.Turns out
live-plugindoes support extension points (dkandalov/live-plugin#61). Should be very easy to make.darrachequesne commentedon Jul 25, 2017
Hi! We add the need for an IntelliJ integration at work, so we made this really basic plugin: https://plugins.jetbrains.com/plugin/9861-git-commit-template
Source is here: https://github.com/MobileTribe/commit-template-idea-plugin
Open to suggestions!
motin commentedon Sep 28, 2018
Using SourceTree, it is possible to add a custom action that launches
git czin the current repository's directory in a new terminal window. The custom action can be assigned a keyboard shortcut. This is as close of a GUI integration that is possible at the moment it seems. :)Code here for anyone interested: https://gist.github.com/motin/5896c5b04d039aac48e6a2985d12171b