Community
Participate
Working Groups
Some people like to look at the source code with an indentation of 4, others prefer 2 (or whatever). This cannot be enforced with using spaces only or with using "dumb" tabs. But there is a solution. Take this example (. is a space, -> a tab-character): with two spaces per tab: ->public void test(Foo foo, ->.................Bar bar) { ->->doSomething(bar, foo); ->} the same code with 4 spaces per tab also looks good: --->public void test(Foo foo, --->.................Bar bar) { --->--->doSomething(bar, foo); --->} These are the rules: - use tabs only for the left-most indentation, - for wrapped lines further indent using spaces, - there must not be a tab character right beside a non-tab-character
See also bug 77464.
> See also bug 77464. I don't see, how these issues are related.
Not directly related but just a hint for the developer to also look at that bug report: currently the out-of-the box formatter preference is to use spaces while the editor uses tabs.
*** This bug has been marked as a duplicate of 49896 ***
after discussion with Dani: - the problem is the same as described in bug 49896 - the typing smartness on our side also does not handle the case correctly -> this has been fixed for M4