Skip to content

Commit 979fcb4

Browse files
authored
Merge pull request #41 from srl-labs/version_check
Version check and small things
2 parents 4d4a109 + d022c6f commit 979fcb4

9 files changed

+555
-271
lines changed

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+14-5
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"displayName": "Containerlab",
55
"icon": "resources/containerlab.png",
66
"description": "Manages containerlab topologies in VS Code",
7-
"version": "0.4.0",
7+
"version": "0.4.3",
88
"engines": {
99
"vscode": "^1.70.0"
1010
},
@@ -18,7 +18,6 @@
1818
],
1919
"main": "./out/extension.js",
2020
"activationEvents": [
21-
"onCommand:your.extension.command",
2221
"onStartupFinished"
2322
],
2423
"categories": [
@@ -333,7 +332,7 @@
333332
},
334333
{
335334
"command": "containerlab.inspectOneLab",
336-
"when": "viewItem =~ /containerlabLab/",
335+
"when": "viewItem == containerlabLabDeployed",
337336
"group": "navigation@7"
338337
},
339338
{
@@ -499,7 +498,7 @@
499498
},
500499
"containerlab.sudoEnabledByDefault": {
501500
"type": "boolean",
502-
"default": true,
501+
"default": false,
503502
"description": "Whether to prepend 'sudo' to all containerlab commands by default."
504503
},
505504
"containerlab.refreshInterval": {
@@ -514,7 +513,17 @@
514513
},
515514
"default": {},
516515
"markdownDescription": "Change the default exec action for node when using the 'attach' command. Enter in the mapping between the kind and command.\n\nFor example: `{\"nokia_srlinux\": \"sr_cli\"}` means that `docker exec -it <container> sr_cli` will be executed if `<container>` is the `nokia_srlinux` kind."
517-
}
516+
},
517+
"containerlab.drawioDefaultTheme": {
518+
"type": "string",
519+
"enum": [
520+
"nokia_modern",
521+
"nokia",
522+
"grafana"
523+
],
524+
"default": "nokia_modern",
525+
"description": "Default theme to use when generating DrawIO graphs."
526+
}
518527
}
519528
}
520529
},

0 commit comments

Comments
 (0)