Add link from commit in version control panel

Issue #26 on hold
Alexandr Astashin created an issue

Hello I'm new to Bitbucket Linky, just started using it)

I would like to know how I can navigate from commit description section the same way I do with Issue Navigation (which adds links to issue description in my bug tracker)?

If there is no such functionality, please add this feature into View | Tool Windows | Version Control into commit description part, possibly at commit code itself.

Comments (9)

  1. Daniil Penkin staff

    Hello @astashin,

    Could you elaborate what kind of navigation did you mean? My guess is you're talking about a way to link to the commit from this section in the bottom right corner (specifically, turn the commit hash into a link) – am I right?

    intellij-bitbucket-references-plugin 2017-06-09 23-21-49.png

    At the moment you can find a link to every commit in the log view (actions are available in the context menu):

    Monosnap 2017-06-09 23-20-56.png

    and to every file at that revision in the file browser on the right side (actions are in the toolbar and in the context menu):

    Monosnap 2017-06-09 23-20-09.png

    Cheers, Daniil

  2. Alexandr Astashin Account Deactivated reporter

    Yes, this is exactly what I meant) Thanks for the hint, it's also an option

  3. Daniil Penkin staff

    Ok, cool.

    I'll look if I can turn commit hash into a link – sounds like a good thing to do. Thanks for the suggestion!

  4. Daniil Penkin staff

    Unfortunately I don't see a way to implement this, sorry :(

    That text <commit_sha> <author> on <date> at <time> is hard coded in IDEA platform, and there's no plugin point that would allow to modify it before it is shown.

    Issue keys detection that you mentioned works only against commit message (which is only the text in bold), so a custom link detection won't work.

    I'll close this issue for now, but if IntelliJ ever introduces support for pluggable commit descriptions, I'll add this feature.

  5. Alexandr Astashin Account Deactivated reporter

    Thank you. I will suggest this plugin to my coleagues. Good luck with it

  6. Log in to comment