platform-ui-home/code-conventions/index.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (download) (as text) (annotate)
Mon Aug 25 19:26:51 2003 UTC (6 years, 3 months ago) by tod
Branch: MAIN
Changes since 1.2: +7 -4 lines
Updated code conventions
<html>
<head>
<title>Code Conventions for the Platform Workbench Team</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="http://dev.eclipse.org/default_style.css" type="text/css">
</head>

<body bgcolor="#FFFFFF" text="#000000">

<table border=0 cellspacing=5 cellpadding=2 width="100%" >
  <tr> 
    <td align=LEFT valign=TOP colspan="2" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica"> 
      Code Conventions for the Platform Workbench Team</font></b></td>
  </tr>
  <tr> 
    <td align=right valign=top width="2%"><img src="http://dev.eclipse.org/images/Adarrow.gif" border=0 height=16 width=16
    	alt = "Eclipse idea banner"></td>
    <td width="98%"><p>The main Eclipse coding conventions can be found <a href="http://dev.eclipse.org/conventions.html">here</a>. 
        The Platform Workbench Team has been using the following additional code 
        conventions. Those that can be expressed with a preference can be imported 
        <a href="codeconventions.epf">here.</a> The extra conventions are</p>
      <ol>
        <li>Compiler warnings are on except for deprecated code.</li>
        <li>Formatting has width is 150 characters</li>
        <li>Use of the commented word package for package visibility (i.e. /*package*/ 
          class PropertySheetViewer extends Viewer )</li>
        <li>The order of imports in is in order of dependency (i.e. java, then 
          core, then set, then jface and then ui).</li>
      </ol></td>
  </tr>
</table>
</body>
</html>