首页 > Web开发 > 详细

VScode的settings.json配置

时间:2019-06-09 11:07:46      阅读:1640      评论:0      收藏:0      [点我收藏+]
{
    "editor.mouseWheelZoom": true,

    "astyle.additional_languages": [
        "c",
        "cpp",
    ],

    "astyle.cmd_options": [
        "--style=allman",//Kernighan&Ritchie 风格格式和缩进
        "--indent=spaces=4",//缩进4个空格
        "--convert-tabs",
        "--align-pointer=name",
        "--align-reference=name",
        "--keep-one-line-statements",
        "--pad-header",
        "--pad-oper",//操作符两端插入一个空格
    ],

    "astyle.executable": "D:\\AStyle\\bin\\astyle.exe",

    "files.encoding":"GB2312",

    "[c]": {
        "editor.defaultFormatter": "chiehyu.vscode-astyle"
    },
    "editor.minimap.enabled": false,
    "[cpp]": {
        "editor.defaultFormatter": "chiehyu.vscode-astyle"
    },
    "workbench.colorTheme": "One Dark Pro",

}

文件——首选项——设置

VScode的settings.json配置

原文:https://www.cnblogs.com/CodeWorkerLiMing/p/10992832.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!