46 lines
1.3 KiB
JSON
46 lines
1.3 KiB
JSON
{
|
|
// Project-specific formatter choice
|
|
"editor.defaultFormatter": "biomejs.biome",
|
|
"editor.formatOnSave": true,
|
|
|
|
// TypeScript configuration
|
|
"typescript.tsdk": "node_modules/typescript/lib",
|
|
"typescript.enablePromptUseWorkspaceTsdk": true,
|
|
|
|
// Code actions
|
|
"editor.codeActionsOnSave": {
|
|
"source.fixAll": "explicit",
|
|
"source.addMissingImports.ts": "explicit",
|
|
"source.organizeImports.biome": "explicit",
|
|
"source.removeUnused.ts": "explicit"
|
|
},
|
|
|
|
// Language-specific formatters for this project
|
|
"[typescript]": {
|
|
"editor.defaultFormatter": "biomejs.biome"
|
|
},
|
|
"[typescriptreact]": {
|
|
"editor.defaultFormatter": "biomejs.biome"
|
|
},
|
|
|
|
// TypeScript-specific performance settings for this project
|
|
"typescript.preferGoToSourceDefinition": true,
|
|
"typescript.suggest.paths": true,
|
|
"typescript.tsserver.disableAutomaticTypeAcquisition": false,
|
|
|
|
// TypeScript server project-specific settings
|
|
"typescript.tsserver.maxTsServerMemory": 8192,
|
|
"typescript.tsserver.experimental.enableProjectDiagnostics": true,
|
|
"typescript.tsserver.enableTracing": false,
|
|
|
|
// For large TypeScript projects
|
|
"search.exclude": {
|
|
"**/node_modules": true,
|
|
"**/dist": true,
|
|
"**/build": true
|
|
},
|
|
|
|
// For better JSDoc documentation
|
|
"javascript.suggest.completeJSDocs": true
|
|
}
|