mirror of
https://github.com/VibedByKaKi/t3-code-android-nightly.git
synced 2026-10-09 20:01:15 +02:00
89 lines
No EOL
3.1 KiB
JSON
89 lines
No EOL
3.1 KiB
JSON
{
|
|
"diffEditor.renderSideBySide": false,
|
|
// Point the editor at THIS workspace's pinned typescript@7 install. The
|
|
// Effect diagnostics (e.g. `anyUnknownInErrorContext`) come from
|
|
// `effect-tsgo patch` (run automatically on install via `prepare`), which
|
|
// patches the workspace `node_modules/typescript` binary in place — the
|
|
// editor must use the WORKSPACE version or no Effect diagnostics appear.
|
|
// Opt in once per machine via Command Palette -> "TypeScript: Select
|
|
// TypeScript Version" -> "Use Workspace Version".
|
|
// (`enablePromptUseWorkspaceTsdk` below makes the editor prompt for this.)
|
|
"typescript.tsdk": "node_modules/typescript/lib",
|
|
"typescript.enablePromptUseWorkspaceTsdk": true,
|
|
"typescript.preferences.importModuleSpecifier": "relative",
|
|
"typescript.preferences.importModuleSpecifierEnding": "ts",
|
|
"oxc.enable": 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,
|
|
"editor.codeActionsOnSave": {
|
|
"source.fixAll": "explicit",
|
|
"source.organizeImports": "explicit"
|
|
},
|
|
"[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.
|
|
"typescript.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"
|
|
},
|
|
"oxc.enable.oxfmt": true
|
|
} |