OMNeT++/OMNEST Bug Tracker - OMNeT++
View Issue Details
0000177OMNeT++IDE / C++ developmentpublic2010-06-24 22:202010-12-10 17:27
andras 
andras 
lowminorhave not tried
resolvedfixed 
4.1 
4.14.2 
0000177: C++ editor indents with tabs
In OMNeT++ sources, the general convention is to use spaces for indentation (4 spaces), and not tabs characters. The IDE's C++ editor should be configured by default to use spaces for indentation.

Tab characters are a continually occurring source of merge conflicts e.g. in the INET Framework.

Tabs are inserted at autoindent, reindent, reformat source, templated autocompletion, etc.
No tags attached.
Issue History
2010-06-24 22:20andrasNew Issue
2010-12-10 17:27andrasNote Added: 0000352
2010-12-10 17:27andrasStatusnew => resolved
2010-12-10 17:27andrasFixed in Version => 4.2
2010-12-10 17:27andrasResolutionopen => fixed
2010-12-10 17:27andrasAssigned To => andras
2010-12-10 17:27andrasNote Edited: 0000352

Notes
(0000352)
andras   
2010-12-10 17:27   
A profile named "OMNeT++ [built-in]" was added with the preferred code formatting options (spaces, indentation, etc).

Defined in org.omnetpp.main/plugin_customization.ini:
org.eclipse.cdt.ui/org.eclipse.cdt.ui.formatterprofiles = <?xml..