Coding Standard Generator

Step 1: Enter high level information about your coding standard. Fill in the questions below and press the NEXT button to continue to step 2 where you select your rules. The fields are described below.
Coding standard for:

Language(s):

Bracing style:
Indentation level:


Explanations

Read more about the purpose of coding standards and how to use this generator.

Coding Standard for

Fill in name of company, organisation or project that this coding standard is used in. This name will be shown at the top of the final document.

Languages

You may choose a coding standard specific to one programming language or you may choose a coding standard that combines rules that apply to all the languages you have chosen into a single document.

Bracing Style

There are four bracing styles you can choose from for this coding standard document. The style you choose will be shown in rules (if you select them) and in examples. The differences between these styles are shown below:
K&R GNU Indented Exdented
if (...) {
  ...
} else {
  ...
}
if (...)
  {
    ...
  }
else
  {
    ...
  }
if (...)
  {
  ...
  }
else
  {
  ...
  }
if (...)
{
  ...
}
else
{
  ...
}

Help and feedback

Please send mail to csg@sven-e.user.lysator.liu.se with any problems, feedback and encouragements you have.