Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Auto-Tab Woes

$
0
0

Hi,

In Xamarin Studio it has a very strong will with respect to where it wants to indent my source code. In certain situations such as when I have a lambda expression as a method parameter I like to line up my curly braces with the start of the method line but XS wants desperately to indent it two tabs worth.

If I back-tab it to line up my curly braces with the beginning of the line above all other lines that I change within the curly braces indent to where XS wants them so I end up constantly having to back-tab the lines each time I make a change.

Can I get it so that XS do what I want which is to only indent one tabs worth away from my curly brace or at least act like visual studio which seems to be smart how it does its indentation relative to the other code around it.

So, instead of getting

method(() =>
{
        somecode;
});

or

method(() =>
   {
        somecode;
   });

I get

method(() =>
{
    somecode;
});

Cheers, Clint


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>