mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
158 lines
3.8 KiB
JSON
158 lines
3.8 KiB
JSON
{
|
|
// Editor
|
|
"editor.tabSize": 2,
|
|
"editor.insertSpaces": true,
|
|
"editor.formatOnSave": true,
|
|
"editor.formatOnSaveMode": "file",
|
|
|
|
// Search
|
|
"search.quickOpen.includeSymbols": false,
|
|
"search.seedWithNearestWord": true,
|
|
"search.smartCase": true,
|
|
"search.exclude": {
|
|
"node_modules": true,
|
|
".git": true,
|
|
"src/bun.js/WebKit": true,
|
|
"src/deps/*/**": true
|
|
},
|
|
"search.followSymlinks": false,
|
|
"search.useIgnoreFiles": true,
|
|
|
|
// Git
|
|
"git.autoRepositoryDetection": "openEditors",
|
|
"git.ignoreSubmodules": true,
|
|
"git.ignoreLimitWarning": true,
|
|
|
|
// Zig
|
|
"zig.initialSetupDone": true,
|
|
"zig.buildOnSave": false,
|
|
"zig.buildOption": "build",
|
|
"zig.buildFilePath": "${workspaceFolder}/build.zig",
|
|
"zig.path": "${workspaceFolder}/.cache/zig/zig.exe",
|
|
"zig.formattingProvider": "zls",
|
|
"zig.zls.enableInlayHints": false,
|
|
"[zig]": {
|
|
"editor.tabSize": 4,
|
|
"editor.useTabStops": false,
|
|
"editor.defaultFormatter": "ziglang.vscode-zig"
|
|
},
|
|
|
|
// C++
|
|
"lldb.verboseLogging": false,
|
|
"cmake.configureOnOpen": false,
|
|
"C_Cpp.errorSquiggles": "enabled",
|
|
"[cpp]": {
|
|
"editor.defaultFormatter": "xaver.clang-format"
|
|
},
|
|
"[c]": {
|
|
"editor.defaultFormatter": "xaver.clang-format"
|
|
},
|
|
"[h]": {
|
|
"editor.defaultFormatter": "xaver.clang-format"
|
|
},
|
|
|
|
// JavaScript
|
|
"prettier.enable": true,
|
|
"eslint.workingDirectories": ["${workspaceFolder}/packages/bun-types"],
|
|
"[javascript]": {
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
},
|
|
"[javascriptreact]": {
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
},
|
|
|
|
// TypeScript
|
|
"typescript.tsdk": "${workspaceFolder}/node_modules/typescript/lib",
|
|
"[typescript]": {
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
},
|
|
"[typescriptreact]": {
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
},
|
|
|
|
// JSON
|
|
"[json]": {
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
},
|
|
"[jsonc]": {
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
},
|
|
|
|
// Markdown
|
|
"[markdown]": {
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
"editor.unicodeHighlight.ambiguousCharacters": true,
|
|
"editor.unicodeHighlight.invisibleCharacters": true,
|
|
"diffEditor.ignoreTrimWhitespace": false,
|
|
"editor.wordWrap": "on",
|
|
"editor.quickSuggestions": {
|
|
"comments": "off",
|
|
"strings": "off",
|
|
"other": "off"
|
|
}
|
|
},
|
|
|
|
// TOML
|
|
"[toml]": {
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
},
|
|
|
|
// YAML
|
|
"[yaml]": {
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
},
|
|
|
|
// Dockerfile
|
|
"[dockerfile]": {
|
|
"editor.formatOnSave": false
|
|
},
|
|
|
|
// Files
|
|
"files.exclude": {
|
|
"**/.git": true,
|
|
"**/.svn": true,
|
|
"**/.hg": true,
|
|
"**/CVS": true,
|
|
"**/.DS_Store": true,
|
|
"**/Thumbs.db": true,
|
|
"**/*.xcworkspacedata": true,
|
|
"**/*.xcscheme": true,
|
|
"**/*.xcodeproj": true,
|
|
"src/bun.js/WebKit": true,
|
|
"src/deps/libarchive": true,
|
|
"src/deps/mimalloc": true,
|
|
"src/deps/s2n-tls": true,
|
|
"src/deps/boringssl": true,
|
|
"src/deps/openssl": true,
|
|
"src/deps/uws": true,
|
|
"src/deps/zlib": true,
|
|
"src/deps/lol-html": true,
|
|
"src/deps/c-ares": true,
|
|
"src/deps/tinycc": true,
|
|
"src/deps/zstd": true,
|
|
"**/*.i": true,
|
|
"packages/bun-uws/fuzzing/seed-corpus": true
|
|
},
|
|
"files.associations": {
|
|
"*.idl": "cpp"
|
|
},
|
|
"C_Cpp.files.exclude": {
|
|
"**/.vscode": true,
|
|
"WebKit/JSTests": true,
|
|
"WebKit/Tools": true,
|
|
"WebKit/WebDriverTests": true,
|
|
"WebKit/WebKit.xcworkspace": true,
|
|
"WebKit/WebKitLibraries": true,
|
|
"WebKit/Websites": true,
|
|
"WebKit/resources": true,
|
|
"WebKit/LayoutTests": true,
|
|
"WebKit/ManualTests": true,
|
|
"WebKit/PerformanceTests": true,
|
|
"WebKit/WebKitLegacy": true,
|
|
"WebKit/WebCore": true,
|
|
"WebKit/WebDriver": true,
|
|
"WebKit/WebKitBuild": true,
|
|
"WebKit/WebInspectorUI": true
|
|
}
|
|
}
|