ponder-lab / Constants-to-Enum-Eclipse-Plugin

A research prototype Eclipse plugin that refactors Java legacy code to make use of the new enum program construct that was introduced in Java 5.
Eclipse Public License 1.0
3 stars 2 forks source link

Adapt coding conventions from JDT #11

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
As in the end we'll likly be pretty close to JDT or even part of it, we 
should adapt the coding conventions from Eclipse and especially from JDT.

See http://wiki.eclipse.org/index.php/Development_Conventions_and_Guidelines 
and additional rules used in the JDT UI project:

instance variables start with an f prefix
non final static variables start with an fg prefix
we use the compact assignment form (a= b, i.e. no space on the left of 
equals)

(taken from http://eclipse.org/jdt/ui/dev.php)

Original issue reported on code.google.com by b.muskalla@gmail.com on 27 Aug 2009 at 11:52

GoogleCodeExporter commented 9 years ago
Another thing we should care about are the package names. I suggest to refactor 
the packages to match the org.eclipse.jdt pattern. Raffi what do you think?

Original comment by b.muskalla@gmail.com on 4 Jan 2010 at 2:59