mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
Fix unconfiguredPortsAttributes in devcontainer.json
This commit is contained in:
parent
abb6ff6d93
commit
c359effab0
|
@ -75,7 +75,7 @@
|
|||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"remote.unconfiguredPortsAttributes": {
|
||||
"unconfiguredPortsAttributes": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"onAutoForward": {
|
||||
|
|
|
@ -184,7 +184,7 @@
|
|||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"remote.unconfiguredPortsAttributes": {
|
||||
"unconfiguredPortsAttributes": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"onAutoForward": {
|
||||
|
@ -483,7 +483,7 @@
|
|||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"remote.unconfiguredPortsAttributes": {
|
||||
"unconfiguredPortsAttributes": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"onAutoForward": {
|
||||
|
@ -758,7 +758,7 @@
|
|||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"remote.unconfiguredPortsAttributes": {
|
||||
"unconfiguredPortsAttributes": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"onAutoForward": {
|
||||
|
@ -999,7 +999,7 @@
|
|||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"remote.unconfiguredPortsAttributes": {
|
||||
"unconfiguredPortsAttributes": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"onAutoForward": {
|
||||
|
@ -1209,7 +1209,7 @@
|
|||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"remote.unconfiguredPortsAttributes": {
|
||||
"unconfiguredPortsAttributes": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"onAutoForward": {
|
||||
|
|
|
@ -89,12 +89,18 @@
|
|||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"remote.unconfiguredPortsAttributes": {
|
||||
"unconfiguredPortsAttributes": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"onAutoForward": {
|
||||
"type": "string",
|
||||
"enum": ["notify", "openBrowser", "openPreview", "silent", "ignore"],
|
||||
"enum": [
|
||||
"notify",
|
||||
"openBrowser",
|
||||
"openPreview",
|
||||
"silent",
|
||||
"ignore"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Shows a notification when a port is automatically forwarded.",
|
||||
"Opens the browser when the port is automatically forwarded. Depending on your settings, this could open an embedded browser.",
|
||||
|
@ -116,7 +122,13 @@
|
|||
"default": "Application"
|
||||
}
|
||||
},
|
||||
"defaultSnippets": [{ "body": { "onAutoForward": "ignore" } }],
|
||||
"defaultSnippets": [
|
||||
{
|
||||
"body": {
|
||||
"onAutoForward": "ignore"
|
||||
}
|
||||
}
|
||||
],
|
||||
"markdownDescription": "Set default properties that are applied to all ports that don't get properties from the setting `remote.portsAttributes`. For example:\n\n```\n{\n \"onAutoForward\": \"ignore\"\n}\n```",
|
||||
"additionalProperties": false
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue