Allows refs in github uris

This commit is contained in:
Eric Amodio
2020-06-10 01:42:04 -04:00
parent 5b3517310f
commit 835142c44e
3 changed files with 43 additions and 22 deletions

View File

@@ -19,11 +19,20 @@
"main": "./out/extension.js",
"contributes": {
"resourceLabelFormatters": [
{
"scheme": "github",
"authority": "HEAD",
"formatting": {
"label": "github.com${path}",
"separator": "/",
"workspaceSuffix": "GitHub"
}
},
{
"scheme": "github",
"authority": "*",
"formatting": {
"label": "${authority}${path}",
"label": "github.com${path} (${authority})",
"separator": "/",
"workspaceSuffix": "GitHub"
}