User Tools

Site Tools


developer_center:code_guidelines

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

developer_center:code_guidelines [2014/07/21 02:35]
freaktechnik [Contract IDs]
developer_center:code_guidelines [2015/02/19 12:06] (current)
freaktechnik CRLF stuff
Line 3: Line 3:
 ===== Line Length ===== ===== 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. 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.
 +===== Line Endings =====
 +Please pay attention to use the correct type of line endings or set up git to commit in the correct style. We generally just use LF for new lines. See [[git_tips]] on how to configure git to commit LF instead of CRLF.
 ===== License Headers ===== ===== License Headers =====
 If you create a new file, don't forget to include the appropriate license header from [[:​licensing]]. If you create a new file, don't forget to include the appropriate license header from [[:​licensing]].
developer_center/code_guidelines.txt ยท Last modified: 2015/02/19 12:06 by freaktechnik