添加头文件配置
按F1 c/c++:编辑配置(json)
{
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/**"
],
"defines": [],
"compilerPath": "/home/lyp/workspace/kaiyang/linux-arkmicro/output/board/ark1668e_devb_emmc/buildroot/host/bin/arm-linux-gnueabihf-gcc",
"cStandard": "gnu17",
"cppStandard": "gnu++14",
"intelliSenseMode": "linux-gcc-x64"
}
],
"version": 4
}
滚轮设置代码字体大小
左下角设置
自动排版
安装插件clang-format
出错 The ‘clang-format’ command is not available. Please check your clang-format.executable user setting and ensure it is installed.
解决:添加链接描述