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 allowComments: true
  • Readonly allowTrailingCommas: true
  • Readonly default: []
  • Readonly definitions: {
        key: {
            description: string;
            type: "string";
        };
    }
    • Readonly key: {
          description: string;
          type: "string";
      }
      • Readonly description: string
      • Readonly 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 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"];
          }];
      }]
    • Readonly defaultSnippets: [{
          body: {
              command: "$2";
              key: "$1";
              when: "$3";
          };
      }]
    • Readonly type: "object"
  • Readonly title: "Keybinding Configuration File"
  • Readonly type: "array"