Setup plugins for Clang-tidy/format
This commit is contained in:
parent
d2dc719b31
commit
44889adda0
|
@ -16,7 +16,7 @@ RUN apt-get update -qq \
|
||||||
wget \
|
wget \
|
||||||
curl \
|
curl \
|
||||||
dos2unix \
|
dos2unix \
|
||||||
clang-format \
|
clang-format-12 \
|
||||||
clang-tidy \
|
clang-tidy \
|
||||||
locales \
|
locales \
|
||||||
libncurses5 \
|
libncurses5 \
|
||||||
|
|
|
@ -19,7 +19,9 @@
|
||||||
"extensions": [
|
"extensions": [
|
||||||
"ms-vscode.cpptools",
|
"ms-vscode.cpptools",
|
||||||
"ms-vscode.cmake-tools",
|
"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.
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||||||
|
|
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
|
@ -4,5 +4,6 @@
|
||||||
"-DARM_NONE_EABI_TOOLCHAIN_PATH=${env:ARM_NONE_EABI_TOOLCHAIN_PATH}",
|
"-DARM_NONE_EABI_TOOLCHAIN_PATH=${env:ARM_NONE_EABI_TOOLCHAIN_PATH}",
|
||||||
"-DNRF5_SDK_PATH=${env:NRF5_SDK_PATH}",
|
"-DNRF5_SDK_PATH=${env:NRF5_SDK_PATH}",
|
||||||
],
|
],
|
||||||
"cmake.generator": "Unix Makefiles"
|
"cmake.generator": "Unix Makefiles",
|
||||||
|
"clang-tidy.buildPath": "build/compile_commands.json"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user