Visual studio code settings for CamiTK developers
As a | CamiTK developer/CEP developer |
I would like to | have good presets for visual studio code |
So that | CamiTK development is easier (including coding style) |
Description / Overview
Add to the repository vscode configuration files to help developers with their configuration, such as the version of c++ standard.
Coding style: it seems that Visual Code studio supports clang-format options to enforce a coding style.
Currently in CamiTK Programming guidelines the style can be checked using astyle:
--break-closing-brackets \
--add-brackets \
--unpad-paren \
--pad-oper \
--pad-header \
--align-pointer=type \
--indent-switches \
-R *.cpp *.h
The equivalent should be written for clang-format.
Hints
This site explains multiple ways to set the style in Visual Studio
Acceptance tests
[Please enter acceptance tests as TODOs. Acceptance test explains how to test that this issue is solved]
-
Coding style is enforced -
cppStandard version is set -
these files should be either templates (.vscode-recommended) or declared in a .gitignore file so that a developer's configuration is not committed by mistake.
Track
Misc
- Automatic subscription of issue creator:
If appropriate, do not forget to mark this issue as "confidential" by checking the corresponding tick box below
Edited by Emmanuel Promayon