When I type class Bar {
+ Enter, Eclipse 3.5.2 indents the next line, like this (_
is the cursor/caret):
// Eclipse 3.5.2 does this for Java code by default.
// I don't want this (smart indentation).
class Foo {
class Bar {
_
How do I disable this so-called smart indentation (for Java code), and revert it back to normal auto-indentation, like this:
// I want this (automatic indentation).
class Foo {
class Bar {
_
Without auto indent, it would look like this:
// I don't want this (no indentation)
class Foo {
class Bar {
_
I can work much more efficiently when I am allowed to manage the indentation, without relying on the possible smartness of the editor. I'm not interested in changing my customs how I edit code, I'm interested in getting rid of the smart indentation feature of Eclipse, and enabling automatic indentation.
I've tried various options in Window / Preferences, but I haven't found any of them which would solve the problem illustrated above.