microsoft/typespec
Publicmirrored fromhttps://github.com/microsoft/typespecAvailable
.vscode/settings.json
62lines · modecode
| 1 | { |
| 2 | "files.eol": "\n", |
| 3 | "files.insertFinalNewline": true, |
| 4 | "search.exclude": { |
| 5 | "**/dist/**": true, |
| 6 | "**/dist-dev/**": true, |
| 7 | "**/.docusaurus/**": true, |
| 8 | "**/CHANGELOG.json": true, |
| 9 | "docs/spec.html": true, |
| 10 | "**/node_modules/**": true, |
| 11 | "**/.tsbuildinfo": true, |
| 12 | "packages/compiler/templates/__snapshots__/**": true, |
| 13 | "packages/website/versioned_docs/**": true, |
| 14 | "packages/http-client-csharp/**/Generated/**": true, |
| 15 | "packages/samples/scratch/**": false // Those files are in gitignore but we still want to search for them |
| 16 | }, |
| 17 | "files.exclude": { |
| 18 | "**/common/temp/**": true, |
| 19 | "**/obj/**": true, |
| 20 | "**/bin/**": true, |
| 21 | "**/.git": true, |
| 22 | "**/.DS_Store": true |
| 23 | }, |
| 24 | "[javascript][javascriptreact][typescript][typescriptreact]": { |
| 25 | "editor.formatOnSave": true, |
| 26 | "editor.formatOnPaste": false, // work around https://github.com/simonhaenisch/prettier-plugin-organize-imports/issues/53 |
| 27 | "editor.insertSpaces": true, |
| 28 | "editor.tabSize": 2, |
| 29 | "editor.detectIndentation": false, |
| 30 | "editor.defaultFormatter": "esbenp.prettier-vscode" |
| 31 | }, |
| 32 | "[json][[jsonc][yaml][typespec][markdown][css][astro][mdx][shellscript][dockerfile]": { |
| 33 | "editor.formatOnSave": true, |
| 34 | "editor.formatOnPaste": true, |
| 35 | "editor.insertSpaces": true, |
| 36 | "editor.tabSize": 2, |
| 37 | "editor.detectIndentation": false, |
| 38 | "editor.defaultFormatter": "esbenp.prettier-vscode" |
| 39 | }, |
| 40 | "[csharp]": { |
| 41 | "editor.insertSpaces": true, |
| 42 | "editor.detectIndentation": false, |
| 43 | "editor.tabSize": 4 |
| 44 | }, |
| 45 | "[xml]": { |
| 46 | "editor.insertSpaces": true, |
| 47 | "editor.detectIndentation": false, |
| 48 | "editor.tabSize": 2 |
| 49 | }, |
| 50 | "files.associations": { |
| 51 | "rush.json": "jsonc", |
| 52 | "common-versions.json": "jsonc", |
| 53 | "command-line.json": "jsonc", |
| 54 | "pnpm-config.json": "jsonc", |
| 55 | "version-policies.json": "jsonc" |
| 56 | }, |
| 57 | "typescript.tsdk": "./node_modules/typescript/lib", |
| 58 | "git.ignoreLimitWarning": true, |
| 59 | "vitest.rootConfig": "vitest.config.js", |
| 60 | "eslint.rules.customizations": [{ "rule": "*", "severity": "warn" }], |
| 61 | "typespec.tsp-server.path": "${workspaceFolder}/packages/compiler" |
| 62 | } |
| 63 | |