Variable keybindingSchemaConst
keybindingSchema: {
$id: "vscode://schemas/keybindings";
allowComments: true;
allowTrailingCommas: true;
default: [];
definitions: { key: { description: string; type: "string" } };
items: {
allOf: [
{
properties: {
args: { description: string };
command: {
anyOf: [
{ type: "string" },
{ enum: string[]; enumDescriptions: string[] },
];
description: string;
};
context: {
deprecationMessage: string;
description: string;
type: "string";
};
when: { description: string; type: "string" };
};
required: ["command"];
},
{
anyOf: [
{
properties: { key: { $ref: "#/definitions/key" } };
required: ["key"];
},
{
properties: { keybinding: { $ref: "#/definitions/key" } };
required: ["keybinding"];
},
];
},
];
defaultSnippets: [{ body: { command: "$2"; key: "$1"; when: "$3" } }];
type: "object";
};
title: "Keybinding Configuration File";
type: "array";
} = ...
Type Declaration
Readonly
$id: "vscode://schemas/keybindings"
Readonly
allowTrailingCommas: true
Readonly
default: []
Readonly
definitions: { key: { description: string; type: "string" } }
Readonly
items: {
allOf: [
{
properties: {
args: { description: string };
command: {
anyOf: [
{ type: "string" },
{ enum: string[]; enumDescriptions: string[] },
];
description: string;
};
context: {
deprecationMessage: string;
description: string;
type: "string";
};
when: { description: string; type: "string" };
};
required: ["command"];
},
{
anyOf: [
{
properties: { key: { $ref: "#/definitions/key" } };
required: ["key"];
},
{
properties: { keybinding: { $ref: "#/definitions/key" } };
required: ["keybinding"];
},
];
},
];
defaultSnippets: [{ body: { command: "$2"; key: "$1"; when: "$3" } }];
type: "object";
}
Readonly
title: "Keybinding Configuration File"
Readonly
type: "array"