Skip to content

Missing Bitbucket support for 'basePath' option #475

Open
@trollsyn

Description

@trollsyn

This problem appears when you use a Bitbucket repo in your basePath option, and try to navigate to a source file with line number highlighting.

Examples for the 'basePath' option:

  • https://github.com/username/repo-name/blob/master/some-folder
  • https://bitbucket.org/username/repo-name/src/master/some-folder

This is how Github highlights line numbers:
../my-file.scss#L13-L37

This is how Bitbucket highlights line numbers:
../my-file.scss?at=master&fileviewer=file-view-default#my-file.scss-13:37

It works like a charm when pointing to a Github repo, but not when using Bitbucket.

This is perhaps a feature request, but it would be very nice to have the same functionality in both worlds.

Thanks for the awesomeness!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions