Hi,

A configuration file is available at the root of the repository, astylerc:

You need to install astyle package so that you could run the code indentation. 
Then, in sflphone-common directory,

make indent

It will recursively indent every c++ and header files in the daemon directory.

Cheers,

Alexandre

----- Mail Original -----
De: "Marat Radchenko" <[email protected]>
À: [email protected]
Envoyé: Vendredi 14 Mai 2010 11h38:03 GMT -05:00 USA/Canada - États de l'Est
Objet: [SFLphone] Indentation




I'm trying to make patches for Maemo support, however i hit a weird problem 
with indentation in sflphone sources. 

Currently, it's a whole mess of 2/4 spaces and tabs. Because of that, it is 
very hard (almost impossible) to tweak code without breaking indentation. Is it 
possible to reformat sources to single style (preferably the one that is 
configured in eclipse project files that reside in repo)? 
_______________________________________________
SFLphone mailing list
[email protected]
http://lists.savoirfairelinux.net/mailman/listinfo/sflphone
I'm trying to make patches for Maemo support, however i hit a weird problem 
with indentation in sflphone sources.

Currently, it's a whole mess of 2/4 spaces and tabs. Because of that, it is 
very hard (almost impossible) to tweak code without breaking indentation. Is it 
possible to reformat sources to single style (preferably the one that is 
configured in eclipse project files that reside in repo)?
_______________________________________________
SFLphone mailing list
[email protected]
http://lists.savoirfairelinux.net/mailman/listinfo/sflphone

Reply via email to