Difference between revisions of "Code Conventions"

From reSIProcate
Jump to navigation Jump to search
(add tab settings)
 
 
Line 1: Line 1:
reSIProcate projects use the [http://www.doc.ic.ac.uk/lab/cplus/c++.rules/ ellemtel] documentation convention. Emacs supports (of course) the ellemtel indentation conventions.
+
reSIProcate projects use the [http://www.doc.ic.ac.uk/lab/cplus/c++.rules/ ellemtel] documentation convention.
  
There are plenty of holes in ellemtel -- when in doubt, do something similar to code already in place.
+
* Emacs supports (of course) the ellemtel indentation conventions.
 +
* [http://www.eclipse.org Eclipse C Development Toolkit] can be used, just import the [https://svn.resiprocate.org/viewsvn/resiprocate/main/eclipse-ellemtel-code-style.xml?view=co Ellemtel definition for Eclipse] from the reSIProcate repository
 +
 
 +
There are plenty of holes in Ellemtel -- when in doubt, do something similar to code already in place.
  
 
Tab settings:
 
Tab settings:
 
# Setup your tab insert to insert spaces and not tab characters.
 
# Setup your tab insert to insert spaces and not tab characters.
 
# Tab spacing is 3 spaces per indent level
 
# Tab spacing is 3 spaces per indent level

Latest revision as of 13:21, 18 February 2013

reSIProcate projects use the ellemtel documentation convention.

There are plenty of holes in Ellemtel -- when in doubt, do something similar to code already in place.

Tab settings:

  1. Setup your tab insert to insert spaces and not tab characters.
  2. Tab spacing is 3 spaces per indent level