Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Auto-indent of CDT Macros(Eclipse auto indents all macros to begining of the line)
Auto-indent of CDT Macros [message #734531] Sat, 08 October 2011 07:30 Go to next message
trfk  is currently offline trfk Friend
Messages: 1
Registered: October 2011
Junior Member
I am using Eclipse Helios (with CDT plug-in) on top of Fedora 14.

While programming in C/C++, the editor by default ignores the current column in indenting and indents all macros to the start of line.

It really creates problems in following a particular style of code and not to mention it makes code ugly unreadable.

Doing the indentation manually each time is a big headache and if you use auto format (Ctrl+Shift+F) it is all reset to beginning of the line and once again one is back to ugly and unreadable code.

How can I address the situation?

[Updated on: Sat, 08 October 2011 07:32]

Report message to a moderator

Re: Auto-indent of CDT Macros [message #735326 is a reply to message #734531] Tue, 11 October 2011 14:19 Go to previous message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
Ask in the CDT forum group (as described in the sticky post at the top
of this forum).


On 10/8/11 3:30 AM, trfk wrote:
> I am using Eclipse Helios (with CDT plug-in) on top of Fedora 14.
>
> While programming in C/C++, the editor by default ignores the current
> column in indenting and indents all macros to the start of line.
>
> It really creates problems in following a particular style of code and
> not to mention it make code ugly unreadable.
>
> Doing the indentation manually each time is a big headache and if you
> use auto format (Ctrl+Shift+F) it is all reset to beginning of the line
> and once again one is back to ugly and unreadable code.
>
> How can I address the situation?
Previous Topic:Debugging Jython with JyDT - Step Debug buttons grayed out...
Next Topic:custom "new project" with libraries set
Goto Forum:
  


Current Time: Thu Apr 25 10:38:31 GMT 2024

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

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

Back to the top