As I am used to using the Visual Studio auto formatter, I always had massiv changes in git, as the default code style does not always match the one used in the CC code base.
Therefore I thought it might be useful having a basic .editorconfig file to let editors like VS know how to format.
One big problem was the placement of the pointer asterisk.
The code bases uses different approaches:
int* a;
int *a;
int * a;
One other thing was the indentation in the test *.xml manifest files...
As I am used to using the Visual Studio auto formatter, I always had massiv changes in git, as the default code style does not always match the one used in the CC code base.
Therefore I thought it might be useful having a basic
.editorconfig
file to let editors like VS know how to format.One big problem was the placement of the pointer asterisk. The code bases uses different approaches:
int* a;
int *a;
int * a;
One other thing was the indentation in the test
*.xml
manifest files...I tried to stick to the CC Coding Conventions.
@rhuanjl What do you think?