首页 > 其他分享 >VScode 扩展推荐和配置

VScode 扩展推荐和配置

时间:2024-01-26 20:58:55浏览次数:22  
标签:extension VScode 配置 扩展 -- vscode editor install true

VScode 扩展推荐和配置

VSCode Extensions 推荐

Themes

Dracula Official

拥有明亮的颜色和舒适的对比度,非常适合长时间编程。

Nord

基于北极地区自然色调的冷色调主题,提供清晰和舒适的视觉体验。

Carbon Product Icons

图标设计好看

GitHub Plus Theme
One Dark Pro

基于 Atom 编辑器的 One Dark 主题,一个深色的主题。

Material Theme

受到 Material Design 的启发,提供多种颜色变体,界面简洁、美观。

Night Owl

专为夜间编程设计的主题,颜色选择旨在减少眼睛疲劳。

Tokyo Night

一个优雅的深色主题,灵感来自东京的夜景。

Functionality

Partial Diff

比较文件、剪贴板和选定文本之间的文本差异。

Error Lens

改善突出的错误、警告提示。

indent-rainbow

使缩进更容易阅读。

Git Graph

提供 Git 仓库的可视化图形界面,方便查看分支和提交历史。

Vim

在 VSCode 中集成 Vim 编辑器的键位和操作

GitHub Copilot

效率神器。自动生成代码和代码建议。

Project Dashboard

方便快速访问项目

Todo Tree

查找 TODOFIXME 行,并将它们显示在侧边栏中的树视图中。

Notes

方便的笔记和待办事项管理工具

Hex Editor

允许查看和编辑文件的十六进制编辑器。

HTML Preview

实时预览 HTML 文件

Markdown Preview Enhanced

Markdown 预览,支持多种格式和自定义样式。

CodeSnap

代码截图,相比截图更美观,便于分享和展示。

Dictionary Completion

提供单词补全功能,对编写文档或注释很有帮助。

Epub Reader

在 VSCode 中阅读 Epub 格式的电子书。

Programming Language

Code Runner

一键运行多种语言的代码。

Python

Python 基础支持,包括语法高亮显示和代码补全等。

Pylance

为 Python 提供高级语言功能,如类型检查和更智能的自动补全。

Pylint

Python 静态分析工具,帮助提高代码质量。

C/C++

C 和 C++ 开发,包括 IntelliSense、调试等。

clangd

基于 Clang/LLVM 的 C/C++ 语言服务器,提供高质量的语法补全,分析。

CMake Tools

方便使用 CMake 构建C/C++ 项目。

CMake Language Support

提供 CMake 脚本的语法高亮和代码补全。

Language Support for Java(TM) by Red Hat

Java IntelliSense、调试、测试、Maven / Gradle

Debugger for Java

Java 调试工具。

Lua

Lua 语言的支持,包括语法高亮等功能。

shellcheck

Shell / Bash 脚本检查工具

Fish

fish shell 语法高亮显示和格式化。


使用此命令生成扩展列表:

code --list-extensions | xargs -L 1 echo code --install-extension
code \
--install-extension adpyke.codesnap \
--install-extension akamud.vscode-theme-onedark \
--install-extension andrewmarkle.primer-light \
--install-extension antfu.icons-carbon \
--install-extension arcticicestudio.nord-visual-studio-code \
--install-extension bmalehorn.vscode-fish \
--install-extension comdec.simple-icons \
--install-extension cweijan.epub-reader \
--install-extension daylerees.rainglow \
--install-extension dionmunk.vscode-notes \
--install-extension docsmsft.docs-yaml \
--install-extension dracula-theme.theme-dracula \
--install-extension dzhavat.bracket-pair-toggler \
--install-extension enkia.tokyo-night \
--install-extension Equinusocio.vsc-community-material-theme \
--install-extension Equinusocio.vsc-material-theme \
--install-extension equinusocio.vsc-material-theme-icons \
--install-extension fehey.brackets-light-pro \
--install-extension formulahendry.code-runner \
--install-extension george-alisson.html-preview-vscode \
--install-extension GitHub.codespaces \
--install-extension GitHub.copilot \
--install-extension GitHub.copilot-chat \
--install-extension guangzan.dynamic-theme \
--install-extension Guyutongxue.pause-console \
--install-extension jdinhlife.gruvbox \
--install-extension jeff-hykin.better-cpp-syntax \
--install-extension jock.svg \
--install-extension josetr.cmake-language-support-vscode \
--install-extension KevinRose.vsc-python-indent \
--install-extension kruemelkatze.vscode-dashboard \
--install-extension leandro-rodrigues.fluent-ui-vscode \
--install-extension lehni.vscode-fix-checksums \
--install-extension llvm-vs-code-extensions.vscode-clangd \
--install-extension MeiNanziiii.mei-pastel \
--install-extension mhutchie.git-graph \
--install-extension miguelsolorio.fluent-icons \
--install-extension mikekscholz.pop-icon-theme \
--install-extension MS-CEINTL.vscode-language-pack-zh-hans \
--install-extension ms-dotnettools.vscode-dotnet-runtime \
--install-extension ms-python.black-formatter \
--install-extension ms-python.isort \
--install-extension ms-python.pylint \
--install-extension ms-python.python \
--install-extension ms-python.vscode-pylance \
--install-extension ms-toolsai.jupyter \
--install-extension ms-toolsai.jupyter-keymap \
--install-extension ms-toolsai.jupyter-renderers \
--install-extension ms-toolsai.vscode-jupyter-cell-tags \
--install-extension ms-toolsai.vscode-jupyter-slideshow \
--install-extension ms-vscode-remote.remote-ssh \
--install-extension ms-vscode-remote.remote-ssh-edit \
--install-extension ms-vscode-remote.remote-wsl \
--install-extension ms-vscode.cmake-tools \
--install-extension ms-vscode.cpptools \
--install-extension ms-vscode.cpptools-extension-pack \
--install-extension ms-vscode.cpptools-themes \
--install-extension ms-vscode.hexeditor \
--install-extension ms-vscode.remote-explorer \
--install-extension oderwat.indent-rainbow \
--install-extension PKief.material-icon-theme \
--install-extension redhat.java \
--install-extension redhat.vscode-yaml \
--install-extension Remisa.shellman \
--install-extension ryu1kn.partial-diff \
--install-extension sdras.night-owl \
--install-extension shd101wyy.markdown-preview-enhanced \
--install-extension skacekachna.win-opacity \
--install-extension streetsidesoftware.code-spell-checker \
--install-extension TheNuProjectContributors.vscode-nushell-lang \
--install-extension timonwong.shellcheck \
--install-extension tinkertrain.theme-panda \
--install-extension tomoki1207.pdf \
--install-extension uloco.theme-bluloco-light \
--install-extension usernamehw.errorlens \
--install-extension vadimcn.vscode-lldb \
--install-extension vscjava.vscode-java-debug \
--install-extension vscjava.vscode-java-dependency \
--install-extension vscjava.vscode-java-pack \
--install-extension vscjava.vscode-java-test \
--install-extension vscode-icons-team.vscode-icons \
--install-extension vscodevim.vim \
--install-extension Xen.ccpp-theme \
--install-extension yinfei.luahelper \
--install-extension yzhang.dictionary-completion \
--install-extension zhuangtongfa.material-theme

VSCode Settings

{
    // terminal
    "terminal.integrated.defaultProfile.windows": "Clink",
    "terminal.integrated.defaultProfile.linux": "zsh",
    "terminal.integrated.useWslProfiles": false,
    "git.path": "D:\\Scoop\\shims\\git.exe",
    "terminal.integrated.profiles.windows": {
        "Command Prompt": null,
        "PowerShell": null,
        "JavaScript 调试终端": null,
        "JavaScript Debug Terminal": null,
        "Clink": {
            "path": "${env:windir}\\System32\\cmd.exe",
            "args": [
                "/K",
                "chcp 65001 >nul",
                "&",
                "${env:CMDER_ROOT}\\vendor\\init.bat",
            ],
            "icon": "terminal-cmd"
        },
        "nushell": {
            "path": "nu.exe"
        },
        "WSL1": {
            "path": "C:\\Windows\\System32\\wsl.exe",
            "args": [
                "-d",
                "Ubuntu-18.04",
                "-e",
                "fish",
            ],
            "icon": "terminal-ubuntu"
        },
        "Git Bash": {
            "path": "D:\\Scoop\\shims\\bash.exe",
            "source": "Git Bash",
            "icon": "terminal-bash",
            "args": [
                "--login",
                "-i",
            ]
        },
        "Git Zsh": {
            "path": "D:\\Scoop\\apps\\git\\current\\usr\\bin\\zsh.exe",
            "icon": "terminal-bash",
            "args": [
                "--login",
                "-i",
            ]
        },
        "PowerShell7": {
            "path": "C:\\Program Files\\PowerShell\\7\\pwsh.exe",
            "args": [
                "-Nologo"
            ],
            "icon": "terminal-powershell"
        },
        "Developer pwsh for VS 2022": {
            "path": "C:\\Program Files\\PowerShell\\7\\pwsh.exe",
            "args": [
                "-noe",
                "-c",
                "&{Import-Module \"C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\Common7\\Tools\\Microsoft.VisualStudio.DevShell.dll\"; Enter-VsDevShell f14d0f99}",
            ],
            "icon": "terminal-powershell",
        },
        "fish": {
            "path": "D:\\Scoop\\apps\\msys2\\current\\usr\\bin\\fish.exe",
            "icon": "terminal-bash",
            "args": [
                "-l",
            ],
        },
        "msys":{
            "path": "D:\\Scoop\\apps\\msys2\\current\\msys2_shell.cmd",
            "icon": "terminal-bash",
            "args": [
                "-defterm",
                "-ucrt64",
                "-use-full-path",
                "-no-start",
                "-here",
                "-shell",
                "fish"
            ],
        },
        "ucrt64": {
            "path": "D:\\Scoop\\apps\\msys2\\current\\msys2_shell.cmd",
            "icon": "terminal-bash",
            "args": [
                "-defterm",
                "-ucrt64",
                "-no-start",
                "-here",
                "-shell",
                "fish"
            ],
        }
    },
    "terminal.integrated.profiles.linux": {
        "JavaScript 调试终端": null,
        "JavaScript Debug Terminal": null,
    },
    "terminal.integrated.env.linux": {
        // "LC_ALL": "zh_CN.UTF-8",// 集成终端编码: Jzh_CN.UTF-8
        "LANG": "zh_CN.UTF-8",
    },
    "terminal.integrated.env.windows": {
        "LC_ALL": "zh_CN.UTF-8", // 集成终端编码: Jzh_CN.UTF-8
        "LANG": "zh_CN.UTF-8",
    },
    "terminal.integrated.tabs.showActions": "always", // 始终显示“新建终端”按钮旁的“终端拆分”和“终止”按钮
    "terminal.integrated.tabs.showActiveTerminal": "always", // 始终显示活动终端
    "terminal.integrated.enableBell": false, // 集成终端启用视觉化铃声
    "terminal.integrated.shellIntegration.suggestEnabled": true,
    "terminal.integrated.gpuAcceleration": "on", // 集成终端使用GPU加速
    "terminal.integrated.stickyScroll.enabled": true,
    //
    //
    //
    //
    // ------------- Basic -------------
    //
    //
    "http.proxy": "socks5://localhost:2080",
    "update.enableWindowsBackgroundUpdates": false,
    "extensions.autoUpdate": "onlyEnabledExtensions",
    "security.workspace.trust.untrustedFiles": "open",
    // turn off system sound
    "audioCues.volume": 0,
    "audioCues.diffLineDeleted": "off",
    "audioCues.diffLineInserted": "off",
    "audioCues.diffLineModified": "off",
    "audioCues.lineHasBreakpoint": "off",
    "audioCues.lineHasError": "off",
    "audioCues.lineHasFoldedArea": "off",
    "audioCues.lineHasInlineSuggestion": "off",
    "audioCues.notebookCellCompleted": "off",
    "audioCues.notebookCellFailed": "off",
    "audioCues.onDebugBreak": "off",
    "audioCues.taskCompleted": "off",
    "audioCues.taskFailed": "off",
    "audioCues.terminalCommandFailed": "off",
    "audioCues.terminalQuickFix": "off",
    // 文件资源管理器行为
    "explorer.confirmDragAndDrop": false,
    "explorer.confirmDelete": false,
    "explorer.openEditors.visible": 20,
    //
    // -------- font ---------
    //
    "editor.mouseWheelZoom": true,
    "editor.fontFamily": "'Fira Code', '微软雅黑'",
    "editor.codeLensFontFamily": "'Fira Code', '微软雅黑', Consolas, 'Courier New', monospace",
    "editor.inlayHints.fontFamily": "'Fira Code','微软雅黑',Consolas, 'Courier New', monospace",
    "debug.console.fontFamily": "'Fira Code', '微软雅黑', Consolas, 'Courier New', monospace",
    "terminal.integrated.fontFamily": "'FiraCode Nerd Font', '微软雅黑'",
    "scm.inputFontFamily": "'Fira Code', '微软雅黑'",
    "markdown.preview.fontFamily": "'Fira Code', '微软雅黑',-apple-system, BlinkMacSystemFont, 'Segoe WPC', 'Segoe UI', system-ui, 'Ubuntu', 'Droid Sans', sans-serif",
    "[markdown]": {
        "editor.fontFamily": "'Sarasa Mono SC'"
    },
    "editor.fontSize": 18,
    "terminal.integrated.fontSize": 15,
    //
    // -------- editor --------
    //
    "editor.tabCompletion": "on",
    "editor.lineNumbers": "relative",
    "editor.fontLigatures": true,
    "editor.tabSize": 4,
    "editor.formatOnSave": false,
    "editor.formatOnPaste": true,
    "editor.formatOnType": true,
    "editor.codeLens": true,
    "editor.inlayHints.enabled": "on",
    "editor.inlineSuggest.enabled": true,
    "editor.inlineSuggest.showToolbar": "always",
    "editor.unicodeHighlight.allowedLocales": {
        // 允许中文符号显示而不突出高亮
        "zh-hant": true
    },
    // 鼠标双击的时候选中单词,将原有的中横线删除了,这样就可以选中中横线连接的单词了
    "editor.wordSeparators": "`~!@#$%^&*()=+[{]}\\|;:'\",.<>/?",
    "editor.detectIndentation": false,
    // 快速建议
    "editor.quickSuggestions": {
        "other": true,
        "comments": false,
        "strings": false,
    },
    "editor.quickSuggestionsDelay": 100,
    "editor.wordBasedSuggestions": "matchingDocuments",
    "editor.suggestOnTriggerCharacters": true,
    "editor.snippetSuggestions": "top",
    "editor.minimap.enabled": true,
    "editor.renderControlCharacters": true,
    "editor.renderWhitespace": "all",
    "editor.hover.delay": 100,
    "editor.suggestSelection": "first",
    "editor.suggest.snippetsPreventQuickSuggestions": false,
    "terminal.integrated.enableMultiLinePasteWarning": false,
    // -------- Files --------
    "files.trimTrailingWhitespace": true,
    "files.trimFinalNewlines": true,
    // 设置自动保存文件前需要延迟的时间,单位毫秒 默认1000
    "files.autoSaveDelay": 1000,
    // 设置删除文件、目录时是否允许删除到操作系统回收站,默认为true,即允许
    "files.enableTrash": true,
    // 设置读写文件时所用编码 默认UTF-8,可针对每种语言进行设置
    "files.encoding": "utf8",
    // 设置打开文件时,是否自动猜测字符编码,默认false,即不自动猜测,可针对每种语言进行设置
    "files.autoGuessEncoding": false,
    "files.eol": "\n",
    "files.insertFinalNewline": true,
    "files.simpleDialog.enable": true,
    // -------- search --------
    "search.smartCase": true,
    "search.exclude": {
        "**/.git": true,
        "**/.github": true,
        "**/.nuxt": true,
        "**/.output": true,
        "**/.pnpm": true,
        "**/.vscode": true,
        "**/.yarn": true,
        "**/bower_components": true,
        "**/dist/**": true,
        "**/logs": true,
        "**/node_modules": true,
        "**/out/**": true,
        "**/package-lock.json": true,
        "**/pnpm-lock.yaml": true,
        "**/tmp": true,
        "**/yarn.lock": true
    },
    "window.dialogStyle": "custom",
    "window.newWindowDimensions": "offset",
    "breadcrumbs.enabled": false,
    // "window.zoomLevel": -1,
    "workbench.iconTheme": "material-icon-theme",
    "workbench.productIconTheme": "icons-carbon",
    "workbench.tree.expandMode": "singleClick",
    "workbench.tree.enableStickyScroll": true,
    "workbench.list.smoothScrolling": true,
    "workbench.editor.focusRecentEditorAfterClose": false,
    "workbench.editor.highlightModifiedTabs": true,
    "workbench.editor.limit.enabled": true,
    "workbench.editor.limit.value": 20,
    "workbench.editor.limit.perEditorGroup": true,
    "workbench.editor.empty.hint": "hidden",
    "workbench.editorAssociations": {
        "*.ipynb": "jupyter-notebook",
    },
    //
    //
    // -------- extensions --------
    //
    //
    "extensions.ignoreRecommendations": true,
    // ErrorLens
    "errorLens.fontFamily": "Monaco, monospace",
    "errorLens.fontWeight": "normal",
    "errorLens.margin": "20px",
    "errorLens.messageTemplate": "$severity($source): $message",
    "errorLens.enabledDiagnosticLevels": [
        "error",
        "warning"
    ],
    "errorLens.excludeBySource": [
        "cSpell",
        "Grammarly",
        "eslint"
    ],
    // C_Cpp
    "C_Cpp.default.includePath": [
        "${workspaceFolder}/**"
    ],
    "C_Cpp.default.browse.path": [
        "${workspaceFolder}/**"
    ],
    "C_Cpp.intelliSenseEngine": "disabled", // 可以为Default或Tag Parser,后者较老,功能较简单。具体差别参考cpptools插件文档
    "C_Cpp.errorSquiggles": "enabled", // 启用或禁用错误提示(用波浪线表示)
    "C_Cpp.clang_format_sortIncludes": false, // 是否对include进行排序
    "C_Cpp.clang_format_style": "{ BasedOnStyle: Google, UseTab: Never, IndentWidth: 4, TabWidth: 4, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All }",
    "C_Cpp.suggestSnippets": false,
    "clangd.path": "d:\\Scoop\\apps\\vscode\\current\\data\\user-data\\User\\globalStorage\\llvm-vs-code-extensions.vscode-clangd\\install\\17.0.3\\clangd_17.0.3\\bin\\clangd.exe",
    "clangd.arguments": [
        // 在后台自动分析文件(基于complie_commands)
        "--background-index",
        // 标记compelie_commands.json文件的目录位置
        // "--compile-commands-dir=build",
        // 同时开启的任务数量
        "-j=12",
        // clang-tidy功能
        "--clang-tidy",
        "--clang-tidy-checks=performance-*,bugprone-*",
        "--enable-config",
        // 全局补全(会自动补充头文件)
        "--all-scopes-completion",
        // 更详细的补全内容
        "--completion-style=detailed",
        // 补充头文件的形式
        "--header-insertion=never",
        // 告诉clangd用那个clang进行编译,路径参考which clang++的路径
        // "--query-driver=D:\\Scoop\\apps\\llvm\\current\\bin\\clang++.exe",
        // pch优化的位置
        "--pch-storage=disk",
        "--log=verbose",
    ],
    "clangd.fallbackFlags": [
        // "-Id:/Scoop/apps/msys2/current/ucrt64/include/c++/13.2.0/x86_64-w64-mingw32",
        // "-Id:/Scoop/apps/msys2/current/ucrt64/include/c++",
        // "--target=x86_64-w64-windows-gnu",
        // "-std=c++17",
    ],
    // clang
    // "clang.cxxflags": [
    //     "--target=x86_64-w64-windows-gnu",
    //     "-std=c++11",
    //     "-I C:\\Program Files\\mingw-w64\\x86_64-7.1.0-posix-seh-rt_v5-rev2\\mingw64\\lib\\gcc\\x86_64-w64-mingw32\\7.1.0\\include\\c++"
    // ],
    // "clang.executable": "C:\\Program Files\\LLVM\\bin\\clang.exe"
    // cmake
    "cmake.languageSupport.dotnetPath":"C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\dotnet\\runtime\\dotnet.exe",
    "cmake.cmakePath": "cmake",
    "cmake.configureOnOpen": false,
    "cmake.showOptionsMovedNotification": false,
    "cmake.additionalCompilerSearchDirs": [
        // "D:/Scoop/apps/msys2/current/ucrt64/bin"
    ],
    "cmake.generator": "",
    "cmake.options.statusBarVisibility": "compact",
    "cmake.options.advanced": {
        "build": {
            "statusBarVisibility": "visible"
        },
        "launch": {
            "statusBarVisibility": "visible"
        },
        "debug": {
            "statusBarVisibility": "visible"
        }
    },
    "dotnetAcquisitionExtension.existingDotnetPath": [
        {
            "extensionId": "ms-dotnettools.csharp",
            "path": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\dotnet\\runtime\\dotnet.exe"
        }
    ],
    "emmet.showSuggestionsAsSnippets": true,
    "emmet.showAbbreviationSuggestions": false,
    //python
    "python.analysis.autoImportCompletions": true,
    "python.analysis.inlayHints.functionReturnTypes": true,
    "python.analysis.inlayHints.pytestParameters": true,
    "python.analysis.inlayHints.variableTypes": true,
    "python.venvPath": "D:\\workspace\\venv",
    "python.createEnvironment.contentButton": "show",
    "notebook.output.textLineLimit": 500,
    "notebook.cellToolbarLocation": {
        "default": "right",
        "jupyter-notebook": "left"
    },
    "notebook.output.fontSize": 14,
    // Indent Rainbow
    "indentRainbow.indicatorStyle": "light",
    "indentRainbow.lightIndicatorStyleLineWidth": 1,
    "indentRainbow.colors": [
        "rgba(127,255,127,0.3)",
        "rgba(255,255,64,0.3)",
        "rgba(255,127,255,0.3)",
        "rgba(79,236,236,0.3)"
    ],
    "indentRainbow.errorColor": "rgba(128,32,32,0.1)",
    "indentRainbow.ignoreErrorLanguages": [
        "markdown",
    ],
    // Git
    "git.autofetch": true,
    "git.confirmSync": false,
    "git.enableSmartCommit": true,
    "git.untrackedChanges": "separate",
    "git.openRepositoryInParentFolders": "never",
    // Spell Check
    "js/ts.implicitProjectConfig.checkJs": true,
    "cSpell.useGitignore": false,
    // "code-runner.terminalRoot": "/",
    "code-runner.enableAppInsights": false,
    "code-runner.saveFileBeforeRun": true, // run code前保存
    "code-runner.saveAllFilesBeforeRun": false,
    "code-runner.preserveFocus": false, // 若为false,run code后光标会聚焦到终端上。如果需要频繁输入数据可设为false
    "code-runner.clearPreviousOutput": false, // 每次run code前清空属于code runner的终端消息
    "code-runner.runInTerminal": true, // 是否在终端中运行
    "code-runner.executorMap": {
        //  -fexec-charset=UTF-8 -finput-charset=UTF-8 set PYTHONIOENCODING=utf8 &&
        "javascript": "node",
        "java": "cd $dir && javac -encoding utf-8 $fileName && java $fileNameWithoutExt",
        "c": "cd $dir && gcc -std=c99 $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
        "cpp": "cd $dir && g++ -std=c++11 $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
        "python": "cd $dir && python3 -u $fileName",
        "lua": "cd $dir && lua $fileName",
        "shellscript": "cd $dir && bash",
        "csharp": "scriptcs",
        "zig": "zig run",
        "objective-c": "cd $dir && gcc -framework Cocoa $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
        "php": "php",
        "perl": "perl",
        "perl6": "perl6",
        "ruby": "ruby",
        "go": "go run",
        "groovy": "groovy",
        "powershell": "powershell -ExecutionPolicy ByPass -File",
        "bat": "cmd /c",
        "fsharp": "fsi",
        "vbscript": "cscript //Nologo",
        "typescript": "ts-node",
        "coffeescript": "coffee",
        "scala": "scala",
        "swift": "swift",
        "julia": "julia",
        "crystal": "crystal",
        "ocaml": "ocaml",
        "r": "Rscript",
        "applescript": "osascript",
        "clojure": "lein exec",
        "haxe": "haxe --cwd $dirWithoutTrailingSlash --run $fileNameWithoutExt",
        "rust": "cd $dir && rustc $fileName && $dir$fileNameWithoutExt",
        "racket": "racket",
        "scheme": "csi -script",
        "ahk": "autohotkey",
        "autoit": "autoit3",
        "dart": "dart",
        "pascal": "cd $dir && fpc $fileName && $dir$fileNameWithoutExt",
        "d": "cd $dir && dmd $fileName && $dir$fileNameWithoutExt",
        "haskell": "runghc",
        "nim": "nim compile --verbosity:0 --hints:off --run",
        "lisp": "sbcl --script",
        "kit": "kitc --run",
        "v": "v run",
        "sass": "sass --style expanded",
        "scss": "scss --style expanded",
        "less": "cd $dir && lessc $fileName $fileNameWithoutExt.css",
        "FortranFreeForm": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
        "fortran-modern": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
        "fortran_fixed-form": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
        "fortran": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
        "sml": "cd $dir && sml $fileName"
    },
    "security.allowedUNCHosts": [
        "wsl.localhost"
    ],
    "redhat.telemetry.enabled": false,
    "java.autobuild.enabled": false,
    "java.jdt.ls.vmargs": "-Xlog:jni+resolve=off",
    "vsicons.dontShowNewVersionMessage": true,
    "workbench.colorTheme": "Nord",
    // vim
    "vim.startInInsertMode": true,
    "vim.handleKeys": {},
    "vim.leader": "<space>",
    "vim.visualModeKeyBindings": [
        {
            "before": [
                "<leader>",
                "y"
            ],
            "commands": [
                "editor.action.clipboardCopyAction"
            ]
        },
        {
            "before": [
                "<leader>",
                "p"
            ],
            "commands": [
                "editor.action.clipboardPasteAction"
            ]
        }
    ],
    "vim.normalModeKeyBindings": [
        {
            "before": [
                "<leader>",
                "y"
            ],
            "commands": [
                "editor.action.clipboardCopyAction"
            ]
        },
        {
            "before": [
                "<leader>",
                "p"
            ],
            "commands": [
                "editor.action.clipboardPasteAction"
            ]
        }
    ],
    "vim.insertModeKeyBindings": [
        {
            "before": [
                "j",
                "j"
            ],
            "after": [
                "<Esc>"
            ]
        },
        {
            "before": [
                "<C-r>"
            ],
            "commands": [
                "workbench.action.openRecent",
            ],
        },
        {
            "before": [
                "<C-h>"
            ],
            "commands": [
                "editor.action.startFindReplaceAction"
            ],
        },
        {
            "before": [
                "<C-x>"
            ],
            "commands": [
                "editor.action.clipboardCutAction"
            ],
        },
        {
            "before": [
                "<C-v>"
            ],
            "commands": [
                "editor.action.clipboardPasteAction"
            ],
        },
        {
            "before": [
                "<C-a>"
            ],
            "commands": [
                "editor.action.selectAll"
            ],
        },
        {
            "before": [
                "<C-j>"
            ],
            "commands": [
                "workbench.action.togglePanel"
            ]
        },
        {
            "before": [
                "<C-w>"
            ],
            "commands": [
                "workbench.action.closeActiveEditor"
            ]
        },
        {
            "before": [
                "<C-k>",
                "<C-l>"
            ],
            "commands": [
                "editor.toggleFold"
            ]
        }
    ],
    "remote.SSH.remotePlatform": {
        "192.168.126.142": "linux"
    },
    "hexeditor.columnWidth": 16,
    "hexeditor.showDecodedText": true,
    "hexeditor.defaultEndianness": "little",
    "hexeditor.inspectorType": "aside",
    "svg.preview.mode": "svg",
    "files.associations": {
        ".bash_functions": "shellscript"
    },
}

标签:extension,VScode,配置,扩展,--,vscode,editor,install,true
From: https://www.cnblogs.com/comsoi/p/17990675

相关文章

  • 兼容树莓派扩展模块,专注工业产品开发的瑞米派强势来袭
    近日,米尔电子和瑞萨电子共同定义和开发了瑞萨第一款MPU生态开发板——瑞米派(RemiPi)正式上市了!在各种Pi板卡琳琅满目的当下,RemiPi是一款与众不同的开发板,他兼顾了严肃产品开发和爱好者创意实现两种需要。告诉你,选择它的五大理由:1.工业芯片:采用瑞萨RZ/G2L双核A55芯片,芯片是工......
  • Gradle下载安装与配置过程
    下载Gradle:镜像链接https://mirrors.cloud.tencent.com/gradle/,找到所需版本,这里下载gradle-8.2-all.zip,如不知道该下载哪个版本,请往下翻查看注部分。配置环境变量:解压到D盘,我这里解压目录为D:\Android\Gradle\gradle-8.2。添加该目录到系统环境变量,新建变量名为GR......
  • Apipost-cli、Jenkins持续集成配置
    安装Apipost-clinpminstall-gapipost-cli运行脚本安装好Apipost-cli后,在命令行输入生成的命令,即可执行测试用例,运行完成后会展示测试进度并生成测试报告。Jenkins配置Apipostcli基于Nodejs运行需要在jenkins上配置NodeJs依赖Step1:在插件管理中安装NodeJs在全局工具中配置Nod......
  • 使用 Asp.net core webapi 集成配置系统,提高程序的灵活和可维护性
    前言:什么是集成配置系统?集成配置系统的主要目的是将应用程序的配置信息与代码分离,使得配置信息可以在不需要修改代码的情况下进行更改。这样可以提高应用程序的灵活性和可维护性。ASP.NETCore提供了一种灵活的配置系统,可以轻松地将配置信息从不同的来源加载到应用程序中,并且......
  • Apipost-cli、Jenkins持续集成配置
    安装Apipost-clnpminstall-gapipost-cli运行脚本安装好Apipost-cli后,在命令行输入生成的命令,即可执行测试用例,运行完成后会展示测试进度并生成测试报告。Jenkins配置Apipostcli基于Nodejs运行需要在jenkins上配置NodeJs依赖Step1:在插件管理中安装NodeJs  在......
  • Starrocks扩展FileSystem代码分析
    Starrocks扩展FileSystem代码分析Starrocks支持使用FILES()算子对接文件系统例如可以使用insertintofiles("path"="hdfs://xxx.xx.xxx.xx:9000/unload/data1","format"="parquet","compression"="lz4")select*fromsales_reco......
  • 配置RIP引入部分外部路由
    拓扑:配置:查看代码[R1]discurrent-configuration#sysnameR1#aaaauthentication-schemedefaultauthorization-schemedefaultaccounting-schemedefaultdomaindefaultdomaindefault_adminlocal-useradminpasswordcipherOOCM4m($F4ajUn1vMEIBNUw#lo......
  • 如何配置LiveNVR实现在服务器上多个不同的磁盘目录存储监控摄像头的录像,并支持电脑、
    @目录1、流媒体服务软件2、配置开启录像(云端录像)3、指定录像存储路径4、录像回看(云端录像)4.1、查看录像4.1.1、时间轴视图4.1.2、列表视图5、云端录像相关接口6、如何分享时间轴录像回看?7、iframe集成示例8、RTSP/HLS/FLV/RTMP拉流Onvif流媒体服务1、流媒体服务软件LiveNVR......
  • kylinV10安装配置DM8数据库
     环境VMwareWorkstation虚拟机安装Kylin-Server-V10-SP3-General-Release-2212-X86_64vCPU2核心,内存10GB达梦数据库DM8的下载及安装参考下载:https://eco.dameng.com/download/?_blank安装:https://eco.dameng.com/document/dm/zh-cn/start/install-dm-li......
  • 关闭VSCode的信任模式
    VSCode的信任模式,每打开一个信任工作区外的文件的时候,会一直弹窗,很烦。关闭VisualStudioCode的信任模式打开设置界面找到"安全性:工作区"选项,然后找到下面的"Trust:Enable"(或者直接在搜索栏搜索"security.workspace.trust"),然后将勾去掉,然后重新打开VSCode。......