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, // 设置终端字体大小
}
相关推荐
Zach_yuan14 小时前
Linux编辑器vim
linux·编辑器·vim
Ares_xb14 小时前
推广一下自己刚撸的 IDEA 插件—Bean Copy 助手
java·ide·intellij-idea
dyxal15 小时前
内网windows系统机器通过vscode ssh连接内网服务器,无网络导致的一系列无法正常连接问题
服务器·vscode·ssh
狠活科技1 天前
免登录!免安装ClI,Claude Code官方插件接入API使用教程
人工智能·vscode·ai编程
诗意地回家1 天前
工具: 下载vscode .vsix扩展文件方法
ide·vscode·编辑器
UpYoung!1 天前
无广技术贴!【PDF编辑器】Solid Converter PDF保姆级图文下载安装指南——实用推荐之PDF编辑软件
学习·数学建模·pdf·编辑器·运维开发·个人开发
东方佑1 天前
基于浏览器的DOCX文件编辑器:实现导入、编辑与导出功能
编辑器
scorpion_V1 天前
VScode 中执行 npm 报错的问题
ide·vscode·npm
UpYoung!1 天前
【MD编辑器】实用工具推荐之轻量级 Markdown 编辑器Typora下载安装图文教程
编辑器·办公软件·typora·md编辑器·markdown 编辑器
Bellafu6661 天前
下载selenium-ide及使用
ide·selenium·测试工具