vscode使用问题集锦

1. 解决vscode编辑了linux文件,git提示^M的问题

git config --global core.autocrlf input
git config --global core.whitespace cr-at-eol

2. 禁止vscode自动化格式c++代码

# setting.json
{
    "C_Cpp.formatting": "Disabled"
}
posted @ 2020-04-14 14:22  亻Bo  阅读(1657)  评论(0)    收藏  举报