Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 13:57
Dirk Wibben is currently offline Dirk WibbenFriend
Messages: 50
Registered: February 2010
Member
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


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


Current Time: Fri Apr 26 19:41:07 GMT 2024

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

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

Back to the top