Hi,

I like to put the opening curly-brace always on the next line at the
same indentation as the previous line. I am having trouble figuring
out the proper values for c-offset-alist in JDE mode, especially with
anonymous classes inside inner classes. For example:

public class Class1
{
    public class Inner1
    {
        Thread t = new Thread()
        {
            public void run()
            {
                try
                {
                    sleep(2000);
                }
                catch (InterruptedException ie)
                {
                }
            }
        };
        t.start();
    }
}


How do I go about achieving the above style of indentation?
Thanks in advance for all answers.

deepak nulu

Reply via email to