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"
},
}

VScode 扩展推荐和配置的更多相关文章

  1. vscode 常用扩展推荐

    1.扩展推荐 Beautify    Beautify code in place for VS Code CSS Formatter     Formatter for CSS ESLint     ...

  2. xampp+vscode开发php的配置流程

    一.所需文件 1.xampp集成服务器(个人使用7.1.7)https://www.apachefriends.org/download.html 2.vscode https://code.visu ...

  3. 我编写 33 个 VSCode 扩展的原因以及管理扩展的经验

    简评:使用工具的同时自己创造一些工具或扩展,是一件很棒的事情. 以下"我"指原作者 Fabio 大家好,我叫 Fabio,是一位自学成才的开发人员,热衷于开源和授权.我也喜欢自己制 ...

  4. 使用顶级 VSCode 扩展来加快开发 JavaScript

    使用顶级 VSCode 扩展来加快开发 JavaScript 发表于 2018年08月24日 by 愚人码头 被浏览 3,942 次 分享到:   小编推荐:掘金是一个面向程序员的高质量技术社区,从 ...

  5. 提高 JavaScript 开发效率的高级 VSCode 扩展!

    原文:提高 JavaScript 开发效率的高级 VSCode 扩展! 作者:前端小智 Fundebug经授权转载,版权归原作者所有. Quokka.js Quokka.js 是一个用于 JavaSc ...

  6. 在不同电脑设备之间, 同步 VSCode 的插件和配置

    前提有一个码云或者github的账户,以下是我用github的示例(只有第二步不一样): Step1. 安装 同步插件"Settings Sync" Step2. 进入github ...

  7. 前端学习笔记系列一:10整体移动vscode代码块、VSCode 使用 stylus,配置格式化设置、在vue项目中引入bootstrap

    1.整体移动vscode代码块 凭借操作的经验我们能够轻松地知道将代码整体往右移只需选中代码按Tab键即可.其实往左移也很简单: 选中之后按下 shift+Tab键 即可. 2.VSCode 使用 s ...

  8. Chrome/Chromium的实验性功能+扩展推荐,让你的Chrome/Chromium起飞!

    1 实验性功能 Chrome/Chromium内置了一些很酷的实验性功能,打开 chrome://flags 即可访问.打开这些实验性功能后,浏览器的使用体验会更好,这里Chrome的版本为80.0. ...

  9. 实现自动切换主题的 VSCode 扩展

    在白天,我常常需要浅色的 VSCode 主题:在夜间,我常常需要深色的 VSCode 主题.我不希望每天手动切换两次 VSCode 主题,所以我开发了这个可以自动切换主题的 VSCode 扩展 -- ...

  10. VSCode Java 开发环境配置 详细教程

    VSCode Java 开发环境配置 详细教程 配置java 下载 用于现在大多数使用者用的是java 8,小白的我先安装java 8好了,^ w ^. 下载地址:Java 8 | Java SE 打 ...

随机推荐

  1. 构建 OpenWrt

    OpenWrt 是一款路由器操作系统.如果你想要给自己的路由器安装 OpenWrt 的话,一般来说使用别人已经构建好的 OpenWrt 固件就够用了.当然如果你闲得没事干,那么也可以自己构建固件. P ...

  2. autorun.inf 配置

    autorun.inf 文件是一个配置文件,通常用于可移动磁盘(如 USB 驱动器和 CD/DVD)来自动执行某些操作或配置一些设置.当插入可移动磁盘时,Windows 会读取 autorun.inf ...

  3. Snap 使用

    Snap 是一个或多个应用程序的捆绑包,可在许多不同的 Linux 发行版中使用,无需依赖或修改.Snap 可从 Snap Store(一个拥有数百万用户的公共应用程序商店)中发现和安装.很多常用的软 ...

  4. ArgoWorkflow教程(三)---使用 Artifacts 实现步骤间文件共享

    上一篇我们分析了 Workflow.WorkflowTemplate.template 之间的关系.本篇主要分析如何在 argo-workflow 中使用 S3 存储 artifact 实现步骤之间的 ...

  5. 手把手在STM32F103C8T6上构建可扩展可移植的DHT11驱动

    前言 如何驱动一个你陌生的传感器呢?别看我,也别在网上死马当活马医!你需要做的,首先是明确你的传感器的名称,在这里,我们想要使用的是DHT11温湿度传感器 可能需要的前置知识 简单的OLED驱动原理 ...

  6. Amaze UI框架的图标

    1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="U ...

  7. Rounding

    前言 以前写过一篇关于 Rouding 的 decimal, double, float, 但有点杂乱, 这篇做一个整理. Why need rouding? 除法会诞生小数. 甚至会诞生无限小数 ( ...

  8. 图解连接阿里云(二)使用Paho-MQTT(支持FreeRTOS版本、Linux版本)连接1MQTT测试服务器 2阿里云物联网平台

    前沿提要: MQTT是什么不知道? 看这一篇:https://www.cnblogs.com/happybirthdaytoyou/p/10362336.html 阿里云官网玩不转? 看这一篇: ht ...

  9. debian 12 编译 vlc/libvlc 支持 rtsp

    debian 官方从11开始,不再提供支持 rtsp 的 VLC deb 包,通过 libvlc 播放 rtsp 也无法实现,因此需要自己编译. # 安装编译环境,编译依赖库以及 contrib 第三 ...

  10. watch 监视搜索关键词的变化不断发送请求返回建议

    watch: { keywords: { // yarn add lodash 下载lodash包 // import { debounce } from "lodash"; 引入 ...