Auto indentation fails when a semicolon occurs at the end of a line
After spending a relative good amount of time on the indenter I'm more and more of the idea that we need to rewrite a a scanner and an indenter tailored to Scala (the Java doesn't always work).
Here is another example:
Pressing enter where I inserted the comment will go to the line without indenting the block.
Here is another example:
object Test {; /* press enter */
}
Pressing enter where I inserted the comment will go to the line without indenting the block.
Leave a comment
on 2014-02-28 01:42 *
By Simon Schäfer
Eclipse version changed from Helios to Kepler - Eclipse 4.3
Version changed from 2.0.0-final-29 to 3.0.2-210
Summary changed from Auto Indenter failed to Auto indentation fails when a semicolon occurs at the end of a line
Status changed from New to Accepted
on 2014-03-11 21:47 *
By Iulian Dragos
Java does the same thing, for the record..
on 2015-03-13 02:04 *
By Simon Schäfer
Eclipse version changed from Kepler - Eclipse 4.3 to Luna - Eclipse 4.4
Version changed from 3.0.2-210 to 4.0.0