ghactions-manager
ghactions-manager copied to clipboard
Open pull request in IntelliJ
Is your feature request related to a problem? Please describe. If using IntelliJ Ultimate (or any IDE that has the github Pull Request support), propose to open the PR in the IDE.
Describe the solution you'd like
The plugin already has a right click menu on the PR list, I believe one "just" needs to add an AnAction
to the action groups of this menu. The action visibility can be check if the Github plugin is enabled (I believe this is bundled by default).

Describe alternatives you've considered Go manually to the PR.
Upvote & Fund
- We're using Polar.sh so you can upvote and help fund this issue.
- We receive the funding once the issue is completed & confirmed by you.
- Thank you in advance for helping prioritize & fund our backlog.
Well, as usual with the intellij github plugin, it is not as simple.
You can't simply link the existing action GHPROpenPullRequestAction
because it needs all the data context in a specific format.
@cunla Have opened a youtrack issue on this ?
No... I did ask on their slack, but do you mind opening an issue on youtrack?
No I have no problem to open the issue, however I fear lack the technical context there.
Ideally one should be able to open a PR (in the toolwindow, maybe the timeline as well) in IJ, from the repository and the PR id. Is that the only elements this plugin can provide ?
Opened this issue, hopefully that will convey what you experienced : https://youtrack.jetbrains.com/issue/IDEA-318999/API-to-open-a-pull-request-from-plugin
v2024.2.0