Skip to content

Instantly share code, notes, and snippets.

@exuanbo
Last active March 13, 2023 21:30
Show Gist options
  • Save exuanbo/ff3e6fa6c3af43ee46795ec07160b34b to your computer and use it in GitHub Desktop.
Save exuanbo/ff3e6fa6c3af43ee46795ec07160b34b to your computer and use it in GitHub Desktop.
{
// Text Editor
"editor.bracketPairColorization.enabled": false,
"editor.guides.bracketPairs": "active",
"editor.rulers": [100],
"editor.semanticHighlighting.enabled": true,
"editor.stickyScroll.enabled": true,
// Text Editor -> Cursor
"editor.cursorBlinking": "smooth",
// Text Editor -> Font
"editor.fontFamily": "'JetBrains Mono'",
"editor.fontSize": 14,
// Text Editor -> Formatting
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
// Text Editor -> Diff Editor
"diffEditor.ignoreTrimWhitespace": false,
// Text Editor -> Minimap
"editor.minimap.enabled": false,
// Text Editor -> Suggestions
"editor.acceptSuggestionOnCommitCharacter": false,
"editor.acceptSuggestionOnEnter": "off",
"editor.inlineSuggest.enabled": true,
"editor.quickSuggestions": {
"strings": true
},
"editor.suggest.preview": true,
"editor.suggestSelection": "first",
// Text Editor -> Files
"files.associations": {
"api-extractor.*json": "jsonc"
},
// Workbench
"workbench.colorTheme": "Default Light+",
"workbench.iconTheme": "vscode-icons",
"workbench.startupEditor": "none",
// Window
"window.commandCenter": false,
"window.confirmBeforeClose": "always",
// Features -> Explorer
"explorer.fileNesting.enabled": true,
// Features -> Extensions
"extensions.ignoreRecommendations": true,
// Features -> Terminal
"terminal.integrated.inheritEnv": false,
"terminal.integrated.persistentSessionReviveProcess": "never",
// Security -> Workspace
"security.workspace.trust.enabled": false,
// Extensions
// Extensions -> Black Formatter
"black-formatter.args": ["--line-length=100"],
// Extensions -> C/C++
"C_Cpp.clang_format_fallbackStyle": "{ BasedOnStyle: LLVM, ColumnLimit: 100 }",
// Extensions -> Code Spell Checker
"cSpell.allowCompoundWords": true,
"cSpell.diagnosticLevel": "Hint",
"cSpell.logLevel": "Warning",
// Extensions -> Copilot
"github.copilot.enable": {
"*": true,
"json": true,
"markdown": true,
"plaintext": true,
"yaml": true
},
// Extensions -> CSS Language Features
"css.validate": false,
"less.validate": false,
"scss.validate": false,
// Extensions -> ESLint
"eslint.format.enable": true,
// Extensions -> Git
"git.enableCommitSigning": true,
// Extensions -> GitLens
"gitlens.currentLine.enabled": false,
"gitlens.codeLens.enabled": false,
"gitlens.statusBar.enabled": false,
// Extensions -> isort
"isort.args": ["--profile", "black"],
// Extensions -> LaTeX
"latex-workshop.latex.build.forceRecipeUsage": false,
"latex-workshop.view.pdf.viewer": "tab",
// Extensions -> Markdown All in One
"markdown.extension.orderedList.marker": "one",
// Extensions -> Pylance
"python.analysis.typeCheckingMode": "basic",
// Extensions -> Python
"python.defaultInterpreterPath": "/usr/local/Caskroom/miniconda/base/envs/myenv/bin/python",
"python.terminal.activateEnvironment": false,
// Extensions -> Run Code configuration
"code-runner.clearPreviousOutput": true,
"code-runner.fileDirectoryAsCwd": true,
"code-runner.preserveFocus": false,
"code-runner.runInTerminal": true,
// Extensions -> TypeScript
"javascript.preferences.jsxAttributeCompletionStyle": "none",
"javascript.suggestionActions.enabled": false,
"javascript.updateImportsOnFileMove.enabled": "always",
"typescript.inlayHints.enumMemberValues.enabled": true,
"typescript.preferences.jsxAttributeCompletionStyle": "none",
"typescript.updateImportsOnFileMove.enabled": "always",
// Extensions -> Windicss IntelliSense
"windicss.sortOnSave": true,
"[c][cpp]": {
"editor.defaultFormatter": "llvm-vs-code-extensions.vscode-clangd"
},
"[javascript][javascriptreact][typescript][typescriptreact]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"[markdown]": {
"editor.defaultFormatter": "yzhang.markdown-all-in-one"
},
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.codeActionsOnSave": {
"source.organizeImports": true
},
"editor.formatOnType": true
},
"[shellscript]": {
"editor.defaultFormatter": "mkhl.shfmt"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment