Skip to content

Commit

Permalink
chore(vs-code): use cmake-tools plugin in vs code
Browse files Browse the repository at this point in the history
The CMake Tools plugin from VS Code automatically
handles all the missing #include errors.

See https://marketplace.visualstudio.com/items?itemName=ms-vscode.cmake-tools
  • Loading branch information
aloisklink committed Jun 27, 2022
1 parent 2b1dd11 commit d9b5146
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"compilerPath": "/usr/bin/gcc",
"cStandard": "gnu17",
"cppStandard": "gnu++14",
"intelliSenseMode": "linux-gcc-x64"
"intelliSenseMode": "linux-gcc-x64",
"configurationProvider": "ms-vscode.cmake-tools"
}
],
"version": 4
Expand Down
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,6 @@
"firewall_config.h": "c",
"crypt_service.h": "c",
"header_middleware.h": "c",
"*.in": "cpp"
"*.c.in": "c"
}
}

0 comments on commit d9b5146

Please sign in to comment.