Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » How do I use indentation i Eclipse?(I've just installed Eclipse, and I do not figure out how to get an indentation in my code.)
How do I use indentation i Eclipse? [message #677320] Wed, 08 June 2011 07:40 Go to next message
Anne Holmen is currently offline Anne HolmenFriend
Messages: 5
Registered: June 2011
Junior Member
I've just installed Eclipse, and I do not figure out how to get an indentation in my code. Could someone help me, please? I'm totally lost!
Re: How do I use indentation i Eclipse? [message #677337 is a reply to message #677320] Wed, 08 June 2011 08:32 Go to previous messageGo to next message
Russell Williams is currently offline Russell WilliamsFriend
Messages: 4
Registered: May 2011
Junior Member
It's always on for me... but there's Ctrl + I to correct indentation.
There is more stuff in Window->Preferences->Java->Code Style->Formatter->Edit->Indentation
Re: How do I use indentation i Eclipse? [message #677356 is a reply to message #677337] Wed, 08 June 2011 09:33 Go to previous message
Anne Holmen is currently offline Anne HolmenFriend
Messages: 5
Registered: June 2011
Junior Member
That helped me.
I checked out the place you pointed out. Almost everything is checked except of lines in switch statement. The line that was not indented was put in the main-routine as the first statement. But the rest of the lines seem ok.
Previous Topic:Trouble installing GEF
Next Topic:Where is my output?
Goto Forum:
  


Current Time: Wed Sep 25 03:04:49 GMT 2024

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

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

Back to the top