We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6dd203e commit 5e11ceeCopy full SHA for 5e11cee
package.json
@@ -44,7 +44,7 @@
44
{
45
"command": "myExtension.deleteElement",
46
"group": "inline",
47
- "when": "customEditorOutlineItem == element"
+ "when": "true"
48
},
49
50
"command": "myExtension.duplicateElement",
src/vscode/DesignerTextEditor.ts
@@ -160,7 +160,7 @@ export class DesignerTextEditor implements vscode.CustomTextEditorProvider {
160
id: 'btn-1',
161
label: 'Button',
162
icon: new vscode.ThemeIcon('symbol-event'),
163
- contextValue: 'widget',
+ contextValue: 'element',
164
165
166
id: 'input-1',
0 commit comments