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, // 设置终端字体大小
}
相关推荐
爱吃烤鸡翅的酸菜鱼13 分钟前
IDEA高效开发:Database Navigator插件安装与核心使用指南
java·开发语言·数据库·编辑器·intellij-idea·database
qiqiqi(^_×)10 小时前
卡在“pycharm正在创建帮助程序目录”
ide·python·pycharm
小妖66610 小时前
vscode 源码编译
ide·vscode·编辑器
张人玉11 小时前
Visual Studio 的常用快捷键
ide·visual studio
focksorCr13 小时前
在VsCode上使用开发容器devcontainer
ide·vscode·编辑器
Lum110413 小时前
PyCharm高效入门指南大纲
ide·python·pycharm
郭尘帅66617 小时前
IDEA中删除多余的jdk选项 【IDEA2024版】
java·ide·intellij-idea
慌糖17 小时前
IDEA报错“资源找不到”?重启就好了!!?
java·ide·intellij-idea
荔枝吻17 小时前
【保姆级喂饭教程】idea开发TODO规范
java·ide·intellij-idea
荔枝吻17 小时前
【保姆级喂饭教程】Idea中配置类注释模板
java·ide·intellij-idea