ghactions-manager icon indicating copy to clipboard operation
ghactions-manager copied to clipboard

Open pull request in IntelliJ

Open bric3 opened this issue 1 year ago • 5 comments

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).

image

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.
Fund with Polar

bric3 avatar Mar 27 '23 13:03 bric3

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 avatar Mar 29 '23 17:03 cunla

@cunla Have opened a youtrack issue on this ?

bric3 avatar Apr 25 '23 14:04 bric3

No... I did ask on their slack, but do you mind opening an issue on youtrack?

cunla avatar Apr 25 '23 14:04 cunla

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 ?

bric3 avatar Apr 25 '23 14:04 bric3

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

bric3 avatar Apr 26 '23 19:04 bric3

v2024.2.0

cunla avatar May 31 '24 16:05 cunla