Caret after Semicolon Doesn't Go to Bitbucket Line Number

Issue #110 resolved
Apoorva Srivastava created an issue

If you place the caret after the semicolon on a Java line, Ctrl-Shift-X,B or C don’t go to the exact line number in Bitbucket; they just go to the file.

Comments (6)

  1. Daniil Penkin staff

    Hm, this is expected behaviour. The link includes line number(s) if you select some text, otherwise the link is just for a file.

    As in, no matter where you put the caret, if there’s no text selected, the link won’t contain line number.

    Can you confirm you observe this behaviour?

    Cheers,
    Daniil

  2. Apoorva Srivastava reporter

    I get the link to the specific line the caret is on (before the semicolon) even if I don’t select any text.

  3. Daniil Penkin staff

    Ok, thanks for double checking. I’ll look into this, I might’ve reverted the behaviour I described. In that case I should fix the behaviour when the caret is at the end of the line (I guess this is what’s causing what you faced).

    Thanks for reporting!

  4. Daniil Penkin staff

    Fixed in 2020.3.142.

    Now line number(s) are always included when the link is created from the file editor.

  5. Log in to comment