Skip to content

Commit e1c99e8

Browse files
Created "labs" settings toggle and put sidebar panel visibility behind the labs toggle.
1 parent c6e674e commit e1c99e8

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

package.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,24 @@
2323
"onView:stringManipulationSidebar"
2424
],
2525
"contributes": {
26+
"configuration": {
27+
"type": "object",
28+
"title": "String Manipulation Configuration",
29+
"properties": {
30+
"stringManipulation.labs": {
31+
"type": "boolean",
32+
"default": false,
33+
"description": "Enable experimental String Manipulation Labs features."
34+
}
35+
}
36+
},
2637
"views": {
2738
"explorer": [
2839
{
2940
"type": "webview",
3041
"id": "stringManipulationSidebar",
31-
"name": "String Manipulation"
42+
"name": "String Manipulation",
43+
"when": "config.stringManipulation.labs"
3244
}
3345
]
3446
},

0 commit comments

Comments
 (0)