Knowledge require for plugin development in Intellij IDEA
Hi Team,
I am very new to plugin development of intellij. So started learning from your official page. Some of basic I learnt, and implemented. But now I am facing some issue regarding github APIs integration with my own plugin. Is there any support which will automatically call GitHub Commit window of Intellij. Please provide me some document/knowledge about this. I dont know is this the right way to appraoch you. IF NOT PLEASE REDIRECT ME .
Thanks and Regards
Sanjay Das :)
Please sign in to leave a comment.
Hi Sanjay. What do you mean by "automatically call GitHub Commit window"? Do you mean programmatically? If so, please check if AbstractVcsHelper.commitChanges() works for you. Don't hesitate to ask if you need more details.
Hi Kirill Likhodedov , Thanks for helping out...
So I am stating my problem.
I want to develop a plugin where the plugin should communicate with github. e.g.
1. Commit & Pushing of codes
2. Then take response from github
3. Do some analysis on the respons from github and so on.
Everything i did , but only github connection part is not done .
Please help me on this.
The step #2 is not quite clear to me. What kind of request are you sending to GitHub after pushing? Or do you mean that you want to analyze the output of the `git push` command which was executed on the step #1?
Sorry for late reply. By the way you are right. I want git push command output which is executed on step 1.
And how do you execute `git push`? The best way to do it is to call `Git.getInstance().push()` – it will return a GitCommandResult, which you can analyze.