[MonoDevelop] Formatting method calls

Mike Krüger mkrueger at xamarin.com
Tue Oct 15 14:25:42 UTC 2013


Hi

Only for this - on IDE level it'll work for new solutions.

Regards
Mike
> Mike,
>
> My project options are inherited from my solution options, and I can't 
> set the solution options because I get an NGit exception (filing a 
> bug). Assuming I could set the solution options, will that work for 
> this solution or just new solutions?
>
> Matt
>
>
> On Tue, Oct 15, 2013 at 10:19 AM, Mike Krüger <mkrueger at xamarin.com 
> <mailto:mkrueger at xamarin.com>> wrote:
>
>     Hi
>
>     You should set the same in method call & declaration otherwise it
>     only works when formatting code - not while typing.
>     And set it in the project options - otherwise it only works for
>     new projects.
>
>     Regards
>     Mike
>>     Mike,
>>
>>     Seems like that Wrapping parameter, "Align to first parameter" is
>>     being ignored or is not working.
>>
>>     Matt
>>
>>
>>     On Tue, Oct 15, 2013 at 9:59 AM, Mike Krüger
>>     <mkrueger at xamarin.com <mailto:mkrueger at xamarin.com>> wrote:
>>
>>         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  <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  <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/4ba65655/attachment-0001.html>


More information about the Monodevelop-list mailing list