Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
BasedOnStyle: Google
IndentWidth: 4
---
Language: Cpp
ColumnLimit: 120
CompactNamespaces: false
AlignAfterOpenBracket: Align
AccessModifierOffset: -2
BinPackArguments: false
BinPackParameters: false
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ RUN apt-get update \
&& apt-get -y install git openssh-client vim iproute2 procps lsb-release \
#
# Install C++ tools
&& apt-get -y install build-essential cmake cppcheck valgrind \
&& apt-get -y install build-essential cmake cppcheck valgrind clang-format \
#
# temporary addition of the rosserial install to verify items
&& apt-get install -y ros-melodic-rosserial \
Expand Down
3 changes: 2 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"extensions": [
"ms-vscode.cpptools",
"ms-iot.vscode-ros",
"ms-azuretools.vscode-docker"
"ms-azuretools.vscode-docker",
"xaver.clang-format"
]
}