Skip to content
zetok edited this page Mar 20, 2015 · 21 revisions

Guidelines for code and contributing it.

Coding style

function()
{
    1st_line;
    2nd_line;
}

// if / while / for
if ()
    1_line;

if () {
    1st_line;
    2nd line;
} else if {
    what_if;
    i_told_you;
} else {
    that_there_are;
    more_lines;
}
   

E.g. https://github.com/tux3/qTox/blob/master/src/misc/flowlayout.cpp

general tips

  • commits should have meaningful descriptions (something like fix #123" is not acceptable, if you want it in your commit put it in lines below)
  • … (WIP)
Clone this wiki locally