{
    // global settings in `%appdata%\Code\User\settings.json`
    // editor
    "editor.insertSpaces": true,
    "editor.tabSize": 4,
    "editor.detectIndentation": true,
    "[cpp][h]": {
        "editor.insertSpaces": false,
        "editor.tabSize": 4
    },
    "[md]": {
        "editor.insertSpaces": true,
        "editor.tabSize": 2
    },
    // search
    "search.exclude": {
        "Release/**": true
    },
    "search.useIgnoreFiles": false,
    "search.useGlobalIgnoreFiles": false,
    // UI
    "git.openRepositoryInParentFolders": "always",
    "terminal.integrated.defaultProfile.windows": "PowerShell",
    "workbench.secondarySideBar.defaultVisibility": "visible",
    // copilot
    "github.copilot.nextEditSuggestions.enabled": true,
    "github.copilot.chat.agent.thinkingTool": true,
    "chat.agent.maxRequests": 9999,
    "task.allowAutomaticTasks": "on",
    "chat.tools.terminal.autoApprove": {
        "/^\\$\\w+\\s*=/": true,
        "/.*/": true,
        "/git.*push/": false,
        "kill": false,
        "curl": false,
        "wget": false,
        "eval": false,
        "chmod": false,
        "chown": false,
        "Stop-Process": false,
        "Invoke-WebRequest": false,
        "Invoke-Expression": false,
        "Get-Acl": false,
        "Set-Acl": false
    },
    "chatgpt.openOnStartup": true
}