zoukankan      html  css  js  c++  java
  • VScode的settings.json配置

    {
        "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",
    
    }

    文件——首选项——设置

  • 相关阅读:
    愤怒的小鸟(angry bird )
    1101模拟
    1029模拟题解
    1028题解
    图床
    数据结构
    博弈论
    差分
    前缀和
    快读和快写
  • 原文地址:https://www.cnblogs.com/CodeWorkerLiMing/p/10992832.html
Copyright © 2011-2022 走看看