Setup plugins for Clang-tidy/format

This commit is contained in:
Tim Keller 2021-08-09 00:16:17 +00:00
parent d2dc719b31
commit 44889adda0
3 changed files with 6 additions and 3 deletions

View File

@ -16,7 +16,7 @@ RUN apt-get update -qq \
wget \
curl \
dos2unix \
clang-format \
clang-format-12 \
clang-tidy \
locales \
libncurses5 \

View File

@ -19,7 +19,9 @@
"extensions": [
"ms-vscode.cpptools",
"ms-vscode.cmake-tools",
"marus25.cortex-debug"
"marus25.cortex-debug",
"notskm.clang-tidy",
"mjohns.clang-format"
],
// Use 'forwardPorts' to make a list of ports inside the container available locally.

View File

@ -4,5 +4,6 @@
"-DARM_NONE_EABI_TOOLCHAIN_PATH=${env:ARM_NONE_EABI_TOOLCHAIN_PATH}",
"-DNRF5_SDK_PATH=${env:NRF5_SDK_PATH}",
],
"cmake.generator": "Unix Makefiles"
"cmake.generator": "Unix Makefiles",
"clang-tidy.buildPath": "build/compile_commands.json"
}