zielu / GitToolBox

GitToolBox IntelliJ plugin
GNU General Public License v3.0
607 stars 76 forks source link

[Feature] Quick jump to pull-request for specific line (like blame) #554

Open kvenn opened 6 months ago

kvenn commented 6 months ago

If I've selected a line of code, ideally I could click a button to open the pull request associated with that line within 1 or 2 clicks.

Right now I'm using "Find Pull Request" plugin which requires right clicking, selecting a menu option, then selecting another menu option. It's blocky.

This could super easily slot into GitToolBox:

image

This opens up this popup with the commit message (great!)

image

I'd love if there was another button in this row that was "open PR". Or better yet (for my use case), if the button in the bottom automatically opened the PR instead of this window. Or that I could change the default behavior.

If not pull request is found, it can just be the link to the commit.