Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » expand tabs
expand tabs [message #184285] Tue, 12 December 2006 22:18 Go to next message
Eclipse UserFriend
Originally posted by: benhsu.gmail.com

Hi

My new employer has a coding style policy-- no tabs in lines. I believe
Eclipse's
auto-formatting feature automatically puts tabs in lines. is there any way
to
configure Eclipse to use four spaces instad of a tab character?
Re: expand tabs [message #184292 is a reply to message #184285] Wed, 13 December 2006 01:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ns_dkerber.ns_WarrenRogersAssociates.com

In article <b7cd31d06a55811c927e24d660c632ff$1@www.eclipse.org>,
benhsu@gmail.com says...
> Hi
>
> My new employer has a coding style policy-- no tabs in lines. I believe
> Eclipse's
> auto-formatting feature automatically puts tabs in lines. is there any way
> to
> configure Eclipse to use four spaces instad of a tab character?

Yes.

--
Remove the ns_ from if replying by e-mail (but keep posts in the
newsgroups if possible).
Re: expand tabs [message #184351 is a reply to message #184285] Wed, 13 December 2006 08:34 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
ben hsu wrote:

> Hi
>
> My new employer has a coding style policy-- no tabs in lines. I
> believe Eclipse's
> auto-formatting feature automatically puts tabs in lines. is there any
> way to
> configure Eclipse to use four spaces instad of a tab character?

Yes - you do this via formatter preferences.

Dani
Re: expand tabs [message #184366 is a reply to message #184351] Wed, 13 December 2006 10:07 Go to previous message
Eclipse UserFriend
Originally posted by: hendrik_maryns.despammed.com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Daniel Megert schreef:
> ben hsu wrote:
>
>> Hi
>>
>> My new employer has a coding style policy-- no tabs in lines. I
>> believe Eclipse's
>> auto-formatting feature automatically puts tabs in lines. is there any
>> way to
>> configure Eclipse to use four spaces instad of a tab character?
>
> Yes - you do this via formatter preferences.

But only in Java. See a recent thread about this, there is a bug to
move this functionality to text editors.

H.
- --
Hendrik Maryns
http://tcl.sfs.uni-tuebingen.de/~hendrik/
==================
http://aouw.org
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFFf9Dge+7xMGD3itQRAhYKAJ9Eoc60UkAow+mcTaW28QQvQVaahwCf RpyU
SxZM+E1Em/m+b2UK5zzu2s0=
=DShQ
-----END PGP SIGNATURE-----
Previous Topic:Errors while Compiling in Eclipse3.2 for CxxTest
Next Topic:Howto implement "Press F2 for Focus" on text hover
Goto Forum:
  


Current Time: Thu Apr 18 22:51:17 GMT 2024

Powered by FUDForum. Page generated in 0.03334 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top