Scott's BlogBlog
← All posts

Setup for ide settings

VScode settings:

Preferences: Open User Settings (JSON)

{
  "workbench.colorTheme": "Default High Contrast",
  "telemetry.feedback.enabled": false,
  "telemetry.telemetryLevel": "off",
 
  "files.exclude": {
    "**/.git": true,
    "**/.svn": true,
    "**/.hg": true,
    "**/.DS_Store": true,
    "**/Thumbs.db": true,
 
    "**/node_modules": true,
    "**/dist": true,
    "**/build": true,
    "**/out": true,
    "**/.next": true,
    "**/.nuxt": true,
    "**/.svelte-kit": true,
    "**/.turbo": true,
    "**/.cache": true,
    "**/.parcel-cache": true,
    "**/.vite": true,
    "**/coverage": true,
 
    "**/.terraform": true,
    "**/.terragrunt-cache": true,
 
    "**/target": true,
    "**/bin": true,
    "**/obj": true,
 
    "**/__pycache__": true,
    "**/.pytest_cache": true,
    "**/.mypy_cache": true,
    "**/.ruff_cache": true,
    "**/.venv": true,
    "**/venv": true
  },
 
  "search.exclude": {
    "**/node_modules": true,
    "**/dist": true,
    "**/build": true,
    "**/out": true,
    "**/.next": true,
    "**/.nuxt": true,
    "**/.svelte-kit": true,
    "**/.turbo": true,
    "**/.cache": true,
    "**/.parcel-cache": true,
    "**/.vite": true,
    "**/coverage": true,
 
    "**/.terraform": true,
    "**/.terragrunt-cache": true,
    "**/terraform.tfstate": true,
    "**/terraform.tfstate.backup": true,
 
    "**/target": true,
    "**/bin": true,
    "**/obj": true,
 
    "**/__pycache__": true,
    "**/.pytest_cache": true,
    "**/.mypy_cache": true,
    "**/.ruff_cache": true,
    "**/.venv": true,
    "**/venv": true,
 
    "**/*.min.js": true,
    "**/*.map": true,
    "**/package-lock.json": true,
    "**/yarn.lock": true,
    "**/pnpm-lock.yaml": true
  },
 
  "files.watcherExclude": {
    "**/.git/objects/**": true,
    "**/.git/subtree-cache/**": true,
 
    "**/node_modules/**": true,
    "**/dist/**": true,
    "**/build/**": true,
    "**/out/**": true,
    "**/.next/**": true,
    "**/.nuxt/**": true,
    "**/.svelte-kit/**": true,
    "**/.turbo/**": true,
    "**/.cache/**": true,
    "**/.parcel-cache/**": true,
    "**/.vite/**": true,
    "**/coverage/**": true,
 
    "**/.terraform/**": true,
    "**/.terragrunt-cache/**": true,
 
    "**/target/**": true,
    "**/bin/**": true,
    "**/obj/**": true,
 
    "**/__pycache__/**": true,
    "**/.pytest_cache/**": true,
    "**/.mypy_cache/**": true,
    "**/.ruff_cache/**": true,
    "**/.venv/**": true,
    "**/venv/**": true
  },
 
  "typescript.tsserver.maxTsServerMemory": 4096,
  "typescript.tsserver.experimental.enableProjectDiagnostics": false,
  "typescript.preferences.includePackageJsonAutoImports": "off",
  "javascript.preferences.includePackageJsonAutoImports": "off",
 
  "eslint.run": "onSave",
  "eslint.workingDirectories": [
    {
      "mode": "auto"
    }
  ],
 
  "go.useLanguageServer": true,
  "gopls": {
    "build.directoryFilters": [
      "-.git",
      "-node_modules",
      "-dist",
      "-build",
      "-vendor",
      "-third_party",
      "-testdata"
    ],
    "ui.diagnostic.analyses": {
      "fieldalignment": false,
      "shadow": false,
      "unusedparams": true,
      "unusedwrite": true
    }
  },
 
  "python.analysis.exclude": [
    "**/node_modules",
    "**/__pycache__",
    "**/.pytest_cache",
    "**/.mypy_cache",
    "**/.ruff_cache",
    "**/.venv",
    "**/venv",
    "**/dist",
    "**/build"
  ],
  "python.analysis.autoImportCompletions": false,
  "python.analysis.diagnosticMode": "openFilesOnly",
 
  "git.autorefresh": false,
  "git.openRepositoryInParentFolders": "never",
  "git.autoRepositoryDetection": "subFolders",
 
  "editor.minimap.enabled": false,
  "editor.codeLens": false,
  "editor.lightbulb.enabled": "off",
  "breadcrumbs.enabled": false,
 
  "window.restoreWindows": "none",
  "workbench.startupEditor": "none"
}

opencode.json

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "context7": {
      "type": "local",
      "command": ["docker", "run", "-i", "--rm", "mcp/context7"],
      "enabled": true
    },
    "fetch": {
      "type": "local",
      "command": ["docker", "run", "-i", "--rm", "mcp/fetch"],
      "enabled": true
    },
    "playwright": {
      "type": "local",
      "command": ["docker", "run", "-i", "--rm", "mcp/playwright"],
      "enabled": true
    }
  }
}

zed

// Zed settings
{
  "project_panel": {
    "dock": "left",
    "show_diagnostics": "off",
  },
 
  "telemetry": {
    "diagnostics": false,
    "metrics": false,
  },
 
  "disable_ai": true,
  "features": {
    "edit_predictions": {
      "provider": "none",
    },
  },
 
  "base_keymap": "VSCode",
 
  "theme": {
    "mode": "dark",
    "light": "One Light",
    "dark": "Ayu Dark",
  },
 
  "icon_theme": "Zed (Default)",
  "ui_font_size": 16,
  "buffer_font_size": 15,
 
  "minimap": {
    "show": "never",
  },
 
  "code_lens": "off",
  "inline_code_actions": false,
  "hover_popover_enabled": true,
  "auto_signature_help": false,
 
  "restore_on_startup": "empty_tab",
  "session": {
    "restore_unsaved_buffers": false,
    "trust_all_worktrees": false,
  },
 
  "git": {
    "git_gutter": "tracked_files",
    "inline_blame": {
      "enabled": false,
    },
  },
 
  "file_scan_exclusions": [
    "**/.git",
    "**/.svn",
    "**/.hg",
    "**/.jj",
    "**/CVS",
    "**/.DS_Store",
    "**/Thumbs.db",
    "**/.classpath",
    "**/.settings",
 
    "**/node_modules",
    "**/dist",
    "**/build",
    "**/out",
    "**/.next",
    "**/.nuxt",
    "**/.svelte-kit",
    "**/.turbo",
    "**/.cache",
    "**/.parcel-cache",
    "**/.vite",
    "**/coverage",
 
    "**/.terraform",
    "**/.terragrunt-cache",
    "**/terraform.tfstate",
    "**/terraform.tfstate.backup",
 
    "**/target",
    "**/bin",
    "**/obj",
 
    "**/__pycache__",
    "**/.pytest_cache",
    "**/.mypy_cache",
    "**/.ruff_cache",
    "**/.venv",
    "**/venv",
 
    "**/*.min.js",
    "**/*.map",
    "**/package-lock.json",
    "**/yarn.lock",
    "**/pnpm-lock.yaml",
 
    "**/vendor",
    "**/third_party",
  ],
 
  "languages": {
    "Go": {
      "enable_language_server": true,
      "formatter": "language_server",
      "format_on_save": "on",
    },
  },
 
  "lsp": {
    "gopls": {
      "initialization_options": {
        "directoryFilters": [
          "-.git",
          "-node_modules",
          "-dist",
          "-build",
          "-vendor",
          "-third_party",
          "-testdata",
        ],
        "analyses": {
          "fieldalignment": false,
          "shadow": false,
          "unusedparams": true,
          "unusedwrite": true,
        },
        "hints": {
          "assignVariableTypes": false,
          "compositeLiteralFields": false,
          "compositeLiteralTypes": false,
          "constantValues": false,
          "functionTypeParameters": false,
          "parameterNames": false,
          "rangeVariableTypes": false,
        },
      },
    },
  },
}