|
422 | 422 | "commandPalette": [
|
423 | 423 | {
|
424 | 424 | "command": "editor.emmet.action.wrapWithAbbreviation",
|
425 |
| - "when": "resourceScheme == file" |
| 425 | + "when": "!activeEditorIsReadonly" |
426 | 426 | },
|
427 | 427 | {
|
428 | 428 | "command": "editor.emmet.action.removeTag",
|
429 |
| - "when": "resourceScheme == file" |
| 429 | + "when": "!activeEditorIsReadonly" |
430 | 430 | },
|
431 | 431 | {
|
432 | 432 | "command": "editor.emmet.action.updateTag",
|
433 |
| - "when": "resourceScheme == file" |
| 433 | + "when": "!activeEditorIsReadonly" |
434 | 434 | },
|
435 | 435 | {
|
436 | 436 | "command": "editor.emmet.action.matchTag",
|
437 |
| - "when": "resourceScheme == file" |
| 437 | + "when": "!activeEditorIsReadonly" |
438 | 438 | },
|
439 | 439 | {
|
440 | 440 | "command": "editor.emmet.action.balanceIn",
|
441 |
| - "when": "resourceScheme == file" |
| 441 | + "when": "!activeEditorIsReadonly" |
442 | 442 | },
|
443 | 443 | {
|
444 | 444 | "command": "editor.emmet.action.balanceOut",
|
445 |
| - "when": "resourceScheme == file" |
| 445 | + "when": "!activeEditorIsReadonly" |
446 | 446 | },
|
447 | 447 | {
|
448 | 448 | "command": "editor.emmet.action.prevEditPoint",
|
449 |
| - "when": "resourceScheme == file" |
| 449 | + "when": "!activeEditorIsReadonly" |
450 | 450 | },
|
451 | 451 | {
|
452 | 452 | "command": "editor.emmet.action.nextEditPoint",
|
453 |
| - "when": "resourceScheme == file" |
| 453 | + "when": "!activeEditorIsReadonly" |
454 | 454 | },
|
455 | 455 | {
|
456 | 456 | "command": "editor.emmet.action.mergeLines",
|
457 |
| - "when": "resourceScheme == file" |
| 457 | + "when": "!activeEditorIsReadonly" |
458 | 458 | },
|
459 | 459 | {
|
460 | 460 | "command": "editor.emmet.action.selectPrevItem",
|
461 |
| - "when": "resourceScheme == file" |
| 461 | + "when": "!activeEditorIsReadonly" |
462 | 462 | },
|
463 | 463 | {
|
464 | 464 | "command": "editor.emmet.action.selectNextItem",
|
465 |
| - "when": "resourceScheme == file" |
| 465 | + "when": "!activeEditorIsReadonly" |
466 | 466 | },
|
467 | 467 | {
|
468 | 468 | "command": "editor.emmet.action.splitJoinTag",
|
469 |
| - "when": "resourceScheme == file" |
| 469 | + "when": "!activeEditorIsReadonly" |
470 | 470 | },
|
471 | 471 | {
|
472 | 472 | "command": "editor.emmet.action.toggleComment",
|
473 |
| - "when": "resourceScheme == file" |
| 473 | + "when": "!activeEditorIsReadonly" |
474 | 474 | },
|
475 | 475 | {
|
476 | 476 | "command": "editor.emmet.action.evaluateMathExpression",
|
477 |
| - "when": "resourceScheme == file" |
| 477 | + "when": "!activeEditorIsReadonly" |
478 | 478 | },
|
479 | 479 | {
|
480 | 480 | "command": "editor.emmet.action.updateImageSize",
|
481 |
| - "when": "resourceScheme == file" |
| 481 | + "when": "!activeEditorIsReadonly" |
482 | 482 | },
|
483 | 483 | {
|
484 | 484 | "command": "editor.emmet.action.incrementNumberByOneTenth",
|
485 |
| - "when": "resourceScheme == file" |
| 485 | + "when": "!activeEditorIsReadonly" |
486 | 486 | },
|
487 | 487 | {
|
488 | 488 | "command": "editor.emmet.action.incrementNumberByOne",
|
489 |
| - "when": "resourceScheme == file" |
| 489 | + "when": "!activeEditorIsReadonly" |
490 | 490 | },
|
491 | 491 | {
|
492 | 492 | "command": "editor.emmet.action.incrementNumberByTen",
|
493 |
| - "when": "resourceScheme == file" |
| 493 | + "when": "!activeEditorIsReadonly" |
494 | 494 | },
|
495 | 495 | {
|
496 | 496 | "command": "editor.emmet.action.decrementNumberByOneTenth",
|
497 |
| - "when": "resourceScheme == file" |
| 497 | + "when": "!activeEditorIsReadonly" |
498 | 498 | },
|
499 | 499 | {
|
500 | 500 | "command": "editor.emmet.action.decrementNumberByOne",
|
501 |
| - "when": "resourceScheme == file" |
| 501 | + "when": "!activeEditorIsReadonly" |
502 | 502 | },
|
503 | 503 | {
|
504 | 504 | "command": "editor.emmet.action.decrementNumberByTen",
|
505 |
| - "when": "resourceScheme == file" |
| 505 | + "when": "!activeEditorIsReadonly" |
506 | 506 | },
|
507 | 507 | {
|
508 | 508 | "command": "editor.emmet.action.reflectCSSValue",
|
509 |
| - "when": "resourceScheme == file" |
| 509 | + "when": "!activeEditorIsReadonly" |
510 | 510 | }
|
511 | 511 | ]
|
512 | 512 | }
|
|
0 commit comments