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, // 设置终端字体大小
}
相关推荐
无声旅者6 小时前
深度解析 IDEA 集成 Continue 插件:提升开发效率的全流程指南
java·ide·ai·intellij-idea·ai编程·continue·openapi
2301_803554528 小时前
vim,gcc/g++,makefile,cmake
linux·编辑器·vim
MonkeyKing_sunyuhua9 小时前
VSCode + Cline AI辅助编程完全指南
ide·人工智能·vscode
炒空心菜菜10 小时前
MapReduce 实现 WordCount
java·开发语言·ide·后端·spark·eclipse·mapreduce
未来之窗软件服务10 小时前
医院药品展示大屏:开启多维度服务与管理新窗口—仙盟创梦IDE
ide·智慧大屏幕·信发系统·仙盟创梦ide
ykjhr_3d10 小时前
解锁课程编辑器之独特风姿
编辑器
threelab12 小时前
12.three官方示例+编辑器+AI快速学习webgl_buffergeometry_indexed
学习·编辑器·webgl
MonkeyKing_sunyuhua12 小时前
在 Visual Studio Code (VSCode) 中配置 MCP(Model Context Protocol)
ide·vscode·编辑器
smileNicky12 小时前
在 VSCode 中运行 Vue.js 项目
ide·vue.js·vscode
Growthofnotes13 小时前
VSCode中Node.js 使用教程
ide·vscode·node.js