'Copy bitbucket link' copies just name of the file if multiple lines selected

Issue #85 resolved
Former user created an issue

When selecting multiple lines in the file, right click, 'Copy Bitbucket link' (mouse click, not shortcut), just the file name is copied into clipboard (e. g. "Foo.scala"). While 'Open in Bitbucket' action works correctly.

Plugin version 8.0.101, IntelliJ 2019.3.1.

Comments (3)

  1. Daniil Penkin staff

    Hello,

    The URL is generated in multiple flavours for the clipboard: plain text with just the URL itself and HTML with the URL as the target and file name or selected text if it’s short enough and doesn’t have line breaks as the display value.

    This allows you to paste a nice looking link into any app that supports HTML flavour. So I think it’s either the app where you paste the link in has a bug and doesn’t handle such clipboard content properly OR you actually pasting a proper link with a custom display value. Where do you paste the link to? Can you try any plain text editor instead — in this case you should get the URL itself.

    Let me know what you find.

    Cheers,
    Daniil

  2. Log in to comment