Created
August 8, 2022 03:52
-
-
Save jeremychone/822320154ee4f5c8c2ecda426ad4d5ae to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
// Place your settings in this file to overwrite the default settings | |
{ | |
"http.proxySupport": "off", // by default we use tabs | |
"files.associations": { | |
"*.pcss": "scss", | |
"*.tmpl": "html", | |
"*.hmd": "markdown", | |
"*.sketchscript": "javascript", | |
"*.hmt": "markdown" | |
}, | |
"editor.renderWhitespace": "selection", // whitespace before start of line | |
"editor.codeActionsOnSave": { | |
"source.organizeImports": true | |
}, | |
"[plaintext]": { | |
"editor.quickSuggestions": { | |
"comments": "off", | |
"strings": "off", | |
"other": "off" | |
} | |
}, | |
"[typescript]": { | |
"editor.formatOnSave": true, | |
"editor.formatOnPaste": true, | |
"editor.defaultFormatter": "vscode.typescript-language-features", | |
}, | |
"[javascript]": { | |
"editor.formatOnSave": true, | |
"editor.formatOnPaste": true | |
}, | |
"[json]": { | |
"editor.formatOnSave": false, | |
"editor.formatOnPaste": false | |
}, | |
"[jsonc]": { | |
"editor.formatOnSave": false, | |
"editor.formatOnPaste": false | |
}, | |
"[css]": { | |
"editor.formatOnSave": true, | |
"editor.formatOnPaste": true | |
}, | |
"[rust]": { | |
"editor.formatOnSave": true, | |
"editor.formatOnPaste": true | |
}, | |
"[markdown]": { | |
"editor.formatOnSave": false, | |
"editor.wordWrap": "on", | |
"editor.insertSpaces": false, | |
"editor.quickSuggestions": { | |
"comments": "off", | |
"strings": "off", | |
"other": "off" | |
}, | |
"editor.tabSize": 4 | |
}, | |
"[python]": { | |
"editor.tabSize": 4, | |
"editor.formatOnSave": true, | |
"editor.formatOnPaste": true, | |
"editor.codeActionsOnSave": { | |
"source.organizeImports": false, | |
} | |
}, | |
// britesnow recommended | |
"editor.tabSize": 2, // small code indent | |
"workbench.startupEditor": "newUntitledFile", // no welcome tab on start | |
"editor.minimap.enabled": false, | |
"git.enableSmartCommit": true, | |
"extensions.ignoreRecommendations": true, | |
"editor.renderLineHighlight": "none", | |
"markdown.preview.lineHeight": 2, | |
"editor.multiCursorModifier": "ctrlCmd", | |
"terminal.integrated.fontSize": 12, | |
"explorer.confirmDragAndDrop": false, | |
"editor.wordSeparators": "`~!@#$%^&*()+[{]}\\|;:'\"./,=<>?", // remove the - to be a word separator | |
"extensions.autoUpdate": false, | |
"[postcss]": {}, | |
"typescript.updateImportsOnFileMove.enabled": "always", | |
"typescript.preferences.quoteStyle": "single", | |
// disable popup while typing | |
"editor.parameterHints.enabled": false, | |
// RUST | |
"sync.gist": "83a8b0bd55a54fbef4c1b5a4cf1dbb97", | |
"explorer.confirmDelete": false, | |
// "cloudcode.awsExplorerVisible": false, | |
// "cloudcode.azureExplorerVisible": false, | |
"editor.foldingHighlight": false, | |
"diffEditor.ignoreTrimWhitespace": false, | |
"timeline.excludeSources": [], | |
"editor.copyWithSyntaxHighlighting": false, | |
"typescript.preferences.importModuleSpecifier": "relative", | |
"editor.formatOnPaste": true, | |
"editor.matchBrackets": "never", | |
"regex-previewer.enableCodeLens": false, | |
"editor.fontSize": 14, | |
"editor.suggest.shareSuggestSelections": true, | |
"javascript.autoClosingTags": false, | |
"cloudcode.gke": { | |
"projectIds": [ | |
"jc-prod" | |
] | |
}, | |
"sync.removeExtensions": true, | |
"sync.syncExtensions": true, | |
// see https://medium.com/@danromans/how-to-customize-semantic-token-colorization-with-visual-studio-code-ac3eab96141b | |
"editor.semanticTokenColorCustomizations": { | |
"enabled": true, | |
"rules": { | |
// for rust | |
"*.mutable": { | |
"underline": false, | |
"foreground": "#e2cff8" | |
} | |
} | |
}, | |
// material can be set per workspace, but not the file associations | |
"material-icon-theme.files.associations": { | |
"pcss.config.js": "postcss", | |
"*.sh": "../../icons/file", | |
"*.java": "../../icons/java", | |
"*.class": "../../icons/class", | |
".gitignore": "../../icons/file", | |
"nodemon.json": "../../icons/file", | |
"package.json": "../icons/nodejs", | |
"package-lock.json": "../../icons/file", | |
"LICENSE": "../../icons/file", | |
"README.md": "../../icons/file" | |
}, | |
"material-icon-theme.opacity": 1, | |
"material-icon-theme.saturation": 1, | |
"material-icon-theme.folders.associations": { | |
".vscode": "", | |
"dist": "", | |
"frontend": "../../../../icons/folder-client", | |
"src": "../../../../icons/folder-src", | |
"pcss": "../../../../icons/folder-pcss", | |
"node_modules": "", | |
"web-folder": "views", | |
"server": "node" | |
}, | |
"material-icon-theme.showWelcomeMessage": false, | |
"explorer.compactFolders": false, | |
"editor.lightbulb.enabled": false, | |
"rust-analyzer.lens.enable": false, | |
"scm.diffDecorationsGutterVisibility": "hover", | |
"workbench.editor.untitled.hint": "hidden", | |
"markdown-table-formatter.enableSort": false, | |
"security.workspace.trust.untrustedFiles": "open", | |
"files.exclude": { | |
".vscode/": true, // set to true when demo | |
"**/.classpath": true, | |
"**/.project": true, | |
"**/.settings": true, | |
"**/.factorypath": true | |
}, | |
"search.exclude": { | |
"**/.vscode/": true, | |
}, | |
"editor.quickSuggestions": { | |
"comments": "off", | |
"strings": "off", | |
"other": "off" | |
}, | |
"editor.suggestSelection": "first", | |
"editor.quickSuggestionsDelay": 800, | |
"editor.hover.delay": 800, | |
"workbench.editor.labelFormat": "medium", | |
"editor.padding.top": 16, | |
"editor.wordBasedSuggestions": false, | |
"editor.accessibilitySupport": "off", | |
"workbench.editor.splitInGroupLayout": "vertical", | |
"workbench.colorCustomizations": { | |
// "editor.lineHighlightBackground": "#55555510", | |
"editor.selectionBackground": "#004973af", | |
// "editor.selectionHighlightBackground": "#00497315", | |
// "editor.wordHighlightBackground": "#3d3d3d", | |
// "editorCursor.foreground": "#868686", | |
// Name of the theme you are currently using | |
// "editorInlayHint.foreground": "#ff0000f0", | |
"editorInlayHint.background": "#00000000", | |
// Overrides for specific kinds of inlay hints | |
"editorInlayHint.typeForeground": "#ffffffb7", | |
"editorInlayHint.parameterForeground": "#ffffff91", | |
}, | |
"markdown-table-formatter.markdownGrammarScopes": [ | |
"markdown", | |
"toml" | |
], | |
"breadcrumbs.symbolPath": "off", | |
"editor.peekWidgetDefaultFocus": "editor", | |
"debug.javascript.codelens.npmScripts": "never", | |
"rest-client.enableCustomVariableReferencesCodeLens": false, | |
"breadcrumbs.enabled": false, | |
"editor.guides.indentation": false, | |
"editor.bracketPairColorization.enabled": false, | |
// "rust-analyzer.diagnostics.experimental.enable": false, | |
// "rust-analyzer.inlayHints.lifetimeElisionHints.enable": "skip_trivial", | |
"editor.inlayHints.enabled": false, | |
"editor.inlayHints.fontSize": 12, | |
"window.newWindowDimensions": "offset", | |
"code-runner.clearPreviousOutput": true, | |
"code-runner.executorMap": { | |
"javascript": "node", | |
"java": "cd $dir && javac $fileName && java $fileNameWithoutExt", | |
"c": "cd $dir && gcc $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", | |
"python": "cd $dir && /usr/local/bin/python3 $fileName", | |
"lua": "lua", | |
"typescript": "ts-node", | |
"swift": "swift", | |
"applescript": "osascript", | |
"rust": "cargo run -- ", | |
"dart": "dart", | |
"sass": "sass --style expanded", | |
"scss": "scss --style expanded" | |
}, | |
"code-runner.languageIdToFileExtensionMap": { | |
"powershell": ".ps1", | |
"typescript": ".ts" | |
}, | |
"code-runner.runInTerminal": true, | |
"code-runner.enableAppInsights": false, | |
"code-runner.temporaryFileName": ".tmp", | |
"rust-analyzer.imports.granularity.enforce": true, | |
"rust-analyzer.imports.granularity.group": "module", | |
// IMPORTANT Temporary to work around rust-analyzer proc macro issue!!!! | |
// See https://github.com/rust-lang/rust-analyzer/issues/12538#issuecomment-1160696123 | |
// "rust-analyzer.cargo.unsetTest": [ | |
// "tokio", | |
// "tokio-macros" | |
// ], | |
"window.zoomLevel": 1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment