User

settings.json

{
  "[css]": {
    "editor.suggest.insertMode": "replace",
    "cSpell.fixSpellingWithRenameProvider": false
  },
  "cSpell.userWords": [
    "colours",
    "Cormier",
    "daisyui",
    "Dropbot",
    "esbenp",
    "jessy",
    "jessyco",
    "nguniversal",
    "Ontada",
    "optimizely",
    "pocketbase",
    "prefersdark",
    "prerender",
    "redeclaring",
    "tailwindcss"
  ],
  "diffEditor.ignoreTrimWhitespace": false,
  "diffEditor.renderSideBySide": true,
  "docker.extension.enableComposeLanguageServer": false,
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "editor.fontFamily": "FiraCode Nerd Font, Consolas, 'Courier New', monospace",
  "editor.rulers": [80, 120],
  "editor.stickyScroll.enabled": true,
  "files.associations": { "*.json": "jsonc", "*.css": "tailwindcss" },
  "github.copilot.nextEditSuggestions.enabled": true,
  "terminal.explorerKind": "external",
  "terminal.external.windowsExec": "C:\\Program Files\\PowerShell\\7\\pwsh.exe",
  "window.zoomLevel": 1,
  "workbench.activityBar.location": "top",
  "workbench.editor.wrapTabs": true,
  "workbench.iconTheme": "material-icon-theme",
  "workbench.tree.enableStickyScroll": true,
  "workbench.tree.indent": 12,
  "zenMode.showTabs": "none"
}

keybindings.json

// Place your key bindings in this file to override the defaultsauto[]
[
    {
        "key": "ctrl+shift+alt+f",
        "command": "search.action.openEditor"
    },
    {
        "key": "alt+w",
        "command": "editor.emmet.action.wrapWithAbbreviation"
    }
]

Project Config Files

.editorconfig

# Editor configuration, see https://editorconfig.org
root = true
 
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 2
 
[*.ts]
quote_type = single
ij_typescript_use_double_quotes = false
 
[*.md]
trim_trailing_whitespace = false
 

.prettier

{
  "printWidth": 160, // the default 80char rule is dead; we have wide screens double it.
  "tabWidth": 2,
  "useTabs": false,
  "semi": true,
  "singleQuote": true,
  "trailingComma": "all",
  "bracketSpacing": true,
  "arrowParens": "always",
  "endOfLine": "lf",
  "bracketSameLine": true, // I prefer having the ">" char on the last line this makes that happen.
  "overrides": [
    {
      "files": "*.html",
      "options": {
        "parser": "angular" // This parse is specific for angular (duh)  it makes spacing work for control flow for example, much nicer experience
      } 
    }
  ]
}