Bela VanderVoort

Results 297 comments of Bela VanderVoort

I also prefer it before using statements at the beginning of the file. The microsoft examples seem to usually place it after the usings for some reason.

> It would be nice if it kept the space between different groups like the IDE (Visual Studio) adds. Alternatively, I'd be happy if this could be turned off and...

CSharpier can only format code that can be parsed into a syntax tree and a selection of code from a file may not fit that criteria. My thought would be...

Right now when plugins integrate with CSharpier they stream the file contents to it, and read the output back. A successful format writes to stdout. If something is written to...

You are correct that the changes would go into `FormattingService.cs`. I don't recall how to support formatting a selection, it may require telling VSCode that the formatter supports it. For...

@Snailedlt unfortunately I don't know that I'll be getting to this any time soon, other issues keep taking priority and I haven't had as much time to dedicate to CSharpier...

Related, we should abide by the rectangle rule in these situations ```c# ValueProviderResult valueProviderResult = bindingContext .ValueProvider .GetValue(bindingContext.ModelName); // vs ValueProviderResult valueProviderResult = bindingContext.ValueProvider.GetValue(bindingContext.ModelName); ValueProviderResult valueProviderResult = bindingContext .ValueProvider .SomeLongProperty____________________...

Some examples ```c# builder.Entity(b => { b.HasKey( l => new { l.UserId, l.LoginProvider, l.Name } ); b.ToTable("AspNetUserTokens"); }); table.PrimaryKey( "PK_AspNetUserTokens", x => new { x.UserId, x.LoginProvider, x.Name } );

this may be more because of breaking with the `new { }` stuff that came from #755 ```c# builder.Entity(e => { e.HasIndex( t => new { t.X, t.Y, t.Z },...

``` class ClassName { void MethodName() { var searchRequest = new SearchDescriptor().WithAggregations( o => o.WithFilter( key, f => f.WithFilter(fd => filter) .WithAggregations( ad => ad.WithTerm( key, cd => cd.WithField(facetField).WithSize(MaximumCategoryFacets) )...