Skip to content

feat: Add option to replace values in remote url

Administrator requested to merge bea-remoteurl into master

Created by: abeatrix

This is a PR to add configure option remoteUrlReplacements used in our VS Code plugin which allows users to replace values in remote url.

Users can enable this feature by adding remoteUrlReplacements to their global configuration file sourcegraph-jetbrains.properties or repository-based configuration file .idea/sourcegraph.xml.

This feature will not be enabled if less than two or more than four values were passed into the configuration.

Examples

image image URL changed from https://github.com/sourcegraph/sourcegraph-jetbrains.git to https://gitexample.com/s/s-jetbrains.git using the configurations shown above image

This feature should address the request listed in https://github.com/sourcegraph/sourcegraph-jetbrains/issues/17

Merge request reports

Loading