Guest User

Untitled

a guest
Aug 4th, 2023
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 18.35 KB | None | 0 0
  1. {
  2.     "update.mode": "none", // set to auto on Windows
  3.     "telemetry.telemetryLevel": "off",
  4.     //
  5.     //
  6.     // don't auto save since it breaks auto formatting
  7.     "files.autoSave": "off",
  8.     //
  9.     //
  10.     // editor
  11.     "editor.rulers": [
  12.         80
  13.     ],
  14.     "editor.occurrencesHighlight": true,
  15.     "editor.find.addExtraSpaceOnTop": true,
  16.     "editor.overviewRulerBorder": false,
  17.     "editor.suggest.preview": true,
  18.     "editor.formatOnSave": true,
  19.     "editor.linkedEditing": true,
  20.     "editor.roundedSelection": false,
  21.     "editor.smoothScrolling": false,
  22.     "editor.renderLineHighlight": "all",
  23.     "editor.cursorSurroundingLines": 3,
  24.     //"editor.cursorSmoothCaretAnimation": true, // fun, but slow
  25.     "editor.cursorBlinking": "smooth",
  26.     "editor.suggestSelection": "first",
  27.     "editor.fontFamily": "JetBrains Mono", // In order of preference:  "JetBrains Mono" 13, "CommitMono", "Cascadia Code", "Fira Code", "Source Code Pro", "SFMono Nerd Font Mono" 12.5, "Consolas ligaturized", "monospace"
  28.     "editor.fontWeight": "500",
  29.     "editor.fontSize": 13, // Prefer to use size 12, 11 is a lot worse, JetBrains Mono 13 is nice and thick
  30.     // "editor.letterSpacing": -0.15,
  31.     "editor.fontLigatures": true, // everything else
  32.     //"editor.fontLigatures": "'calt', 'ss01', 'ss02', 'ss03', 'ss04', 'ss05', 'ss06', 'ss19', 'ss20', 'zero', 'onum'", // only Cascadia Code
  33.     "editor.hover.delay": 200,
  34.     "editor.detectIndentation": true,
  35.     "editor.accessibilitySupport": "off",
  36.     "editor.quickSuggestionsDelay": 30,
  37.     "editor.mouseWheelScrollSensitivity": 0,
  38.     "editor.largeFileOptimizations": false,
  39.     "editor.suggest.showStatusBar": true,
  40.     "editor.scrollbar.horizontalScrollbarSize": 15,
  41.     "editor.scrollbar.verticalScrollbarSize": 15,
  42.     //"editor.multiCursorModifier": "ctrlCmd",
  43.     "editor.snippetSuggestions": "inline",
  44.     "editor.bracketPairColorization.enabled": true,
  45.     "editor.guides.bracketPairsHorizontal": true,
  46.     "editor.guides.bracketPairs": true,
  47.     "editor.guides.indentation": true,
  48.     "editor.guides.highlightActiveIndentation": true,
  49.     "editor.wordWrap": "off",
  50.     "editor.minimap.autohide": true,
  51.     "editor.minimap.scale": 2,
  52.     // "editor.minimap.renderCharacters": false,
  53.     // "editor.minimap.size": "fill",
  54.     "diffEditor.wordWrap": "off",
  55.     "editor.selectionClipboard": false,
  56.     "editor.semanticTokenColorCustomizations": {
  57.         "[Default Dark Modern]": {
  58.             // "variables": "#229977",
  59.             // TODO: use some whiteish color
  60.             // "rules": {
  61.             //     "variable.declaration": {
  62.             //         "foreground": "#1976D2"
  63.             //     }
  64.             // }
  65.         }
  66.     },
  67.     "editor.experimental.asyncTokenization": true, // testing, it was laggy for a few months
  68.     "editor.experimentalWhitespaceRendering": "font", // testing new method
  69.     // "editor.experimentalWhitespaceRendering": "svg",
  70.     // "editor.experimental.stickyScroll.enabled": true,
  71.     // "editor.inlayHints.enabled": false,
  72.     //
  73.     //
  74.     // debug
  75.     "debug.openDebug": "openOnDebugBreak",
  76.     "debug.console.fontSize": 12,
  77.     "debug.console.fontFamily": "Source Code Pro",
  78.     "window.zoomLevel": -0.5,
  79.     "window.enableMenuBarMnemonics": false,
  80.     "window.confirmBeforeClose": "always",
  81.     // workbench
  82.     "workbench.colorTheme": "Min Dark", // best - Min Dark, Default Dark Modern
  83.     "workbench.reduceMotion": "on",
  84.     "workbench.startupEditor": "none",
  85.     "workbench.editor.highlightModifiedTabs": true,
  86.     "workbench.iconTheme": "material-icon-theme",
  87.     "workbench.editor.enablePreview": false,
  88.     "workbench.editor.pinnedTabSizing": "shrink",
  89.     "workbench.enableExperiments": false,
  90.     "workbench.editor.wrapTabs": false,
  91.     "workbench.editor.tabSizing": "fit",
  92.     "workbench.settings.enableNaturalLanguageSearch": false,
  93.     "workbench.editorAssociations": {
  94.         "*.hex": "hexEditor.hexedit",
  95.         "*.taf23": "hexEditor.hexedit",
  96.         "*.ipynb": "jupyter-notebook"
  97.     },
  98.     "workbench.welcomePage.walkthroughs.openOnInstall": false,
  99.     // "workbench.colorCustomizations": {
  100.     //     "[Default Dark Modern]": {
  101.     //         "sideBar.background": "#347890",
  102.     //         "tokencolo"
  103.     //     }
  104.     // },
  105.     // "workbench.colorCustomizations": {
  106.     //     "titleBar.activeBackground": "#0a0a0e",
  107.     //     "titleBar.inactiveBackground": "#0a0a0e",
  108.     //     "editor.background": "#1b1e27",
  109.     //     "activityBar.background": "#0a0a0e",
  110.     //     "activityBar.border": "#0a0a0e",
  111.     //     "sideBar.background": "#161920",
  112.     //     "sideBar.border": "#161920",
  113.     //     "sideBarSectionHeader.background": "#111116",
  114.     //     "statusBar.background": "#0a0a0e",
  115.     //     "statusBar.border": "#0a0a0e",
  116.     //     "editorGroupHeader.tabsBackground": "#161920",
  117.     //     "editorGroupHeader.tabsBorder": "#161920",
  118.     //     "tab.activeBackground": "#0a0a0e",
  119.     //     "tab.inactiveBackground": "#161920",
  120.     //     "panel.background": "#161920",
  121.     //     "panel.border": "#0a0a0e"
  122.     // },
  123.     //
  124.     //
  125.     // terminal
  126.     "terminal.integrated.fontSize": 12,
  127.     "terminal.integrated.profiles.windows": {
  128.         "Command Prompt": {
  129.             "path": [
  130.                 "${env:windir}\\System32\\cmd.exe"
  131.             ],
  132.             "icon": "terminal-cmd"
  133.         }
  134.     },
  135.     "terminal.integrated.defaultProfile.windows": "Command Prompt",
  136.     // fallback to "canvas" when possible
  137.     "terminal.integrated.gpuAcceleration": "canvas",
  138.     //
  139.     //
  140.     // explorer
  141.     "explorer.openEditors.visible": 1,
  142.     //
  143.     //
  144.     // markdown
  145.     "markdown.preview.fontSize": 12,
  146.     //
  147.     //
  148.     // python
  149.     // TODO: pyright config, although basic is fine
  150.     // https://github.com/Microsoft/pyright/blob/master/docs/configuration.md
  151.     // TODO: migrate from pylint to ruff
  152.     // "python.analysis.typeCheckingMode": "strict",
  153.     "python.analysis.typeCheckingMode": "basic",
  154.     "python.languageServer": "Pylance",
  155.     //"python.linting.pylintEnabled": true,
  156.     "python.analysis.autoImportCompletions": true,
  157.     "python.analysis.completeFunctionParens": true,
  158.     "python.analysis.autoFormatStrings": true,
  159.     // Borked for now
  160.     // "python.analysis.enableSyncServer": true,
  161.     // Only a few
  162.     // "python.analysis.downloadStubs": true,
  163.     // "python.analysis.gotoDefinitionInStringLiteral": true,
  164.     "python.analysis.diagnosticSeverityOverrides": {
  165.         "reportPrivateImportUsage": "warning"
  166.     },
  167.     "python.experiments.enabled": false,
  168.     // don't use, just select from the menu
  169.     // "python.pythonPath": "${workspaceFolder}/.venv/bin/python", defaultInterpreterPath
  170.     // just in case something doesn't work show up
  171.     "python.analysis.extraPaths": [
  172.         "__pypackages__/**/lib",
  173.         "${workspaceFolder}/.venv",
  174.         "${workspaceFolder}/.env"
  175.     ],
  176.     "python.autoComplete.extraPaths": [
  177.         "__pypackages__/**/lib",
  178.         "${workspaceFolder}/.venv",
  179.         "${workspaceFolder}/.env"
  180.     ],
  181.     "[python]": {
  182.         "editor.semanticHighlighting.enabled": true,
  183.         "editor.codeActionsOnSave": {
  184.             "source.organizeImports": true
  185.         },
  186.         "editor.defaultFormatter": "ms-python.black-formatter",
  187.         "editor.formatOnType": true
  188.     },
  189.     "black-formatter.importStrategy": "fromEnvironment",
  190.     "black-formatter.args": [
  191.         "--line-length",
  192.         "120"
  193.     ],
  194.     "ruff.importStrategy": "fromEnvironment",
  195.     //
  196.     //
  197.     // c++
  198.     "C_Cpp.default.intelliSenseMode": "clang-x64",
  199.     "C_Cpp.default.cStandard": "c11",
  200.     "C_Cpp.default.cppStandard": "c++20",
  201.     "C_Cpp.default.includePath": [
  202.         "${workspaceFolder}",
  203.         "/usr/include"
  204.     ],
  205.     //"C_Cpp.clang_format_fallbackStyle": "{ BasedOnStyle: WebKit, UseTab: Always, BreakBeforeBraces: Allman, PointerAlignment: Left, IndentCase"label"s: false, AllowShortIfStatementsOnASingleLine: false, IndentWidth: 4, ColumnLimit: 120}",
  206.     "C_Cpp.clang_format_fallbackStyle": "{ BasedOnStyle: LLVM, IndentWidth: 4, PointerAlignment: Left, BinPackArguments: false, BreakBeforeBraces: Linux, UseTab: Never, AlwaysBreakTemplateDeclarations: true }",
  207.     //
  208.     //
  209.     // sync setttings: kind of deprecated with a built-in
  210.     // "sync.gist": "8bf7a9a0c815cd9bb9089bbb592d47a9",
  211.     // "sync.autoDownload": true,
  212.     // "sync.autoUpload": true,
  213.     // "sync.quietSync": true,
  214.     //
  215.     //
  216.     // git
  217.     //"git.enabled": false,
  218.     "git.ignoreMissingGitWarning": true,
  219.     "git.enableSmartCommit": true,
  220.     "git.inputValidationLength": 200,
  221.     "git.inputValidationSubjectLength": 75,
  222.     "git.showActionButton": {
  223.         "commit": false,
  224.         "publish": false,
  225.         "sync": false
  226.     },
  227.     "git.rebaseWhenSync": true,
  228.     "git.timeline.showUncommitted": true,
  229.     "git.enableCommitSigning": true,
  230.     "git.alwaysSignOff": true,
  231.     "git.closeDiffOnOperation": true,
  232.     "github.gitProtocol": "ssh",
  233.     "git.confirmSync": false,
  234.     "scm.diffDecorationsGutterPattern": {
  235.         "added": false,
  236.         "modified": false
  237.     },
  238.     "git.branchProtection": [],
  239.     //
  240.     //
  241.     // dart/flutter
  242.     //"dart.flutterSdkPath": "C:\\Progs\\flutter",
  243.     "dart.flutterOutline": false,
  244.     "dart.allowAnalytics": false,
  245.     "dart.showIgnoreQuickFixes": true,
  246.     "dart.automaticCommentSlashes": "all",
  247.     "dart.openDevTools": "never",
  248.     "dart.devToolsBrowser": "default",
  249.     "dart.flutterWebRenderer": "canvaskit",
  250.     "dart.showDartPadSampleCodeLens": false,
  251.     "dart.analyzeAngularTemplates": false,
  252.     "dart.previewFlutterUiGuides": true,
  253.     "dart.previewFlutterUiGuidesCustomTracking": true,
  254.     "dart.enableCompletionCommitCharacters": true,
  255.     "dart.previewCommitCharacters": true,
  256.     "dart.buildRunnerAdditionalArgs": [
  257.         "--delete-conflicting-outputs"
  258.     ],
  259.     "[dart]": {
  260.         "editor.formatOnType": true,
  261.         "editor.selectionHighlight": false,
  262.         "editor.suggest.snippetsPreventQuickSuggestions": false,
  263.         "editor.tabCompletion": "onlySnippets",
  264.         "editor.wordBasedSuggestions": false,
  265.         "editor.guides.bracketPairs": false
  266.     },
  267.     "versionlens.pub.apiUrl": "https://pub.dev",
  268.     //
  269.     //
  270.     // julia
  271.     "julia.enableTelemetry": false,
  272.     "julia.enableCrashReporter": false,
  273.     "julia.additionalArgs": [
  274.         "--sysimage-native-code=yes",
  275.         "--procs=auto",
  276.         "--optimize=3",
  277.         "--threads=auto",
  278.         "--cpu-target=native"
  279.     ],
  280.     "terminal.integrated.commandsToSkipShell": [
  281.         "language-julia.interrupt"
  282.     ],
  283.     //
  284.     //
  285.     // git lens
  286.     "gitlens.currentLine.enabled": false,
  287.     "gitlens.hovers.currentLine.over": "line",
  288.     //
  289.     //
  290.     // git conventional commits
  291.     "conventionalCommits.promptFooter": false,
  292.     "conventionalCommits.gitmoji": false,
  293.     "conventionalCommits.autoCommit": false,
  294.     "conventionalCommits.promptBody": false,
  295.     //
  296.     //
  297.     // javascript
  298.     "javascript.inlayHints.parameterNames.enabled": "all",
  299.     "javascript.updateImportsOnFileMove.enabled": "always",
  300.     //
  301.     //
  302.     // typescript
  303.     "typescript.updateImportsOnFileMove.enabled": "always",
  304.     "typescript.inlayHints.parameterNames.enabled": "all",
  305.     "[typescript]": {
  306.         "editor.defaultFormatter": "esbenp.prettier-vscode"
  307.     },
  308.     //
  309.     //
  310.     // jupyter notebook
  311.     "notebook.lineNumbers": "on",
  312.     "notebook.formatOnCellExecution": true,
  313.     "notebook.cellToolbarLocation": {
  314.         "default": "right",
  315.         "jupyter-notebook": "left"
  316.     },
  317.     //
  318.     //
  319.     // rust
  320.     "rust-analyzer.checkOnSave.command": "clippy",
  321.     "rust-analyzer.cargo.target": "x86_64-unknown-linux-gnu",
  322.     "rust-analyzer.highlighting.strings": true,
  323.     "[rust]": {
  324.         "editor.defaultFormatter": "rust-lang.rust-analyzer"
  325.     },
  326.     "rust-analyzer.checkOnSave.extraArgs": [
  327.         "--",
  328.         "-Aclippy::needless_return"
  329.     ],
  330.     // "rust-analyzer.rustfmt.enableRangeFormatting": true,
  331.     // "rust-analyzer.lruCapacity": 512,
  332.     // "rust-analyzer.updates.channel": "stable",
  333.     //
  334.     //
  335.     // nix
  336.     "nix.enableLanguageServer": true,
  337.     "nix.serverPath": "nil",
  338.     //
  339.     //
  340.     // extras
  341.     "[jsonc]": {
  342.         "editor.defaultFormatter": "vscode.json-language-features"
  343.     },
  344.     "[json]": {
  345.         "editor.defaultFormatter": "vscode.json-language-features"
  346.     },
  347.     "html.format.indentInnerHtml": true,
  348.     "html.format.wrapLineLength": 0,
  349.     "[html]": {
  350.         "editor.defaultFormatter": "vscode.html-language-features"
  351.     },
  352.     "[typescriptreact]": {
  353.         "editor.defaultFormatter": "esbenp.prettier-vscode"
  354.     },
  355.     "[svelte]": {
  356.         "editor.defaultFormatter": "svelte.svelte-vscode"
  357.     },
  358.     "[javascript]": {
  359.         "editor.defaultFormatter": "esbenp.prettier-vscode"
  360.     },
  361.     "emmet.triggerExpansionOnTab": true,
  362.     "emmet.includeLanguages": {
  363.         "postcss": "css",
  364.         "javascript": "javascriptreact",
  365.         "typescriptreact": "javascriptreact"
  366.     },
  367.     //
  368.     //
  369.     // removes all outlines
  370.     "outline.showVariables": false,
  371.     "outline.showTypeParameters": false,
  372.     "outline.showStructs": false,
  373.     "outline.showStrings": false,
  374.     "outline.showPackages": false,
  375.     "outline.showProperties": false,
  376.     "outline.showOperators": false,
  377.     "outline.showObjects": false,
  378.     "outline.showNumbers": false,
  379.     "outline.showNull": false,
  380.     "outline.showNamespaces": false,
  381.     "outline.showModules": false,
  382.     "outline.showMethods": false,
  383.     "outline.showKeys": false,
  384.     "outline.showInterfaces": false,
  385.     "outline.showFunctions": false,
  386.     "outline.showFiles": false,
  387.     "outline.showFields": false,
  388.     "outline.showEvents": false,
  389.     "outline.showEnums": false,
  390.     "outline.showConstructors": false,
  391.     "outline.showEnumMembers": false,
  392.     "outline.showConstants": false,
  393.     "outline.showClasses": false,
  394.     "outline.showBooleans": false,
  395.     "outline.showArrays": false,
  396.     "outline.problems.enabled": false,
  397.     "outline.problems.colors": false,
  398.     "outline.problems.badges": false,
  399.     "outline.icons": false,
  400.     //
  401.     //
  402.     // better comments config
  403.     "better-comments.tags": [
  404.         // {
  405.         //     "tag": "!",
  406.         //     "color": "#FF2D00",
  407.         //     "strikethrough": false,
  408.         //     "underline": false,
  409.         //     "backgroundColor": "transparent",
  410.         //     "bold": false,
  411.         //     "italic": false
  412.         // },
  413.         // {
  414.         //     "tag": "?",
  415.         //     "color": "#3498DB",
  416.         //     "strikethrough": false,
  417.         //     "underline": false,
  418.         //     "backgroundColor": "transparent",
  419.         //     "bold": false,
  420.         //     "italic": false
  421.         // },
  422.         {
  423.             "tag": "fixme",
  424.             "color": "#0071C2",
  425.             "strikethrough": false,
  426.             "underline": false,
  427.             "backgroundColor": "transparent",
  428.             "bold": true,
  429.             "italic": false
  430.         },
  431.         {
  432.             "tag": "todo",
  433.             "color": "#A7BF25", // FF8C00",
  434.             "strikethrough": false,
  435.             "underline": false,
  436.             "backgroundColor": "transparent",
  437.             "bold": true,
  438.             "italic": false
  439.         }
  440.     ],
  441.     //
  442.     //
  443.     // even better toml
  444.     "evenBetterToml.formatter.columnWidth": 120,
  445.     "evenBetterToml.formatter.compactArrays": true,
  446.     "evenBetterToml.formatter.compactInlineTables": true,
  447.     //
  448.     //
  449.     // don't track unneccessary files
  450.     "search.exclude": {
  451.         "**/node_modules": true,
  452.         "**/bower_components": true,
  453.         "**/.dart_tool": true,
  454.         "**/.vim/**": true,
  455.         "**/.venv/**": true
  456.     },
  457.     "files.watcherExclude": {
  458.         "**/.git/objects/**": true,
  459.         "**/.git/subtree-cache/**": true,
  460.         "**/node_modules/**": true,
  461.         "**/.debug_info": true,
  462.         "**/.vim/**": true,
  463.         "**/.venv/**": true,
  464.         "**/*.log": true,
  465.         "**/*.txt": true
  466.     },
  467.     "files.exclude": {
  468.         "**/.git": true,
  469.         "**/.idea": true,
  470.         "**/.dart_tool": true,
  471.         "**/.debug_info": true,
  472.         "**/.DS_Store": true,
  473.         "**/__pycache__": true,
  474.         "**/.pytest_cache": true,
  475.         "**/node_modules": true,
  476.         "**/.vim/**": true,
  477.         "*.sublime-*": true,
  478.         "**/.venv/**": true
  479.     },
  480.     //
  481.     //
  482.     // vim: includes fix for slow input
  483.     "extensions.experimental.affinity": {
  484.         "vscodevim.vim": 1,
  485.         "asvetliakov.vscode-neovim": 1
  486.     },
  487.     "vim.enableNeovim": true,
  488.     "vim.foldfix": false,
  489.     "vim.easymotion": true,
  490.     "vim.incsearch": false,
  491.     "vim.useSystemClipboard": true,
  492.     "vim.useCtrlKeys": false,
  493.     "vim.hlsearch": true,
  494.     "vim.cursorStylePerMode.insert": "line",
  495.     "vim.cursorStylePerMode.normal": "block",
  496.     "vim.highlightedyank.enable": true,
  497.     "vim.highlightedyank.duration": 500,
  498.     "vim.normalModeKeyBindings": [
  499.         {
  500.             "before": [
  501.                 "u"
  502.             ],
  503.             "after": [],
  504.             "commands": [
  505.                 {
  506.                     "command": "undo"
  507.                 }
  508.             ]
  509.         }
  510.     ],
  511.     "vim.leader": "<space>",
  512.     "vim.handleKeys": {
  513.         "<C-a>": false,
  514.         "<C-f>": false,
  515.         "<C-o>": true,
  516.         "<C-i>": true,
  517.         "<C-d>": true,
  518.         "<C-u>": true
  519.     },
  520.     "vim.statusBarColorControl": false,
  521.     // even more buggy and slow if enabled, it also changes this file...
  522.     //
  523.     //"vim.statusBarColors.normal": [
  524.     //    "#8FBCBB",
  525.     //    "#434C5E"
  526.     //],
  527.     // "vim.statusBarColors.insert": "#BF616A",
  528.     // "vim.statusBarColors.visual": "#B48EAD",
  529.     // "vim.statusBarColors.visualline": "#B48EAD",
  530.     // "vim.statusBarColors.visualblock": "#A3BE8C",
  531.     // "vim.statusBarColors.replace": "#D08770",
  532.     // "vim.statusBarColors.commandlineinprogress": "#007ACC",
  533.     // "vim.statusBarColors.searchinprogressmode": "#007ACC",
  534.     // "vim.statusBarColors.easymotionmode": "#007ACC",
  535.     // "vim.statusBarColors.easymotioninputmode": "#007ACC",
  536.     // "vim.statusBarColors.surroundinputmode": "#007ACC",
  537.     //
  538.     //
  539.     // vscode nvim
  540.     "vscode-neovim.neovimExecutablePaths.linux": "/usr/bin/nvim",
  541.     //
  542.     //
  543.     // extras
  544.     "redhat.telemetry.enabled": false,
  545.     "codeium.enableConfig": {
  546.         "*": true
  547.     }
  548.     //
  549.     //
  550.     //
  551. }
Add Comment
Please, Sign In to add comment