Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "update.mode": "none", // set to auto on Windows
- "telemetry.telemetryLevel": "off",
- //
- //
- // don't auto save since it breaks auto formatting
- "files.autoSave": "off",
- //
- //
- // editor
- "editor.rulers": [
- 80
- ],
- "editor.occurrencesHighlight": true,
- "editor.find.addExtraSpaceOnTop": true,
- "editor.overviewRulerBorder": false,
- "editor.suggest.preview": true,
- "editor.formatOnSave": true,
- "editor.linkedEditing": true,
- "editor.roundedSelection": false,
- "editor.smoothScrolling": false,
- "editor.renderLineHighlight": "all",
- "editor.cursorSurroundingLines": 3,
- //"editor.cursorSmoothCaretAnimation": true, // fun, but slow
- "editor.cursorBlinking": "smooth",
- "editor.suggestSelection": "first",
- "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"
- "editor.fontWeight": "500",
- "editor.fontSize": 13, // Prefer to use size 12, 11 is a lot worse, JetBrains Mono 13 is nice and thick
- // "editor.letterSpacing": -0.15,
- "editor.fontLigatures": true, // everything else
- //"editor.fontLigatures": "'calt', 'ss01', 'ss02', 'ss03', 'ss04', 'ss05', 'ss06', 'ss19', 'ss20', 'zero', 'onum'", // only Cascadia Code
- "editor.hover.delay": 200,
- "editor.detectIndentation": true,
- "editor.accessibilitySupport": "off",
- "editor.quickSuggestionsDelay": 30,
- "editor.mouseWheelScrollSensitivity": 0,
- "editor.largeFileOptimizations": false,
- "editor.suggest.showStatusBar": true,
- "editor.scrollbar.horizontalScrollbarSize": 15,
- "editor.scrollbar.verticalScrollbarSize": 15,
- //"editor.multiCursorModifier": "ctrlCmd",
- "editor.snippetSuggestions": "inline",
- "editor.bracketPairColorization.enabled": true,
- "editor.guides.bracketPairsHorizontal": true,
- "editor.guides.bracketPairs": true,
- "editor.guides.indentation": true,
- "editor.guides.highlightActiveIndentation": true,
- "editor.wordWrap": "off",
- "editor.minimap.autohide": true,
- "editor.minimap.scale": 2,
- // "editor.minimap.renderCharacters": false,
- // "editor.minimap.size": "fill",
- "diffEditor.wordWrap": "off",
- "editor.selectionClipboard": false,
- "editor.semanticTokenColorCustomizations": {
- "[Default Dark Modern]": {
- // "variables": "#229977",
- // TODO: use some whiteish color
- // "rules": {
- // "variable.declaration": {
- // "foreground": "#1976D2"
- // }
- // }
- }
- },
- "editor.experimental.asyncTokenization": true, // testing, it was laggy for a few months
- "editor.experimentalWhitespaceRendering": "font", // testing new method
- // "editor.experimentalWhitespaceRendering": "svg",
- // "editor.experimental.stickyScroll.enabled": true,
- // "editor.inlayHints.enabled": false,
- //
- //
- // debug
- "debug.openDebug": "openOnDebugBreak",
- "debug.console.fontSize": 12,
- "debug.console.fontFamily": "Source Code Pro",
- "window.zoomLevel": -0.5,
- "window.enableMenuBarMnemonics": false,
- "window.confirmBeforeClose": "always",
- // workbench
- "workbench.colorTheme": "Min Dark", // best - Min Dark, Default Dark Modern
- "workbench.reduceMotion": "on",
- "workbench.startupEditor": "none",
- "workbench.editor.highlightModifiedTabs": true,
- "workbench.iconTheme": "material-icon-theme",
- "workbench.editor.enablePreview": false,
- "workbench.editor.pinnedTabSizing": "shrink",
- "workbench.enableExperiments": false,
- "workbench.editor.wrapTabs": false,
- "workbench.editor.tabSizing": "fit",
- "workbench.settings.enableNaturalLanguageSearch": false,
- "workbench.editorAssociations": {
- "*.hex": "hexEditor.hexedit",
- "*.taf23": "hexEditor.hexedit",
- "*.ipynb": "jupyter-notebook"
- },
- "workbench.welcomePage.walkthroughs.openOnInstall": false,
- // "workbench.colorCustomizations": {
- // "[Default Dark Modern]": {
- // "sideBar.background": "#347890",
- // "tokencolo"
- // }
- // },
- // "workbench.colorCustomizations": {
- // "titleBar.activeBackground": "#0a0a0e",
- // "titleBar.inactiveBackground": "#0a0a0e",
- // "editor.background": "#1b1e27",
- // "activityBar.background": "#0a0a0e",
- // "activityBar.border": "#0a0a0e",
- // "sideBar.background": "#161920",
- // "sideBar.border": "#161920",
- // "sideBarSectionHeader.background": "#111116",
- // "statusBar.background": "#0a0a0e",
- // "statusBar.border": "#0a0a0e",
- // "editorGroupHeader.tabsBackground": "#161920",
- // "editorGroupHeader.tabsBorder": "#161920",
- // "tab.activeBackground": "#0a0a0e",
- // "tab.inactiveBackground": "#161920",
- // "panel.background": "#161920",
- // "panel.border": "#0a0a0e"
- // },
- //
- //
- // terminal
- "terminal.integrated.fontSize": 12,
- "terminal.integrated.profiles.windows": {
- "Command Prompt": {
- "path": [
- "${env:windir}\\System32\\cmd.exe"
- ],
- "icon": "terminal-cmd"
- }
- },
- "terminal.integrated.defaultProfile.windows": "Command Prompt",
- // fallback to "canvas" when possible
- "terminal.integrated.gpuAcceleration": "canvas",
- //
- //
- // explorer
- "explorer.openEditors.visible": 1,
- //
- //
- // markdown
- "markdown.preview.fontSize": 12,
- //
- //
- // python
- // TODO: pyright config, although basic is fine
- // https://github.com/Microsoft/pyright/blob/master/docs/configuration.md
- // TODO: migrate from pylint to ruff
- // "python.analysis.typeCheckingMode": "strict",
- "python.analysis.typeCheckingMode": "basic",
- "python.languageServer": "Pylance",
- //"python.linting.pylintEnabled": true,
- "python.analysis.autoImportCompletions": true,
- "python.analysis.completeFunctionParens": true,
- "python.analysis.autoFormatStrings": true,
- // Borked for now
- // "python.analysis.enableSyncServer": true,
- // Only a few
- // "python.analysis.downloadStubs": true,
- // "python.analysis.gotoDefinitionInStringLiteral": true,
- "python.analysis.diagnosticSeverityOverrides": {
- "reportPrivateImportUsage": "warning"
- },
- "python.experiments.enabled": false,
- // don't use, just select from the menu
- // "python.pythonPath": "${workspaceFolder}/.venv/bin/python", defaultInterpreterPath
- // just in case something doesn't work show up
- "python.analysis.extraPaths": [
- "__pypackages__/**/lib",
- "${workspaceFolder}/.venv",
- "${workspaceFolder}/.env"
- ],
- "python.autoComplete.extraPaths": [
- "__pypackages__/**/lib",
- "${workspaceFolder}/.venv",
- "${workspaceFolder}/.env"
- ],
- "[python]": {
- "editor.semanticHighlighting.enabled": true,
- "editor.codeActionsOnSave": {
- "source.organizeImports": true
- },
- "editor.defaultFormatter": "ms-python.black-formatter",
- "editor.formatOnType": true
- },
- "black-formatter.importStrategy": "fromEnvironment",
- "black-formatter.args": [
- "--line-length",
- "120"
- ],
- "ruff.importStrategy": "fromEnvironment",
- //
- //
- // c++
- "C_Cpp.default.intelliSenseMode": "clang-x64",
- "C_Cpp.default.cStandard": "c11",
- "C_Cpp.default.cppStandard": "c++20",
- "C_Cpp.default.includePath": [
- "${workspaceFolder}",
- "/usr/include"
- ],
- //"C_Cpp.clang_format_fallbackStyle": "{ BasedOnStyle: WebKit, UseTab: Always, BreakBeforeBraces: Allman, PointerAlignment: Left, IndentCase"label"s: false, AllowShortIfStatementsOnASingleLine: false, IndentWidth: 4, ColumnLimit: 120}",
- "C_Cpp.clang_format_fallbackStyle": "{ BasedOnStyle: LLVM, IndentWidth: 4, PointerAlignment: Left, BinPackArguments: false, BreakBeforeBraces: Linux, UseTab: Never, AlwaysBreakTemplateDeclarations: true }",
- //
- //
- // sync setttings: kind of deprecated with a built-in
- // "sync.gist": "8bf7a9a0c815cd9bb9089bbb592d47a9",
- // "sync.autoDownload": true,
- // "sync.autoUpload": true,
- // "sync.quietSync": true,
- //
- //
- // git
- //"git.enabled": false,
- "git.ignoreMissingGitWarning": true,
- "git.enableSmartCommit": true,
- "git.inputValidationLength": 200,
- "git.inputValidationSubjectLength": 75,
- "git.showActionButton": {
- "commit": false,
- "publish": false,
- "sync": false
- },
- "git.rebaseWhenSync": true,
- "git.timeline.showUncommitted": true,
- "git.enableCommitSigning": true,
- "git.alwaysSignOff": true,
- "git.closeDiffOnOperation": true,
- "github.gitProtocol": "ssh",
- "git.confirmSync": false,
- "scm.diffDecorationsGutterPattern": {
- "added": false,
- "modified": false
- },
- "git.branchProtection": [],
- //
- //
- // dart/flutter
- //"dart.flutterSdkPath": "C:\\Progs\\flutter",
- "dart.flutterOutline": false,
- "dart.allowAnalytics": false,
- "dart.showIgnoreQuickFixes": true,
- "dart.automaticCommentSlashes": "all",
- "dart.openDevTools": "never",
- "dart.devToolsBrowser": "default",
- "dart.flutterWebRenderer": "canvaskit",
- "dart.showDartPadSampleCodeLens": false,
- "dart.analyzeAngularTemplates": false,
- "dart.previewFlutterUiGuides": true,
- "dart.previewFlutterUiGuidesCustomTracking": true,
- "dart.enableCompletionCommitCharacters": true,
- "dart.previewCommitCharacters": true,
- "dart.buildRunnerAdditionalArgs": [
- "--delete-conflicting-outputs"
- ],
- "[dart]": {
- "editor.formatOnType": true,
- "editor.selectionHighlight": false,
- "editor.suggest.snippetsPreventQuickSuggestions": false,
- "editor.tabCompletion": "onlySnippets",
- "editor.wordBasedSuggestions": false,
- "editor.guides.bracketPairs": false
- },
- "versionlens.pub.apiUrl": "https://pub.dev",
- //
- //
- // julia
- "julia.enableTelemetry": false,
- "julia.enableCrashReporter": false,
- "julia.additionalArgs": [
- "--sysimage-native-code=yes",
- "--procs=auto",
- "--optimize=3",
- "--threads=auto",
- "--cpu-target=native"
- ],
- "terminal.integrated.commandsToSkipShell": [
- "language-julia.interrupt"
- ],
- //
- //
- // git lens
- "gitlens.currentLine.enabled": false,
- "gitlens.hovers.currentLine.over": "line",
- //
- //
- // git conventional commits
- "conventionalCommits.promptFooter": false,
- "conventionalCommits.gitmoji": false,
- "conventionalCommits.autoCommit": false,
- "conventionalCommits.promptBody": false,
- //
- //
- // javascript
- "javascript.inlayHints.parameterNames.enabled": "all",
- "javascript.updateImportsOnFileMove.enabled": "always",
- //
- //
- // typescript
- "typescript.updateImportsOnFileMove.enabled": "always",
- "typescript.inlayHints.parameterNames.enabled": "all",
- "[typescript]": {
- "editor.defaultFormatter": "esbenp.prettier-vscode"
- },
- //
- //
- // jupyter notebook
- "notebook.lineNumbers": "on",
- "notebook.formatOnCellExecution": true,
- "notebook.cellToolbarLocation": {
- "default": "right",
- "jupyter-notebook": "left"
- },
- //
- //
- // rust
- "rust-analyzer.checkOnSave.command": "clippy",
- "rust-analyzer.cargo.target": "x86_64-unknown-linux-gnu",
- "rust-analyzer.highlighting.strings": true,
- "[rust]": {
- "editor.defaultFormatter": "rust-lang.rust-analyzer"
- },
- "rust-analyzer.checkOnSave.extraArgs": [
- "--",
- "-Aclippy::needless_return"
- ],
- // "rust-analyzer.rustfmt.enableRangeFormatting": true,
- // "rust-analyzer.lruCapacity": 512,
- // "rust-analyzer.updates.channel": "stable",
- //
- //
- // nix
- "nix.enableLanguageServer": true,
- "nix.serverPath": "nil",
- //
- //
- // extras
- "[jsonc]": {
- "editor.defaultFormatter": "vscode.json-language-features"
- },
- "[json]": {
- "editor.defaultFormatter": "vscode.json-language-features"
- },
- "html.format.indentInnerHtml": true,
- "html.format.wrapLineLength": 0,
- "[html]": {
- "editor.defaultFormatter": "vscode.html-language-features"
- },
- "[typescriptreact]": {
- "editor.defaultFormatter": "esbenp.prettier-vscode"
- },
- "[svelte]": {
- "editor.defaultFormatter": "svelte.svelte-vscode"
- },
- "[javascript]": {
- "editor.defaultFormatter": "esbenp.prettier-vscode"
- },
- "emmet.triggerExpansionOnTab": true,
- "emmet.includeLanguages": {
- "postcss": "css",
- "javascript": "javascriptreact",
- "typescriptreact": "javascriptreact"
- },
- //
- //
- // removes all outlines
- "outline.showVariables": false,
- "outline.showTypeParameters": false,
- "outline.showStructs": false,
- "outline.showStrings": false,
- "outline.showPackages": false,
- "outline.showProperties": false,
- "outline.showOperators": false,
- "outline.showObjects": false,
- "outline.showNumbers": false,
- "outline.showNull": false,
- "outline.showNamespaces": false,
- "outline.showModules": false,
- "outline.showMethods": false,
- "outline.showKeys": false,
- "outline.showInterfaces": false,
- "outline.showFunctions": false,
- "outline.showFiles": false,
- "outline.showFields": false,
- "outline.showEvents": false,
- "outline.showEnums": false,
- "outline.showConstructors": false,
- "outline.showEnumMembers": false,
- "outline.showConstants": false,
- "outline.showClasses": false,
- "outline.showBooleans": false,
- "outline.showArrays": false,
- "outline.problems.enabled": false,
- "outline.problems.colors": false,
- "outline.problems.badges": false,
- "outline.icons": false,
- //
- //
- // better comments config
- "better-comments.tags": [
- // {
- // "tag": "!",
- // "color": "#FF2D00",
- // "strikethrough": false,
- // "underline": false,
- // "backgroundColor": "transparent",
- // "bold": false,
- // "italic": false
- // },
- // {
- // "tag": "?",
- // "color": "#3498DB",
- // "strikethrough": false,
- // "underline": false,
- // "backgroundColor": "transparent",
- // "bold": false,
- // "italic": false
- // },
- {
- "tag": "fixme",
- "color": "#0071C2",
- "strikethrough": false,
- "underline": false,
- "backgroundColor": "transparent",
- "bold": true,
- "italic": false
- },
- {
- "tag": "todo",
- "color": "#A7BF25", // FF8C00",
- "strikethrough": false,
- "underline": false,
- "backgroundColor": "transparent",
- "bold": true,
- "italic": false
- }
- ],
- //
- //
- // even better toml
- "evenBetterToml.formatter.columnWidth": 120,
- "evenBetterToml.formatter.compactArrays": true,
- "evenBetterToml.formatter.compactInlineTables": true,
- //
- //
- // don't track unneccessary files
- "search.exclude": {
- "**/node_modules": true,
- "**/bower_components": true,
- "**/.dart_tool": true,
- "**/.vim/**": true,
- "**/.venv/**": true
- },
- "files.watcherExclude": {
- "**/.git/objects/**": true,
- "**/.git/subtree-cache/**": true,
- "**/node_modules/**": true,
- "**/.debug_info": true,
- "**/.vim/**": true,
- "**/.venv/**": true,
- "**/*.log": true,
- "**/*.txt": true
- },
- "files.exclude": {
- "**/.git": true,
- "**/.idea": true,
- "**/.dart_tool": true,
- "**/.debug_info": true,
- "**/.DS_Store": true,
- "**/__pycache__": true,
- "**/.pytest_cache": true,
- "**/node_modules": true,
- "**/.vim/**": true,
- "*.sublime-*": true,
- "**/.venv/**": true
- },
- //
- //
- // vim: includes fix for slow input
- "extensions.experimental.affinity": {
- "vscodevim.vim": 1,
- "asvetliakov.vscode-neovim": 1
- },
- "vim.enableNeovim": true,
- "vim.foldfix": false,
- "vim.easymotion": true,
- "vim.incsearch": false,
- "vim.useSystemClipboard": true,
- "vim.useCtrlKeys": false,
- "vim.hlsearch": true,
- "vim.cursorStylePerMode.insert": "line",
- "vim.cursorStylePerMode.normal": "block",
- "vim.highlightedyank.enable": true,
- "vim.highlightedyank.duration": 500,
- "vim.normalModeKeyBindings": [
- {
- "before": [
- "u"
- ],
- "after": [],
- "commands": [
- {
- "command": "undo"
- }
- ]
- }
- ],
- "vim.leader": "<space>",
- "vim.handleKeys": {
- "<C-a>": false,
- "<C-f>": false,
- "<C-o>": true,
- "<C-i>": true,
- "<C-d>": true,
- "<C-u>": true
- },
- "vim.statusBarColorControl": false,
- // even more buggy and slow if enabled, it also changes this file...
- //
- //"vim.statusBarColors.normal": [
- // "#8FBCBB",
- // "#434C5E"
- //],
- // "vim.statusBarColors.insert": "#BF616A",
- // "vim.statusBarColors.visual": "#B48EAD",
- // "vim.statusBarColors.visualline": "#B48EAD",
- // "vim.statusBarColors.visualblock": "#A3BE8C",
- // "vim.statusBarColors.replace": "#D08770",
- // "vim.statusBarColors.commandlineinprogress": "#007ACC",
- // "vim.statusBarColors.searchinprogressmode": "#007ACC",
- // "vim.statusBarColors.easymotionmode": "#007ACC",
- // "vim.statusBarColors.easymotioninputmode": "#007ACC",
- // "vim.statusBarColors.surroundinputmode": "#007ACC",
- //
- //
- // vscode nvim
- "vscode-neovim.neovimExecutablePaths.linux": "/usr/bin/nvim",
- //
- //
- // extras
- "redhat.telemetry.enabled": false,
- "codeium.enableConfig": {
- "*": true
- }
- //
- //
- //
- }
Add Comment
Please, Sign In to add comment