From b1468c17ef5c7b0d91d79a3c67cd264052999584 Mon Sep 17 00:00:00 2001 From: Bertie690 <136088738+Bertie690@users.noreply.github.com> Date: Fri, 1 Aug 2025 13:28:09 -0400 Subject: [PATCH] Update settings.json --- .vscode/settings.json | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index c896d0bb2db..31b6b7730be 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,11 +1,8 @@ { + // # Formatter configs "editor.defaultFormatter": "biomejs.biome", "editor.tabSize": 2, "editor.insertSpaces": true, - "typescript.preferences.importModuleSpecifier": "non-relative", - "javascript.preferences.importModuleSpecifier": "non-relative", - "javascript.preferences.importModuleSpecifierEnding": "index", - "typescript.preferences.importModuleSpecifierEnding": "index", "editor.codeActionsOnSave": { "source.addMissingImports.ts": "always", "source.removeUnusedImports": "always", @@ -13,5 +10,28 @@ "source.fixAll.biome": "always", "source.organizeImports.biome": "always" }, + "biome.suggestInstallingGlobally": false, + + // # JS/TS setting overrides + "javascript.updateImportsOnFileMove.enabled": "always", + "javascript.preferences.importModuleSpecifier": "non-relative", + "javascript.preferences.importModuleSpecifierEnding": "index", + "javascript.preferGoToSourceDefinition": true, + "javascript.updateImportsOnFileMove.enabled": "always", + + "typescript.updateImportsOnFileMove.enabled": "always", + "typescript.preferences.importModuleSpecifier": "non-relative", + "typescript.preferences.importModuleSpecifierEnding": "index", + "typescript.preferGoToSourceDefinition": true, + "typescript.updateImportsOnFileMove.enabled": "always", + + "typescript.tsserver.experimental.enableProjectDiagnostics": true, + // Note: You may want to adjust the max server memory if your PC supports it + "typescript.tsserver.maxTsServerMemory": 1536, // 1.5 GB by default + "typescript.autoClosingTags": false, + + // # Miscellaneous + "npm.packageManager": "pnpm", + "npm.scriptRunner": "pnpm", "vitest.cliArguments": "--no-isolate", }