| 1 | = Linux Coding Environment = |
| 2 | |
| 3 | This document describes the linux coding environement, everything you will need to work on orxonox successfully and happily ever after. The guid is meant for all linux distributions but specialy for [www.gentoo.org Gentoo]. |
| 4 | |
| 5 | == Compiler == |
| 6 | You will want to use the standard GNU gcc compiler that is shiped with all linux distributions. |
| 7 | |
| 8 | == Code Editor == |
| 9 | After using [http://www.xemacs.org/ xemacs] with the [http://ecb.sourceforge.net/ ECB] plugin, we changed to the [http://www.kdevelop.org/ KDevelop] editor, which is probably the best code editor in the whole open source world at the moment. We encourage you to install [http://www.kdevelop.org/ KDevelop], there is already a woking kdevelop project file found at: {{{/trunk/orxonox.kdevelop}}}.[[br]] |
| 10 | Now costomize your kdevelop like this: |
| 11 | __Settings=>Configure KDevelop...__ |
| 12 | * Source Formatter: Select {{{GNU}}} |
| 13 | * Documentation: Click on {{{Doxygen Documentation Collection}}} (in the lower middle) => Add: {{{trunk/doc/html/index.html}}} (this only works, if you have already generated the doxygen documentation with {{{make doc}}} in the orxonox trunk) |
| 14 | __Settings=>Configure Editor... __ |
| 15 | (this is only klickable if you have already opened a c++ source file to view) |
| 16 | * Editing: Check {{{Remove trailing spaces}}} |
| 17 | * Indentation: Select {{{C Style}}} for {{{Indentation Mode}}} |
| 18 | * Open/Save Check {{{Replace tabs with spaces}}}, and {{{Remove trailing spaces}}} |