I’ve exported also code templates
which I’m using.
Code templates contains following changes
to default:
·
New java
files will contain Compuware’s copyright note
·
New created
Class/Interface/Enum/Annotation in the body will have following comment:
/* TODO Implement me please */
·
Generated
getter java doc will look as follows
/**
* Getter method for the ${bare_field_name}.
* @return the ${bare_field_name}
*/
·
Generated
setter java doc will look as follows
/**
* Setter method for the ${bare_field_name}.
* @param ${param} the ${bare_field_name} to set
*/
If you’d like to import it do following…
Windows | Preferences | Java | Code Style | Code Template | Import...
button
Piotr,
Ps. the Code Formatter should be added to
the development environment wiki page (I’ll try to add it), do you think that
Code Templates should also be available there?
From:
corona-dev-bounces@xxxxxxxxxxx [mailto:corona-dev-bounces@xxxxxxxxxxx] On Behalf Of Everitt,
Glenn
Sent: Tuesday, November 07, 2006
7:05 PM
To: Corona
development
Subject: [corona-dev] Java Code
Formatting with 132 line length
I changed the default java code formatting to allow for a
longer line before wrapping to the next line. I found it particularly
annoying when our log statements wrapping across at least 3 lines and single
stepping through code requires a step across every “piece” of
wrapped code line.
To import the attached Code Formatter Profile…
Windows | Preferences | Java | Code Style | Formatter |
Import... button
import the attached file and then make sure it is selected
in the “Select a profile:” dropdown list.
Please do NOT reformat every file with this Profile at least
not until Corona
1.0.0M5 is complete.
Glenn Everitt
The contents of this e-mail are intended for the named addressee only.
It contains information that may be confidential. Unless you are the named
addressee or an authorized designee, you may not copy or use it, or disclose it
to anyone else. If you received it in error please notify us immediately and
then destroy it.
The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.