Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-core-dev] Java coding conventions

This is bug http://dev.eclipse.org/bugs/show_bug.cgi?id=23241. We are
working on a brand new implementation of the formatter. The actual
formatter is too limited to be easily maintained. We don't know yet the
availibility of the new formatter.

Olivier



|---------+------------------------------>
|         |           Daniel van Mil     |
|         |           <danielm@xxxxx>    |
|         |           Sent by:           |
|         |           jdt-core-dev-admin@|
|         |           eclipse.org        |
|         |                              |
|         |                              |
|         |           10/16/02 06:12 AM  |
|         |           Please respond to  |
|         |           jdt-core-dev       |
|         |                              |
|---------+------------------------------>
  >------------------------------------------------------------------------------------------------------------|
  |                                                                                                            |
  |        To:      "'jdt-core-dev@xxxxxxxxxxx'" <jdt-core-dev@xxxxxxxxxxx>                                    |
  |        cc:      "'arthurm@xxxxx'" <arthurm@xxxxx>                                                          |
  |        Subject: [jdt-core-dev] Java coding conventions                                                     |
  >------------------------------------------------------------------------------------------------------------|



Hello,

Java coding conventions say :

switch (condition) {
case ABC:
    statements;
    /* falls through */

case DEF:
    statements;
    break;

case XYZ:
    statements;
    break;

default:
    statements;
    break;
}

Though, eclipse says after format :

case ABC :

(notice blank between identifier and colon !)

Is this a bug and if so, will it be fixed soon ?!?

-------------------------------------------
Greetings,
Daniel van Mil

Once (a Pearl Jam tribute) :
http://www.danielm.nl/once

Secret Samadhi :
http://www.danielm.nl/SecretSamadhi

_______________________________________________
eclipse-dev mailing list
eclipse-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/eclipse-dev
_______________________________________________
jdt-core-dev mailing list
jdt-core-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/jdt-core-dev






Back to the top