Skip to content
Manu Evans edited this page Nov 7, 2016 · 8 revisions

Consider installing the EditorConfig plugin for your favourite editor: http://editorconfig.org
It will configure some editor formatting settings automatically for files relative to specific projects.

Indentation: tabs, width=4
Srtucts/classes/enums: PascalCase
Functions/methods: camelCase
Variables: camelCase
Pointers: pMyPointer

Functions like this:

void func(int arg, float arg2)
{
    body...
}

Statements like this:

for (int i = 0; i < 10; ++i)
{
    body...
}

Please trim whitespace from ends of lines.
Files should end with a newline. Analytics

Clone this wiki locally