75 lines
2.4 KiB
JSON
75 lines
2.4 KiB
JSON
{
|
|
"editor.bracketPairColorization.enabled": true,
|
|
"editor.guides.bracketPairs": true,
|
|
"editor.tabCompletion": "onlySnippets",
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
"eslint.run": "onType",
|
|
"eslint.validate": ["javascript", "typescript", "vue"],
|
|
"i18n-ally.localesPaths": ["src/i18n"],
|
|
"typescript.format.enable": true,
|
|
"typescript.format.indentSwitchCase": false,
|
|
"typescript.validate.enable": true,
|
|
"notebook.defaultFormatter": "Vue.volar",
|
|
|
|
// Оптимизация для монорепозитория
|
|
"typescript.preferences.useAliasesForRenames": false,
|
|
"typescript.preferences.includePackageJsonAutoImports": "on",
|
|
"typescript.suggest.autoImports": true,
|
|
"typescript.suggest.paths": true,
|
|
"typescript.updateImportsOnFileMove.enabled": "always",
|
|
"typescript.workspaceSymbols.scope": "currentProject",
|
|
|
|
// Настройки для снижения нагрузки
|
|
"files.watcherExclude": {
|
|
"**/node_modules/**": true,
|
|
"**/dist/**": true,
|
|
"**/.git/objects/**": true,
|
|
"**/.git/subtree-cache/**": true,
|
|
"**/node_modules/*/**": true,
|
|
"**/.cache/**": true,
|
|
"**/.quasar/**": true,
|
|
"**/*.tsbuildinfo": true
|
|
},
|
|
|
|
"search.exclude": {
|
|
"**/node_modules": true,
|
|
"**/dist": true,
|
|
"**/.cache": true,
|
|
"**/.quasar": true,
|
|
"**/*.tsbuildinfo": true
|
|
},
|
|
|
|
"files.exclude": {
|
|
"**/.cache": true,
|
|
"**/*.tsbuildinfo": true,
|
|
"**/node_modules/.cache": true
|
|
},
|
|
|
|
// TypeScript server настройки для монорепозитория
|
|
"typescript.tsserver.maxTsServerMemory": 8192,
|
|
"typescript.tsserver.watchOptions": {
|
|
"excludeDirectories": [
|
|
"**/node_modules",
|
|
"**/dist",
|
|
"**/.cache",
|
|
"**/.quasar",
|
|
"**/build"
|
|
]
|
|
},
|
|
|
|
// Использовать локальный TypeScript из монорепо
|
|
"typescript.tsdk": "node_modules/typescript/lib",
|
|
"typescript.enablePromptUseWorkspaceTsdk": true,
|
|
|
|
// КРИТИЧЕСКИ ВАЖНО: включить project references для монорепозитория
|
|
"typescript.tsserver.useSyntaxServer": "auto",
|
|
"typescript.tsserver.experimental.enableProjectDiagnostics": true,
|
|
|
|
// Оптимизация для больших монорепозиториев
|
|
"typescript.disableAutomaticTypeAcquisition": true,
|
|
"typescript.surveys.enabled": false,
|
|
"[typescript]": {
|
|
"editor.defaultFormatter": "vscode.typescript-language-features"
|
|
}
|
|
}
|