{
"diffEditor.renderSideBySide": false,
// Run the tsrs language server. `tsrs-tsdk/tsgo` symlinks the project's
// tsrs launcher; point this at `./node_modules/tsrs/tsdk` once tsrs >= 0.19
// ships it. macOS/Linux only — Windows needs a native tsgo.exe.
"js/ts.tsdk.path": "./.vscode/tsrs-tsdk",
"js/ts.tsdk.promptToUseWorkspaceVersion": true,
"js/ts.preferences.importModuleSpecifier": "relative",
"js/ts.preferences.importModuleSpecifierEnding": "js",
"oxc.enable": true,
"oxc.enable.oxfmt": true,
"oxc.lint.run": "onSave",
"json.schemaDownload.enable": true,
"editor.defaultFormatter": "oxc.oxc-vscode",
"editor.codeLens": false,
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "file",
"editor.inlayHints.enabled": "offUnlessPressed",
"editor.tabSize": 2,
"editor.indentSize": 2,
"editor.insertSpaces": true,
"[toml]": {
"editor.defaultFormatter": "tamasfe.even-better-toml"
},
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[markdown]": {
"editor.formatOnSave": false,
"editor.defaultFormatter": null
},
"[mdx]": {
"editor.defaultFormatter": null,
"editor.formatOnSave": false
},
"files.exclude": {
"**/__pycache__": true,
"**/*.pyc": true,
"packages/alchemy/bin/**/*.d*": true,
"packages/alchemy/bin/**/*.map": true
},
// The client watcher feeds the tsgo LSP (workspace/didChangeWatchedFiles);
// every unexcluded change storm forces a session-snapshot clone + program
// update (8-18s on the alchemy projects). Exclude everything that is not a
// program input: agent worktrees (.claude is ~69GB incl. nested
// node_modules), vendored submodules, test logs/tmp bundles, and installs.
"files.watcherExclude": {
"**/submodules/**": true,
"**/.claude/**": true,
"**/.alchemy/**": true,
"**/node_modules/**": true,
"**/.git/**": true
},
"search.exclude": {
"**/submodules/**": true,
"**/.claude/**": true,
"**/.alchemy/**": true
},
// Keep the 200MB generated distilled surface out of the auto-import index.
"js/ts.preferences.autoImportFileExcludePatterns": ["**/submodules/**"],
"[typescript]": {
"editor.indentSize": 2,
"editor.defaultFormatter": "oxc.oxc-vscode"
},
"[javascript]": {
"editor.indentSize": 2,
"editor.defaultFormatter": "oxc.oxc-vscode"
},
"[typescriptreact]": {
"editor.indentSize": 2,
"editor.defaultFormatter": "oxc.oxc-vscode"
},
"[javascriptreact]": {
"editor.indentSize": 2,
"editor.defaultFormatter": "oxc.oxc-vscode"
}
}