| 1 |
<html> |
<html> |
| 2 |
<head> |
<head> |
| 3 |
<title>Code Conventions for the Platform Workbench Team</title> |
<title>Code Conventions for the Platform UI Team</title> |
| 4 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| 5 |
<link rel="stylesheet" href="http://dev.eclipse.org/default_style.css" type="text/css"> |
<link rel="stylesheet" href="http://dev.eclipse.org/default_style.css" type="text/css"> |
| 6 |
</head> |
</head> |
|
|
|
| 7 |
<body bgcolor="#FFFFFF" text="#000000"> |
<body bgcolor="#FFFFFF" text="#000000"> |
|
|
|
| 8 |
<table border=0 cellspacing=5 cellpadding=2 width="100%" > |
<table border=0 cellspacing=5 cellpadding=2 width="100%" > |
| 9 |
<tr> |
<tr> |
| 10 |
<td align=LEFT valign=TOP colspan="2" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica"> |
<td align=LEFT valign=TOP colspan="2" bgcolor="#0080C0"> |
| 11 |
Code Conventions for the Platform Workbench Team</font></b></td> |
<b><font color="#FFFFFF" face="Arial,Helvetica">Code Conventions for the Platform UI Team</font></b> |
| 12 |
|
</td> |
| 13 |
</tr> |
</tr> |
| 14 |
<tr> |
<tr> |
| 15 |
<td align=right valign=top width="2%"><img src="http://dev.eclipse.org/images/Adarrow.gif" border=0 height=16 width=16 |
<td align=right valign=top width="2%"> |
| 16 |
alt = "Eclipse idea banner"></td> |
<img src="http://dev.eclipse.org/images/Adarrow.gif" border=0 height=16 width=16 alt = "Eclipse idea banner"> |
| 17 |
<td width="98%"><p>The main Eclipse coding conventions can be found <a href="http://dev.eclipse.org/conventions.html">here</a>. |
</td> |
| 18 |
The Platform Workbench Team has been using the following additional code |
<td width="98%"> |
| 19 |
conventions. Those that can be expressed with a preference can be imported |
<p>The main Eclipse coding conventions can be found <a href="http://dev.eclipse.org/conventions.html">here</a>. |
| 20 |
<a href="codeconventions.epf">here.</a> The extra conventions are</p> |
The Platform UI Team has been using the following additional code conventions: |
| 21 |
|
</p> |
| 22 |
<ol> |
<ol> |
| 23 |
<li>Compiler warnings are on except for deprecated code.</li> |
<li>Compiler warnings are on except for deprecated code.</li> |
| 24 |
<li>Formatting has width is 150 characters</li> |
<li>Code is subjected to 'Organize Imports', 'Format', and 'Sort Members' according to default ship settings.</li> |
| 25 |
<li>Use of the commented word package for package visibility (i.e. /*package*/ |
</ol> |
| 26 |
class PropertySheetViewer extends Viewer )</li> |
<!-- |
| 27 |
<li>The order of imports in is in order of dependency (i.e. java, then |
<p>Those that can be expressed with a preference can be imported <a href="codeconventions.epf">here.</a></p> |
| 28 |
core, then set, then jface and then ui).</li> |
--> |
| 29 |
</ol></td> |
</td> |
| 30 |
</tr> |
</tr> |
| 31 |
</table> |
</table> |
| 32 |
</body> |
</body> |