{
  // 🧠 Editor Behavior
  "editor.tabSize": 2,
  "editor.insertSpaces": true,
  "editor.detectIndentation": false,
  "editor.formatOnSave": true,
    "editor.codeActionsOnSave": {
    "source.fixAll": "always"
  },
  "editor.renderWhitespace": "boundary",
  "editor.wordWrap": "on",
  "editor.minimap.enabled": false,

  // 📁 File Handling
  "files.autoSave": "afterDelay",
  "files.autoSaveDelay": 1000,
  "files.trimTrailingWhitespace": true,
  "files.insertFinalNewline": true,

  // 🧪 JavaScript & PHP
  "javascript.updateImportsOnFileMove.enabled": "always",
  "eslint.enable": true,
  "php.validate.enable": true,
  "php.validate.executablePath": "C:\\php\\php.exe", // ← Update this path "C:\\php\\php.exe"

  // 🐍 Python
  "python.languageServer": "Pylance",
  "python.formatting.provider": "black",
  "python.linting.enabled": true,
  "python.linting.pylintEnabled": true,

  // 🐳 Docker & YAML
  "docker.languageserver.formatter.enable": true,
  "yaml.format.enable": true,

  // 🖥️ Terminal
  "terminal.integrated.defaultProfile.windows": "Command Prompt",
  "terminal.integrated.scrollback": 10000,

  // 🧩 Extensions & UI
  "workbench.startupEditor": "none",
  "workbench.iconTheme": "vs-seti",
  "workbench.colorTheme": "Default Dark Modern",
  "breadcrumbs.enabled": true,

  // 🔒 Privacy
  "telemetry.telemetryLevel": "off",

  // Exclude heavy/irrelevant folders from indexing
"intelephense.files.exclude": [
  "**/.git/**",
  "**/node_modules/**",
  "**/vendor/**",
  "**/uploads/**",
  "**/storage/**",
  "**/cache/**",
  "**/dist/**",
  "**/build/**"
],

// Give the language server more headroom (MB)
"intelephense.maxMemory": 2048,

// If you still have the old PHP Language Server installed (not recommended):
"php.suggest.basic": false,

  // 📚 Custom Spellcheck Dictionary
  "cSpell.words": [
    "dailyelec", "dailygas", "dstr", "evmilage", "kuga", "leftside",
    "natwestdashboard", "newmainpage", "Segoe", "tgas", "Tmrw", "tpaga",
    "TPCB", "tpcbga", "TPGAC", "tpgaca", "tppga", "TPSC", "tpsca",
    "TPSEIC", "tpseica", "TPUBSA", "tpubsaa", "weathercode"
  ],

  // 🔌 SQLTools Connections
  "sqltools.connections": [
    {
      "mysqlOptions": {
        "authProtocol": "default",
        "enableSsl": "Disabled"
      },
      "previewLimit": 50,
      "server": "localhost",
      "port": 3306,
      "driver": "MySQL",
      "name": "Heating",
      "database": "heating",
      "username": "root"
    },
    {
      "mysqlOptions": {
        "authProtocol": "default",
        "enableSsl": "Disabled"
      },
      "previewLimit": 50,
      "server": "192.168.0.41",
      "port": 3306,
      "driver": "MariaDB",
      "name": "192.168.0.41",
      "database": "GasElectric",
      "username": "mawdz09",
      "password": "asaxPI1324"
    },
    {
      "python.pythonPath": "/home/Pi5/myenv/bin/python"
    },
    {
      "mysqlOptions": {
        "authProtocol": "default",
        "enableSsl": "Disabled"
      },
      "ssh": "Disabled",
      "previewLimit": 50,
      "server": "192.168.0.41",
      "port": 3306,
      "driver": "MariaDB",
      "name": "Pi5",
      "database": "TPFundPrices",
      "username": "mawdz09"
    }
  ]
}
