|
240 | 240 | "type": "object",
|
241 | 241 | "markdownDescription": "%AWS.configuration.description.experiments%",
|
242 | 242 | "default": {
|
243 |
| - "jsonResourceModification": false, |
244 |
| - "ec2RemoteConnect": false |
| 243 | + "jsonResourceModification": false |
245 | 244 | },
|
246 | 245 | "properties": {
|
247 | 246 | "jsonResourceModification": {
|
248 | 247 | "type": "boolean",
|
249 | 248 | "default": false
|
250 |
| - }, |
251 |
| - "ec2RemoteConnect": { |
252 |
| - "type": "boolean", |
253 |
| - "default": false |
254 | 249 | }
|
255 | 250 | },
|
256 | 251 | "additionalProperties": false
|
|
1206 | 1201 | {
|
1207 | 1202 | "command": "aws.toolkit.auth.manageConnections"
|
1208 | 1203 | },
|
1209 |
| - { |
1210 |
| - "command": "aws.ec2.openRemoteConnection", |
1211 |
| - "when": "config.aws.experiments.ec2RemoteConnect" |
1212 |
| - }, |
1213 |
| - { |
1214 |
| - "command": "aws.ec2.openTerminal", |
1215 |
| - "when": "config.aws.experiments.ec2RemoteConnect" |
1216 |
| - }, |
1217 |
| - { |
1218 |
| - "command": "aws.ec2.linkToLaunch", |
1219 |
| - "when": "config.aws.experiments.ec2RemoteConnect" |
1220 |
| - }, |
1221 |
| - { |
1222 |
| - "command": "aws.ec2.startInstance", |
1223 |
| - "when": "config.aws.experiments.ec2RemoteConnect" |
1224 |
| - }, |
1225 |
| - { |
1226 |
| - "command": "aws.ec2.stopInstance", |
1227 |
| - "when": "config.aws.experiments.ec2RemoteConnect" |
1228 |
| - }, |
1229 |
| - { |
1230 |
| - "command": "aws.ec2.rebootInstance", |
1231 |
| - "when": "config.aws.experiments.ec2RemoteConnect" |
1232 |
| - }, |
1233 | 1204 | {
|
1234 | 1205 | "command": "aws.dev.openMenu",
|
1235 | 1206 | "when": "aws.isDevMode || isCloud9"
|
|
1453 | 1424 | {
|
1454 | 1425 | "command": "aws.ec2.openTerminal",
|
1455 | 1426 | "group": "0@1",
|
1456 |
| - "when": "viewItem =~ /^(awsEc2(Parent|Running)Node)$/ && config.aws.experiments.ec2RemoteConnect" |
| 1427 | + "when": "viewItem =~ /^(awsEc2(Parent|Running)Node)$/" |
1457 | 1428 | },
|
1458 | 1429 | {
|
1459 | 1430 | "command": "aws.ec2.openTerminal",
|
1460 | 1431 | "group": "inline@1",
|
1461 |
| - "when": "viewItem =~ /^(awsEc2(Parent|Running)Node)$/ && config.aws.experiments.ec2RemoteConnect" |
| 1432 | + "when": "viewItem =~ /^(awsEc2(Parent|Running)Node)$/" |
1462 | 1433 | },
|
1463 | 1434 | {
|
1464 | 1435 | "command": "aws.ec2.linkToLaunch",
|
1465 | 1436 | "group": "0@0",
|
1466 |
| - "when": "viewItem =~ /^(awsEc2ParentNode)$/ && config.aws.experiments.ec2RemoteConnect" |
| 1437 | + "when": "viewItem =~ /^(awsEc2ParentNode)$/" |
1467 | 1438 | },
|
1468 | 1439 | {
|
1469 | 1440 | "command": "aws.ec2.linkToLaunch",
|
1470 | 1441 | "group": "inline@0",
|
1471 |
| - "when": "viewItem =~ /^(awsEc2ParentNode)$/ && config.aws.experiments.ec2RemoteConnect" |
| 1442 | + "when": "viewItem =~ /^(awsEc2ParentNode)$/" |
1472 | 1443 | },
|
1473 | 1444 | {
|
1474 | 1445 | "command": "aws.ec2.openRemoteConnection",
|
1475 | 1446 | "group": "0@1",
|
1476 |
| - "when": "viewItem =~ /^(awsEc2(Parent|Running)Node)$/ && config.aws.experiments.ec2RemoteConnect" |
| 1447 | + "when": "viewItem =~ /^(awsEc2(Parent|Running)Node)$/" |
1477 | 1448 | },
|
1478 | 1449 | {
|
1479 | 1450 | "command": "aws.ec2.openRemoteConnection",
|
1480 | 1451 | "group": "inline@1",
|
1481 |
| - "when": "viewItem =~ /^(awsEc2(Parent|Running)Node)$/ && config.aws.experiments.ec2RemoteConnect" |
| 1452 | + "when": "viewItem =~ /^(awsEc2(Parent|Running)Node)$/" |
1482 | 1453 | },
|
1483 | 1454 | {
|
1484 | 1455 | "command": "aws.ec2.startInstance",
|
1485 | 1456 | "group": "0@1",
|
1486 |
| - "when": "viewItem == awsEc2StoppedNode && config.aws.experiments.ec2RemoteConnect" |
| 1457 | + "when": "viewItem == awsEc2StoppedNode" |
1487 | 1458 | },
|
1488 | 1459 | {
|
1489 | 1460 | "command": "aws.ec2.startInstance",
|
1490 | 1461 | "group": "inline@1",
|
1491 |
| - "when": "viewItem == awsEc2StoppedNode && config.aws.experiments.ec2RemoteConnect" |
| 1462 | + "when": "viewItem == awsEc2StoppedNode" |
1492 | 1463 | },
|
1493 | 1464 | {
|
1494 | 1465 | "command": "aws.ec2.stopInstance",
|
1495 | 1466 | "group": "0@1",
|
1496 |
| - "when": "viewItem == awsEc2RunningNode && config.aws.experiments.ec2RemoteConnect" |
| 1467 | + "when": "viewItem == awsEc2RunningNode" |
1497 | 1468 | },
|
1498 | 1469 | {
|
1499 | 1470 | "command": "aws.ec2.stopInstance",
|
1500 | 1471 | "group": "inline@1",
|
1501 |
| - "when": "viewItem == awsEc2RunningNode && config.aws.experiments.ec2RemoteConnect" |
| 1472 | + "when": "viewItem == awsEc2RunningNode" |
1502 | 1473 | },
|
1503 | 1474 | {
|
1504 | 1475 | "command": "aws.ec2.rebootInstance",
|
1505 | 1476 | "group": "0@1",
|
1506 |
| - "when": "viewItem == awsEc2RunningNode && config.aws.experiments.ec2RemoteConnect" |
| 1477 | + "when": "viewItem == awsEc2RunningNode" |
1507 | 1478 | },
|
1508 | 1479 | {
|
1509 | 1480 | "command": "aws.ec2.rebootInstance",
|
1510 | 1481 | "group": "inline@1",
|
1511 |
| - "when": "viewItem == awsEc2RunningNode && config.aws.experiments.ec2RemoteConnect" |
| 1482 | + "when": "viewItem == awsEc2RunningNode" |
1512 | 1483 | },
|
1513 | 1484 | {
|
1514 | 1485 | "command": "aws.ec2.copyInstanceId",
|
1515 |
| - "when": "view == aws.explorer && viewItem =~ /^(awsEc2(Running|Stopped|Pending)Node)$/ && config.aws.experiments.ec2RemoteConnect", |
| 1486 | + "when": "view == aws.explorer && viewItem =~ /^(awsEc2(Running|Stopped|Pending)Node)$/", |
1516 | 1487 | "group": "2@0"
|
1517 | 1488 | },
|
1518 | 1489 | {
|
|
0 commit comments