summaryrefslogtreecommitdiffstats
path: root/CodingStyle
AgeCommit message (Collapse)Author
2015-09-07CodingStype: add explanation how to install the QtCreator settingsGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-03-23CodingStyle: add an extra line for the braces explainationGravatar Lubomir I. Ivanov
The extra call "dosomethingelse()" is added with the intention that user will not be confused to add braces around single lined "if" conditions. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-03-23Update CodingStyleGravatar Dirk Hohndel
Initializers were not documenting what we actually do. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-17Adds advice on text strings to style guideGravatar Tim Wootton
Signed-off-by: Tim Wootton <tim@tee-jay.demon.co.uk> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-07-16Small update to CodingStyle documentGravatar Dirk Hohndel
Mention variable declarations (they should be at the beginning of code blocks). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-05-10CodingStyle "to" "too" typoGravatar Jeremiah Mahler
Small typo in CodingStyle. ".. in this file to." should be "... in this file too." Signed-off-by: Jeremiah Mahler <jmmahler@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-03-10Fixed Subsurface coding style for classes in vim.Gravatar Lakshman
With the current suggested settings in `CodingStyle` content of class blocks gets indented. To avoid this, value `g0` is added to cinoptions. In addition to this `TODO` thing, few additional options are suggested. - Included the value `(0` to cinoptions, to comply with the discontinuation of continuous lines as per Subsurface coding style recommendations. Add two options that aren't exactly about coding style but about convenience: - `hls` option to highlight all search options. - `is` option to do incremental search Signed-off-by: Lakshman Anumolu <acrlakshman@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-02-28Fix minor spelling error in CodingStyleGravatar Joshua Wambua
Fixes a minor spelling error in the CodingStyle file. Signed-off-by: Joshua Wambua <joshua@megvel.me.ke> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-02-27Add some notes about vim settings for our styleGravatar Anton Lundin
Basic vim settings to mostly follow our coding style. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-02-27Add explanations and Emacs / QtCreator settings to CodingStyleGravatar Dirk Hohndel
These may not be perfect, but they are a start. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-01-22Add info to the CodingStyle for C++ constructorsGravatar Thiago Macieira
Signed-off-by: Thiago Macieira <thiago@macieira.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-01-16Add switch statement to CodingStyleGravatar Dirk Hohndel
Requested-by: Thiago Macieira <thiago@macieira.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-01-16Whitespace and coding style updatesGravatar Dirk Hohndel
Another futile attempt to cleanup the code and make coding style and whitespace consistent. I tried to add a file that describes the key points of our coding style. I have no illusions that this will help the least bit... This commit should ONLY change whitespace Signed-off-by: Dirk Hohndel <dirk@hohndel.org>