Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 6th December 2008, 15:11
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,385 Times in 4,231 Posts
 
Exclamation Ispconfig 3 Code Formatting

Just a short reminder on code formatting. Its a lot of work to reformat files that have a differnt formatting then the style used in ispconfig 3. Please take care especially on these topics:

- Use tabs and not spaces for indenting lines.
- Format functions like this:

function myfunction () {

}

and not:

function myfunction ()
{

}

The same for if and other statements which use {}.

It is nescessary for a project to have a consistent code style, so please adapt the style of your code to the style used in the project. Do not reformat the existing code style accidently e.g by replacing tabs with spaces, this breaks the merging capabilitys of SVN. This might happen unknowingly e.g. if your editor is configured to replace tabs with spaces.

I had a lot of work the last days to get my branch with the new multiserver replication code back into the main branch, so I just wanted to post this as reminder to make the work for all developers easier.

Thanks for your great work!
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.

Last edited by till; 6th December 2008 at 19:48.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
archerjd (7th December 2008)
Sponsored Links
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPconfig setup - DNS, router and general access problems ingvar Installation/Configuration 6 31st July 2010 13:13
ISPConfig 3.0.0.7 Beta released till General 78 24th December 2008 11:47
ISPConfig 3.0.0.6 Beta released till General 38 21st September 2008 19:15
Working through the ISPConfig source code catdude General 1 25th August 2007 08:38
ISPConfig 2.3.2-dev released till General 9 4th June 2007 10:46


All times are GMT +2. The time now is 00:00.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.