[MonoDevelop] Formatting method calls

Mike Krüger mkrueger at xamarin.com
Tue Oct 15 13:59:13 UTC 2013


Hi

Ok then it should be no problem to switch between different styles in 
the c# formatting 'Wrapping' category.

Regards
Mike

> Mike,
>
> I am on a pretty recent build:
>
> MonoDevelop
> Version 4.1.7
> Installation UUID: feaee481-7c2a-4781-a090-d6228809132d
> Runtime:
>     Mono 3.2.3 (master/bb2bc9a Sun Sep 15 07:17:46 EDT 2013) (64-bit)
>     GTK+ 2.24.10 theme: Ambiance
>     GTK# (2.12.0.0)
>
> Build Information
> Git revision: b163744f48206beeb7853c03d636c30a6619d988
> Build date: 2013-10-03 12:28:26+0000
>
> Operating System
> Linux
> Linux pharos 3.2.0-54-generic #82-Ubuntu SMP Tue Sep 10 20:08:42 UTC 
> 2013 x86_64 x86_64 x86_64 GNU/Linux
>
>
>
> It seems to me that the "change" in the default occurred recently (say 
> within the past two months). Is there a formatting parameter to 
> control this?
>
> Matt
>
>
>
> On Tue, Oct 15, 2013 at 9:52 AM, Mike Krüger <mkrueger at xamarin.com 
> <mailto:mkrueger at xamarin.com>> wrote:
>
>     Hi
>
>     MD should support both styles - depending on where arg1 is placed.
>
>     btw. which version are you using (the master version is much
>     better in formatting/indentation than any released version).
>
>     Regards
>     Mike
>>     I don't see how in the code formatting preferences to control the
>>     following. When one has a method with a lot of arguments and they
>>     are spread across multiple lines they used to format as:
>>
>>     MethodBeingCalled(arg1,
>>                                     arg2,
>>                                     arg3);
>>
>>     But now MD wants to do:
>>
>>     MethodBeingCalled(
>>        arg1,
>>        arg2,
>>        arg3);
>>
>>
>>     I am agnostic on which is better, but our code was mostly written
>>     in the first style and now I find MD wanting to use the second
>>     style. I can't see which formatting refers to this indentation
>>     difference, is there one?
>>
>>     Matt
>>
>>
>>     _______________________________________________
>>     Monodevelop-list mailing list
>>     Monodevelop-list at lists.ximian.com  <mailto:Monodevelop-list at lists.ximian.com>
>>     http://lists.ximian.com/mailman/listinfo/monodevelop-list
>
>
>     _______________________________________________
>     Monodevelop-list mailing list
>     Monodevelop-list at lists.ximian.com
>     <mailto:Monodevelop-list at lists.ximian.com>
>     http://lists.ximian.com/mailman/listinfo/monodevelop-list
>
>
>
>
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodevelop-list/attachments/20131015/9b0b8f43/attachment-0001.html>


More information about the Monodevelop-list mailing list