vscode

插件

Code Runner代码运行、Error Gutters代码 bug 高亮、 Auto Rename Tag 重命名标签、Live ServerWeb预览、Black FormatterPython 格式化、Project Manage项目分类管理

vscode settings

json 复制代码
{
    "code-runner.runInTerminal": true, // 在终端中运行代码
    "code-runner.executorMap": {
        "cpp": "cd $dir && chcp 65001 && g++ $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", // 设置C++编译命令
        "python": "python -u",
    },
    "files.exclude": { // 忽略文件
        "**/.git": true,
        "**/.svn": true,
        "**/.hg": true,
        "**/CVS": true,
        "**/.DS_Store": true,
        "**/Thumbs.db": true,
        "**/*.exe": true
    },
    "window.commandCenter": false, // 关闭命令中心
    "editor.fontFamily": "Consolas, 微软雅黑", // 设置编辑器字体
    "editor.mouseWheelZoom": true, // 启用鼠标滚轮缩放编辑器
    "security.workspace.trust.untrustedFiles": "open", // 信任打开的文件
    "python.analysis.completeFunctionParens": true, // 自动添加括号
    "editor.dragAndDrop": false, // 禁止拖放
    "update.enableWindowsBackgroundUpdates": false, // 禁止后台更新
    "update.mode": "none", // 禁止自动更新
    "extensions.autoCheckUpdates": false, // 禁止自动检查更新
    "extensions.ignoreRecommendations": true, // 禁止推荐扩展
    "workbench.iconTheme": "material-icon-theme", // 设置图标主题
    "editor.wordWrap": "on", // 自动换行
    "terminal.integrated.enableMultiLinePasteWarning": "never", // 禁止多行粘贴警告
    "terminal.integrated.rightClickBehavior": "default", // 设置终端右键行为
    "breadcrumbs.enabled": false, // 禁用面包屑导航
    "editor.minimap.enabled": false, // 禁用编辑器小地图
    "workbench.colorCustomizations": {
        "editor.background": "#f2f2f2" // 设置编辑器背景颜色 #FDF6E3 淡黄
    }
    "terminal.integrated.mouseWheelZoom": true, // 启用鼠标滚轮缩放终端
    "terminal.integrated.fontSize": 15, // 设置终端字体大小
}
相关推荐
罗政7 小时前
冒险岛079 V8 整合版源码搭建教程+IDEA启动
java·ide·intellij-idea
艾斯比的日常8 小时前
VSCode 实用快捷键
ide·vscode·编辑器
Galaxy_12298 小时前
vscode远程报错:Remote host key has changed,...
ide·vscode·编辑器
彬sir哥8 小时前
VScode运行后出现黑窗口
vscode·运行·黑窗口
Hi~晴天大圣13 小时前
Pycharm中断点使用技巧
ide·python·pycharm
且随疾风前行.15 小时前
Android Studio 提示 !Failed to initialize editor
android·ide·android studio
比牛顿更懂PID15 小时前
VSCode本地python包“无法解析导入”
ide·vscode·python
qxyywy18 小时前
CUDA 安装 一直卡在Installing Nsight Visual Studio Edition
ide·visual studio·cuda
前端郭德纲19 小时前
vscode默认终端怎么设置成git bash
git·vscode·bash
瞌睡不来19 小时前
(学习总结25)Linux工具:vim 编辑器 和 gcc/g++ 编译器
linux·学习·编辑器·vim·编译器·gcc/g++