Right click -> Open in Github should open on the current branch by default, not the commit when the line was added
Answered
I use this feature a lot to be able to refer someone else to a specific line in the code. But “Open in Github” always points to some specific commit, which I think is the one where the line was added. This is not relevant since we want to see the current state of the code on the master/main branch, OR if locally on some other branch it would make sense to point to that branch.
A google search gave a reply saying this is configurable but there is no such option under Git or Github in Pycharm, so it seems like an AI made-up response.
Please sign in to leave a comment.
There is an existing feature request for this functionality on our issue tracker: https://youtrack.jetbrains.com/issue/IJPL-74242. Please vote for it and follow for progress updates.