Details
-
Suggestion
-
Resolution: Won't Fix
Description
When reviewing pull requests and browsing commits it would be really cool to be able to open a particular file at a particular line in your IDE for further browsing. Bitbucket could support this by supporting protocol handlers that IDEs could register with the browser/OS.
Lets say we use the url scheme sourcelocation, then it could be something like this:
sourcelocation://?gitrepo=git@bitbucket.org:foo/bar.git&commit_id=57ceda89a380a0e43a91f0df3561b9437647a307&filename=src/Foo.cc&line=42
The protocol handler link should be easy to access by clicking somewhere on the line, e.g in the left side in a manner similar to how you add a comment.