Skip to content

Feature Request: "Open in Remote" support for custom repositories #120

@JaredNeil

Description

@JaredNeil

Maybe a settings object to customize the url that opens in the browser.
I imagine something like:

{
    "gitlens.remotes": [
        {
            "name": "origin",
            "repoUrl": "https://git.mydomain.com/repos/MyProject",
            "fileUrl": "https://git.mydomain.com/repos/MyProject/browse/%s",
            "branchUrl": "https://git.mydomain.com/repos/MyProject/branch/%s",
            "commitUrl": "https://git.mydomain.com/repos/MyProject/commits/%s"
        }
    ]
}

And then it just fills in the %s with the branch, commit, or file path.
This would be really nice for Stash (Bitbucket Server) repositories.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions