Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » [Code Style] Indention in Initializer lists?
[Code Style] Indention in Initializer lists? [message #727137] Tue, 20 September 2011 09:57
Eclipse UserFriend
Hello,

I'm using Eclipse Indigo with CDT 8.0.

How is it possible in 'Code Style' to indent the value list of an Initializer list?

The values are always in the same row as the surrounding brackets:

int digits[] =
{
0, 1, 2, 3, 4, 5, 6, 7, 8, 9
};

or
int digits[] =
   {
   0, 1, 2, 3, 4, 5, 6, 7, 8, 9
   };


What I want is this:
int digits[] =
{
   0, 1, 2, 3, 4, 5, 6, 7, 8, 9
};

- The brackets are 'Next line'.
- The value list is indented.


Or do I have to create an 'enhancement bug'?

Regards
Dirk
Previous Topic:Library question
Next Topic:indexer search path
Goto Forum:
  


Current Time: Tue Jul 01 14:03:33 EDT 2025

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

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

Back to the top