Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I can't seem to figure out how to get Eclipse to format multidimensional arrays the way I want it to...

int firstarray[][] =
{
    { 1, 2, 3, 4 },
    { 5, 6, 7, 8 },
    { 9, 10, 11, 12 },
};

That's what I would like, but despite changing line wrapping, brace positions and new lines for array initializers, I can't seem to get it to look anything like that. The closest I've been able to get is where none of it is indented, and that's really bothering me. :(

share|improve this question
Tried asking on Eclipse forums instead? – Luiggi Mendoza 1 hour ago

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.