Add protocol to portsAttributes

Part of #123750
This commit is contained in:
Alex Ross
2021-05-18 12:55:17 +02:00
parent 45aafeb326
commit e4159c8f89
6 changed files with 194 additions and 34 deletions

View File

@@ -73,6 +73,11 @@
"type": "boolean",
"markdownDescription": "When true, a modal dialog will show if the chosen local port isn't used for forwarding.",
"default": false
},
"protocol": {
"type": "string",
"enum": ["http", "https"],
"description": "The protocol to use when forwarding this port."
}
},
"default": {
@@ -130,6 +135,11 @@
"type": "boolean",
"markdownDescription": "When true, a modal dialog will show if the chosen local port isn't used for forwarding.",
"default": false
},
"protocol": {
"type": "string",
"enum": ["http", "https"],
"description": "The protocol to use when forwarding this port."
}
},
"defaultSnippets": [