SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

Smart Indent behaviour

Last post 07-17-2009 9:37 PM by Woohooo. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 07-01-2009 1:16 AM

    Smart Indent behaviour

    Dear sharp developers,

    I am using Sharp Develop 3.0, and some of the behaviour of the smart indenter is annoying me a little bit. Specifically, the behaviour it displays when I split statements over multiple lines. For example:

    Console.WriteLine("{0}{1}{2}{3}", "This ",
                                  "is ", "an ", "example.");

    It automatically begins the next line wherever the first parameter was entered. This may seem quite clever at first, but it isn't. I would prefer Visual Studio-like behaviour, where second and subsequent lines are indented once in relation to the first line. For example:

    Console.WriteLine("{0}{1}{2}{3}", "This ",
        "is ", "an ", "example.");

    Is there a way I can change the behaviour of the smart indenter?

     

    Filed under: ,
  • 07-17-2009 7:22 PM In reply to

    Re: Smart Indent behaviour

    Currently there's no option for that.

    I've added a feature request: http://bugtracker.sharpdevelop.net/Default.aspx?p=4&i=1566

  • 07-17-2009 9:37 PM In reply to

    Re: Smart Indent behaviour

    Thank you very much. :)

Page 1 of 1 (3 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.