|
937 | 937 | "default": true,
|
938 | 938 | "markdownDescription": "Show parameter help when editing function calls."
|
939 | 939 | },
|
940 |
| - "quarto.cells.background.enabled": { |
| 940 | + "quarto.cells.background.enable": { |
| 941 | + "type": "boolean", |
| 942 | + "description": "Enable coloring the background of executable code cells.", |
| 943 | + "deprecationMessage": "Deprecated: Please use quarto.cells.background.color instead." |
| 944 | + }, |
| 945 | + "quarto.cells.background.color": { |
941 | 946 | "order": 19,
|
942 | 947 | "scope": "window",
|
943 |
| - "type": "boolean", |
944 |
| - "default": true, |
945 |
| - "markdownDescription": "Enable coloring the background of executable code cells." |
| 948 | + "type": "string", |
| 949 | + "markdownDescription": "Control the background coloring of executable code cells.", |
| 950 | + "default": "default", |
| 951 | + "enum": ["default", "useTheme", "off"], |
| 952 | + "markdownEnumDescriptions": [ |
| 953 | + "Use the default light and dark background colors. Specify these colors with `quarto.cells.background.lightDefault` and `quarto.cells.background.darkDefault`.", |
| 954 | + "Use the `notebook.selectedCellBackground` color from the current VS Code theme.", |
| 955 | + "Disable background coloring of executable code cells." |
| 956 | + ] |
946 | 957 | },
|
947 |
| - "quarto.cells.background.light": { |
| 958 | + "quarto.cells.background.lightDefault": { |
948 | 959 | "order": 20,
|
949 | 960 | "scope": "window",
|
950 | 961 | "type": "string",
|
951 | 962 | "format": "color",
|
952 | 963 | "default": "#E1E1E166",
|
953 |
| - "markdownDescription": "CSS color for background of executable code cells on light themes.\n\n*Note that this color should include an alpha channel so that selections show up against the background.*" |
| 964 | + "markdownDescription": "CSS color for background of executable code cells on light themes.\n\n*Note that this color should include an alpha channel, like #RRGGBBAA, so that selections show up against the background.*" |
954 | 965 | },
|
955 |
| - "quarto.cells.background.dark": { |
| 966 | + "quarto.cells.background.darkDefault": { |
956 | 967 | "order": 21,
|
957 | 968 | "scope": "window",
|
958 | 969 | "type": "string",
|
959 | 970 | "format": "color",
|
960 | 971 | "default": "#40404066",
|
961 |
| - "markdownDescription": "CSS color for background of executable code cells on dark themes.\n\n*Note that this color should include an alpha channel so that selections show up against the background.*" |
| 972 | + "markdownDescription": "CSS color for background of executable code cells on dark themes.\n\n*Note that this color should include an alpha channel, like #RRGGBBAA, so that selections show up against the background.*" |
962 | 973 | },
|
963 | 974 | "quarto.cells.background.delay": {
|
964 | 975 | "order": 22,
|
|
0 commit comments