Re: typdef enum indentation

  • From: "Paulo R. Panhoto" < >
  • To:
  • Subject: Re: typdef enum indentation
  • Date: Mon, 27 Feb 2012 00:17:12 -0300
  • Authentication-results:; spf=pass ( domain of designates as permitted sender) smtp.mail= ; dkim=pass header.i=

In the Options dialog, Formatting tab (select Editor first), select C language and check the parameter "Statement Continuation". Your problem could be there.

On 23/02/12 15:20, silverclaw wrote:
Before I submit a bug on this, I just waentd to make sure this isn't only me.

Consider this declaration in C:


typedef enum _ERR_CODE_
} ErrorCode;

When trying to add a new entry to this enum, NetBeans always over-indents my 
cursor. If I press backspace to bring it into alignement with the previous 
declaration, when I start typing, I am thrown again into twice the 
indentation it should have.

Can anyone reproduce this?

typdef enum indentation

silverclaw 02/23/2012

Re: typdef enum indentation

Paulo R. Panhoto 02/27/2012

Project Features

About this Project

CND was started in November 2009, is owned by DimaZh, and has 187 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20160708.bf2ac18). © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
Please Confirm