Install and Configure cmake-format
Step 1: Install cmake-format
pip install cmake_format
Step 2: Install camke-format in vscode
Step 3: Set Extension Settings
{
"files.associations": {
"unistd.h": "c",
"string.h": "c",
"stdlib.h": "c"
},
"cmakeFormat.exePath": "/usr/local/bin/cmake-format"
}
Lst's format!
Format Document: Ctrl+Shift+I
780

被折叠的 条评论
为什么被折叠?



