Skip to main content



      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 03:30 Go to next message
Eclipse UserFriend
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 03:32] by Moderator

Re: Auto-indent of CDT Macros [message #735326 is a reply to message #734531] Tue, 11 October 2011 10:19 Go to previous message
Eclipse UserFriend
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: Sat Jul 05 07:49:11 EDT 2025

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

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

Back to the top