JavaScript code formatting bug

Hi.

In Irida (and in Demetra), the JavaScript code formatting has the
following small bug:

The code (inside a switch):
case 1: // Comment

is formatted to:
case 1:
// Comment

Is there a way to control that possibly through code-style settings?

Thanks,
Amnon

1 comment

I take this back, this is OK in Demetra.

However, there is still a small glitch.

This:
switch {
case 1:
// comment
break;
}

is formatted to this:
switch {
case 1:
// comment
break;
}

Also, while typing it the auto formatting is:
switch {
case 1:
// comment
break;
}

Regards and sorry for the confusion,

Amnon

Amnon I. Govrin wrote:

Hi.

In Irida (and in Demetra), the JavaScript code formatting has the
following small bug:

The code (inside a switch):
case 1: // Comment

is formatted to:
case 1:
// Comment

Is there a way to control that possibly through code-style settings?

Thanks,
Amnon

0

Please sign in to leave a comment.