|Re: Spaces for tabs (in Indigo)? [message #1000057 is a reply to message #999789]
||Sun, 13 January 2013 22:46
| Russell Bateman
Registered: July 2009
Location: Provo, Utah, USA
On 01/12/2013 10:53 PM, Ed Merks wrote:|
> The Java -> Code Style -> Formatter's active profile determines this, in
> particular, the Indention tab's Tab policy setting.
> On 13/01/2013 3:56 AM, Russell Bateman wrote:
>> (Indigo 64-bit, Ubuntu Lucid.)
>> I've checked General -> Editors -> Text Editors -> Insert spaces for
>> tabs and then find the Java editor leaving tabs in the file anyway.
>> I've verified after saving (and closing) Java files that the tabs do
>> persist. Even if I take the tabs out by hand, more are left in as I
>> press the tab key afterward.
>> Am I missing something?
>> Much thanks.
Thanks, Ed. I used to use tabs, but recently have decided to discontinue
the practice in Java code at least. This is why it's just never come up
in all the years I've used Eclipse.
So, you're right...
Window -> Preferences -> Java -> Code Style -> Formatter -> Edit ->
Indentation -> Tab policy: Spaces only.
This appears to work fine now.
Thanks also to Nitin for replying. It appears that the wiggle above IS
how to configure the Java editor (which otherwise isn't listed
separately, I guess).
Best regards to all,
Powered by FUDForum
. Page generated in 0.03507 seconds