From: <mat...@al...> - 2013-10-14 12:19:24
|
Hi all, In order to make the code more consistent (for better reading quality and unified code layout), I would like to put in place coding conventions and code style checking. As it will impact the development process (for the best!), we should discuss this on the next meeting and agree on the coding rules. As a starting point, we can look at the Microsoft coding conventions for C# : http://msdn.microsoft.com/en-us/library/vstudio/ff926074.aspx Code style checking allows to ensure that a given code respects coding conventions. For C#, the open source StyleCop tool can check this and integrates with various tools like Visual C# or MonoDevelop (Xamarin Studio). Additionnally, I recommend we look for a solution to integrate this on the svn server to prevent commits that are not compliant with our coding conventions. We have to check the feasibility but as far as I know, SourceForge allows the use of pre/post hooks (commands that are executed on the server side) and there is also the project SVNStyleCop ( https://svnstylecop.codeplex.com/ ) which propose to integrate StyleCop easily on a SVN server. Do you have any thoughts about those topics? Best regards, Matthieu Hazon |