pwntester / octo.nvim

Edit and review GitHub issues and pull requests from the comfort of your favorite editor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow opening file in context of reviewed branch in Review mode

marcomayer opened this issue · comments

Issue Description

Type: feature request

Describe what happened (or what feature you want)

Quite often when doing code reviews I'd like to open the file in the context of the reviewed branch in a new tab to jump around in code (goto def/ref etc). Currently, I do this by checking out the branch manually and then opening the PR.

It would be awesome if there was a command that opens the file in the tmp folder where the branch is checkout out as the workdir in a new tab.

Hi, Will this work for you? #349

@pwntester yes that looks good! 🚀

Nice, hopefully it will get merged soon. If you are not using commit-level reviews, the PR should be working for you