zielu / GitToolBox

GitToolBox IntelliJ plugin
GNU General Public License v3.0
605 stars 74 forks source link

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

Open kvenn opened 4 months ago

kvenn commented 4 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.