Fix when clauses for Emmet commands

This commit is contained in:
Raymond Zhao 2021-10-20 09:00:26 -07:00
parent 8bb5c7ae07
commit fc504f3af3
No known key found for this signature in database
GPG key ID: D36E5FCE46B63B58

View file

@ -422,91 +422,91 @@
"commandPalette": [ "commandPalette": [
{ {
"command": "editor.emmet.action.wrapWithAbbreviation", "command": "editor.emmet.action.wrapWithAbbreviation",
"when": "resourceScheme == file" "when": "!activeEditorIsReadonly"
}, },
{ {
"command": "editor.emmet.action.removeTag", "command": "editor.emmet.action.removeTag",
"when": "resourceScheme == file" "when": "!activeEditorIsReadonly"
}, },
{ {
"command": "editor.emmet.action.updateTag", "command": "editor.emmet.action.updateTag",
"when": "resourceScheme == file" "when": "!activeEditorIsReadonly"
}, },
{ {
"command": "editor.emmet.action.matchTag", "command": "editor.emmet.action.matchTag",
"when": "resourceScheme == file" "when": "!activeEditorIsReadonly"
}, },
{ {
"command": "editor.emmet.action.balanceIn", "command": "editor.emmet.action.balanceIn",
"when": "resourceScheme == file" "when": "!activeEditorIsReadonly"
}, },
{ {
"command": "editor.emmet.action.balanceOut", "command": "editor.emmet.action.balanceOut",
"when": "resourceScheme == file" "when": "!activeEditorIsReadonly"
}, },
{ {
"command": "editor.emmet.action.prevEditPoint", "command": "editor.emmet.action.prevEditPoint",
"when": "resourceScheme == file" "when": "!activeEditorIsReadonly"
}, },
{ {
"command": "editor.emmet.action.nextEditPoint", "command": "editor.emmet.action.nextEditPoint",
"when": "resourceScheme == file" "when": "!activeEditorIsReadonly"
}, },
{ {
"command": "editor.emmet.action.mergeLines", "command": "editor.emmet.action.mergeLines",
"when": "resourceScheme == file" "when": "!activeEditorIsReadonly"
}, },
{ {
"command": "editor.emmet.action.selectPrevItem", "command": "editor.emmet.action.selectPrevItem",
"when": "resourceScheme == file" "when": "!activeEditorIsReadonly"
}, },
{ {
"command": "editor.emmet.action.selectNextItem", "command": "editor.emmet.action.selectNextItem",
"when": "resourceScheme == file" "when": "!activeEditorIsReadonly"
}, },
{ {
"command": "editor.emmet.action.splitJoinTag", "command": "editor.emmet.action.splitJoinTag",
"when": "resourceScheme == file" "when": "!activeEditorIsReadonly"
}, },
{ {
"command": "editor.emmet.action.toggleComment", "command": "editor.emmet.action.toggleComment",
"when": "resourceScheme == file" "when": "!activeEditorIsReadonly"
}, },
{ {
"command": "editor.emmet.action.evaluateMathExpression", "command": "editor.emmet.action.evaluateMathExpression",
"when": "resourceScheme == file" "when": "!activeEditorIsReadonly"
}, },
{ {
"command": "editor.emmet.action.updateImageSize", "command": "editor.emmet.action.updateImageSize",
"when": "resourceScheme == file" "when": "!activeEditorIsReadonly"
}, },
{ {
"command": "editor.emmet.action.incrementNumberByOneTenth", "command": "editor.emmet.action.incrementNumberByOneTenth",
"when": "resourceScheme == file" "when": "!activeEditorIsReadonly"
}, },
{ {
"command": "editor.emmet.action.incrementNumberByOne", "command": "editor.emmet.action.incrementNumberByOne",
"when": "resourceScheme == file" "when": "!activeEditorIsReadonly"
}, },
{ {
"command": "editor.emmet.action.incrementNumberByTen", "command": "editor.emmet.action.incrementNumberByTen",
"when": "resourceScheme == file" "when": "!activeEditorIsReadonly"
}, },
{ {
"command": "editor.emmet.action.decrementNumberByOneTenth", "command": "editor.emmet.action.decrementNumberByOneTenth",
"when": "resourceScheme == file" "when": "!activeEditorIsReadonly"
}, },
{ {
"command": "editor.emmet.action.decrementNumberByOne", "command": "editor.emmet.action.decrementNumberByOne",
"when": "resourceScheme == file" "when": "!activeEditorIsReadonly"
}, },
{ {
"command": "editor.emmet.action.decrementNumberByTen", "command": "editor.emmet.action.decrementNumberByTen",
"when": "resourceScheme == file" "when": "!activeEditorIsReadonly"
}, },
{ {
"command": "editor.emmet.action.reflectCSSValue", "command": "editor.emmet.action.reflectCSSValue",
"when": "resourceScheme == file" "when": "!activeEditorIsReadonly"
} }
] ]
} }