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, // 设置终端字体大小
}
相关推荐
斗转星移35 小时前
Ubuntu20.04 中使用vscode中编辑查看PlantUML
linux·vscode·uml·plantuml
聂 可 以6 小时前
调整IntelliJ IDEA当前文件所在目录(包路径)的显示位置
java·ide·intellij-idea
人猿泰飞7 小时前
【初识Trae】字节跳动推出的下一代AI原生IDE,重新定义智能编程
ide·ai-native·trae·ai原生ide
百锦再7 小时前
Android Studio开发 SharedPreferences 详解
android·ide·android studio
偶尔微微一笑8 小时前
AI网络渗透kali应用(gptshell)
linux·人工智能·python·自然语言处理·编辑器
timing9948 小时前
LVGL在VScode的WSL2中仿真
ide·vscode·编辑器
未来之窗软件服务9 小时前
声音分离人声和配乐-从头设计数字生命第4课——仙盟创梦IDE
ide·仙盟创梦ide·数字生命
躲在云朵里`9 小时前
IDEA搭建环境的五种方式
java·ide·intellij-idea
Zhuai-行淮9 小时前
vscode和git 踩坑
ide·git·vscode
Percep_gan10 小时前
解决重装idea后破解jerbel的问题
java·ide·intellij-idea