Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » how to set different values for indent width, tab width
how to set different values for indent width, tab width [message #156235] Thu, 13 November 2003 09:46
Eclipse UserFriend
Originally posted by: lmorley.gdc.wpi.edu

Like many people, I have tabs set to 4 spaces. However, with other
programs, I've been able to set hard tabs at 8 spaces (for example, in
jEdit I can set an indent width at 4 spaces and a tab width at 8
spaces). The result of this is that every other indent is replaced by a
hard tab, which is nice.

So far, I've only discovered two different options concerning indenting
in eclipse: (1) having indents at 4 spaces, without any hard tabs; or
(2) having indents displayed as hard tabs when opened in other editors.

I also can't seem to find a real difference in "Insert tabs for
indentation, not spaces" under Preferences>Java>Code Formatter>Style and
"Insert space for tabs" under Preferences>Java>Editor>Typing.

Thanks for your assistance,
Liam Morley
Previous Topic:Ant plugin in separate jre
Next Topic:Restrict "Navigate/Open Resource" to current project?
Goto Forum:
  


Current Time: Sun Oct 06 12:02:31 GMT 2024

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

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

Back to the top