User Tools

Site Tools


developer_center:code_guidelines

**This is an old revision of the document!** ----

A PCRE internal error occured. This might be caused by a faulty plugin

{{page>:menu}} ====== Code Guidelines ====== ===== Line Length ===== Generally try to keep lines under 80 characters. However when modifying config files (like prefs.js.in) or Makefiles having longer lines is sometimes nearly inevitable. XPCOM statements can get quite long too, though you can wrap them to a certain degree. ===== License Headers ===== If you create a new file, don't forget to include the appropriate license header from [[:licensing]]. If you're modifying an existing file you cannot remove the copyright from POTI. ===== Contract IDs ===== Components of Nightingale should define contracts id following this pattern: "@getnightingale.com/[a-z0-9/];[version]". Important is, that you do not add nightingale after the domain, like the songbird components do and that everything is lowercase.

developer_center/code_guidelines.1405935283.txt.gz · Last modified: 2014/07/21 02:34 by freaktechnik