Adding settings to control which schemes simple browser is enabled for

Also adds a setting to enable/disable the focus lock indicator
This commit is contained in:
Matt Bierner
2021-01-05 21:58:59 -08:00
parent ba67d1bea4
commit 2fed7ba374
9 changed files with 130 additions and 44 deletions

View File

@@ -9,12 +9,12 @@
"license": "MIT",
"aiKey": "AIF-d9b70cd4-b9f9-4d70-929b-a071c400b217",
"engines": {
"vscode": "^1.50.0"
"vscode": "^1.53.0"
},
"main": "./out/extension",
"browser": "./dist/browser/extension",
"categories": [
"Programming Languages"
"Other"
],
"activationEvents": [
"onCommand:simpleBrowser.show",
@@ -33,11 +33,26 @@
{
"title": "Simple Browser",
"properties": {
"simpleBrowser.focusLockIndicator.enabled": {
"type": "boolean",
"default": true,
"title": "Focus Lock Indicator Enabled",
"description": "%configuration.focusLockIndicator.enabled.description%"
},
"simpleBrowser.opener.enabled": {
"type": "boolean",
"default": false,
"title": "Opener Enabled",
"description": "(Experimental) Enables opening http and https urls using the built-in seper browser"
"description": "%configuration.opener.enabled.description%"
},
"simpleBrowser.opener.enabledHosts": {
"type": "array",
"title": "Opener Enabled Hosts",
"markdownDescription": "%configuration.opener.enabledHosts.description%",
"default": [
"localhost",
"127.0.0.1"
]
}
}
}