{
  "schemaVersion": 1,
  "title": "Visual Studio Code",
  "icon": "icons/vscode.png",
  "description": "macOS defaults, checked against Microsoft’s reference on 2026-10-20. Custom keymaps and keyboard layouts may differ. Independent reference; no Microsoft endorsement.",
  "sections": [
    {
      "id": "general",
      "title": "Get started",
      "icon": "icons/vscode.png",
      "entries": [
        {
          "id": "general-1",
          "title": "Command palette",
          "shortcuts": [
            {
              "steps": [
                {
                  "modifiers": [
                    "shift",
                    "command"
                  ],
                  "key": "p"
                }
              ]
            }
          ]
        },
        {
          "id": "general-2",
          "title": "Open by name",
          "shortcuts": [
            {
              "steps": [
                {
                  "modifiers": [
                    "command"
                  ],
                  "key": "p"
                }
              ]
            }
          ]
        },
        {
          "id": "general-3",
          "title": "Settings",
          "shortcuts": [
            {
              "steps": [
                {
                  "modifiers": [
                    "command"
                  ],
                  "key": ","
                }
              ]
            }
          ]
        },
        {
          "id": "general-keyboard",
          "title": "Keyboard shortcuts",
          "text": "Press each combination in order.",
          "shortcuts": [
            {
              "steps": [
                {
                  "modifiers": [
                    "command"
                  ],
                  "key": "k"
                },
                {
                  "modifiers": [
                    "command"
                  ],
                  "key": "s"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "id": "files",
      "title": "Files",
      "icon": "icons/file.png",
      "entries": [
        {
          "id": "files-1",
          "title": "New file",
          "shortcuts": [
            {
              "steps": [
                {
                  "modifiers": [
                    "command"
                  ],
                  "key": "n"
                }
              ]
            }
          ]
        },
        {
          "id": "files-2",
          "title": "Open file",
          "shortcuts": [
            {
              "steps": [
                {
                  "modifiers": [
                    "command"
                  ],
                  "key": "o"
                }
              ]
            }
          ]
        },
        {
          "id": "files-3",
          "title": "Save file",
          "shortcuts": [
            {
              "steps": [
                {
                  "modifiers": [
                    "command"
                  ],
                  "key": "s"
                }
              ]
            }
          ]
        },
        {
          "id": "files-4",
          "title": "Save with a new name",
          "shortcuts": [
            {
              "steps": [
                {
                  "modifiers": [
                    "shift",
                    "command"
                  ],
                  "key": "s"
                }
              ]
            }
          ]
        },
        {
          "id": "files-5",
          "title": "Reopen closed editor",
          "shortcuts": [
            {
              "steps": [
                {
                  "modifiers": [
                    "shift",
                    "command"
                  ],
                  "key": "t"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "id": "editing",
      "title": "Editing",
      "icon": "icons/edit.png",
      "entries": [
        {
          "id": "editing-1",
          "title": "Move line up",
          "shortcuts": [
            {
              "steps": [
                {
                  "modifiers": [
                    "option"
                  ],
                  "key": "arrowUp"
                }
              ]
            }
          ]
        },
        {
          "id": "editing-2",
          "title": "Move line down",
          "shortcuts": [
            {
              "steps": [
                {
                  "modifiers": [
                    "option"
                  ],
                  "key": "arrowDown"
                }
              ]
            }
          ]
        },
        {
          "id": "editing-3",
          "title": "Copy line down",
          "shortcuts": [
            {
              "steps": [
                {
                  "modifiers": [
                    "option",
                    "shift"
                  ],
                  "key": "arrowDown"
                }
              ]
            }
          ]
        },
        {
          "id": "editing-4",
          "title": "Toggle line comment",
          "shortcuts": [
            {
              "steps": [
                {
                  "modifiers": [
                    "command"
                  ],
                  "key": "/"
                }
              ]
            }
          ]
        },
        {
          "id": "editing-5",
          "title": "Toggle word wrapping",
          "shortcuts": [
            {
              "steps": [
                {
                  "modifiers": [
                    "option"
                  ],
                  "key": "z"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "id": "find",
      "title": "Find and select",
      "icon": "icons/find.png",
      "entries": [
        {
          "id": "find-1",
          "title": "Find in file",
          "shortcuts": [
            {
              "steps": [
                {
                  "modifiers": [
                    "command"
                  ],
                  "key": "f"
                }
              ]
            }
          ]
        },
        {
          "id": "find-2",
          "title": "Replace in file",
          "shortcuts": [
            {
              "steps": [
                {
                  "modifiers": [
                    "option",
                    "command"
                  ],
                  "key": "f"
                }
              ]
            }
          ]
        },
        {
          "id": "find-3",
          "title": "Next result",
          "shortcuts": [
            {
              "steps": [
                {
                  "modifiers": [
                    "command"
                  ],
                  "key": "g"
                }
              ]
            }
          ]
        },
        {
          "id": "find-4",
          "title": "Previous result",
          "shortcuts": [
            {
              "steps": [
                {
                  "modifiers": [
                    "shift",
                    "command"
                  ],
                  "key": "g"
                }
              ]
            }
          ]
        },
        {
          "id": "find-5",
          "title": "Add next matching selection",
          "shortcuts": [
            {
              "steps": [
                {
                  "modifiers": [
                    "command"
                  ],
                  "key": "d"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "id": "code",
      "title": "Code tools",
      "icon": "icons/developer.png",
      "entries": [
        {
          "id": "code-1",
          "title": "Show completions",
          "shortcuts": [
            {
              "steps": [
                {
                  "modifiers": [
                    "control"
                  ],
                  "key": "space"
                }
              ]
            }
          ]
        },
        {
          "id": "code-2",
          "title": "Format document",
          "shortcuts": [
            {
              "steps": [
                {
                  "modifiers": [
                    "option",
                    "shift"
                  ],
                  "key": "f"
                }
              ]
            }
          ]
        },
        {
          "id": "code-3",
          "title": "Open definition",
          "shortcuts": [
            {
              "steps": [
                {
                  "modifiers": [],
                  "key": "f12"
                }
              ]
            }
          ]
        },
        {
          "id": "code-4",
          "title": "Code actions",
          "shortcuts": [
            {
              "steps": [
                {
                  "modifiers": [
                    "command"
                  ],
                  "key": "."
                }
              ]
            }
          ]
        },
        {
          "id": "code-5",
          "title": "Rename symbol",
          "shortcuts": [
            {
              "steps": [
                {
                  "modifiers": [],
                  "key": "f2"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "id": "layout",
      "title": "Workspace",
      "icon": "icons/view.png",
      "entries": [
        {
          "id": "layout-1",
          "title": "Toggle sidebar",
          "shortcuts": [
            {
              "steps": [
                {
                  "modifiers": [
                    "command"
                  ],
                  "key": "b"
                }
              ]
            }
          ]
        },
        {
          "id": "layout-2",
          "title": "Split editor",
          "shortcuts": [
            {
              "steps": [
                {
                  "modifiers": [
                    "command"
                  ],
                  "key": "\\"
                }
              ]
            }
          ]
        },
        {
          "id": "layout-3",
          "title": "Preview Markdown",
          "shortcuts": [
            {
              "steps": [
                {
                  "modifiers": [
                    "shift",
                    "command"
                  ],
                  "key": "v"
                }
              ]
            }
          ]
        },
        {
          "id": "layout-4",
          "title": "Toggle terminal",
          "shortcuts": [
            {
              "steps": [
                {
                  "modifiers": [
                    "control"
                  ],
                  "key": "`"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "id": "debug",
      "title": "Debugging",
      "icon": "icons/debug.png",
      "entries": [
        {
          "id": "debug-1",
          "title": "Start or continue",
          "shortcuts": [
            {
              "steps": [
                {
                  "modifiers": [],
                  "key": "f5"
                }
              ]
            }
          ]
        },
        {
          "id": "debug-2",
          "title": "Toggle breakpoint",
          "shortcuts": [
            {
              "steps": [
                {
                  "modifiers": [],
                  "key": "f9"
                }
              ]
            }
          ]
        },
        {
          "id": "debug-3",
          "title": "Step over",
          "shortcuts": [
            {
              "steps": [
                {
                  "modifiers": [],
                  "key": "f10"
                }
              ]
            }
          ]
        },
        {
          "id": "debug-4",
          "title": "Stop debugging",
          "shortcuts": [
            {
              "steps": [
                {
                  "modifiers": [
                    "shift"
                  ],
                  "key": "f5"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}
