aspnetcore/test
N. Taylor Mullen 41fad8a33a Don't smart indent code inside of Razor block constructs.
- Prior to this change we weren't strict enough with where our smart indenter ran. We made the assumption that every code block could be smart indented and then Roslyn would "do the right thing". However, in nested code block scenarios we found that Roslyn and us would both indent resulting in extra newlines. These changes make the criteria for applying smart indentation a little stricter.
- Updated directive code block parsing to add a C# marker symbol in cases of an empty code block directive.
- Added unit tests to verify new smart indenter behavior.
- Updated existing tests to expect new syntax tree marker symbol for empty directive bits.
- Regenerated baselines.

#2410
2018-06-18 20:38:01 -07:00
..
Microsoft.AspNetCore.Mvc.Razor.Extensions.Test Enable using directive IntelliSense auto-completion. 2018-06-15 13:17:09 -07:00
Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X.Test
Microsoft.AspNetCore.Razor.Design.Test
Microsoft.AspNetCore.Razor.Language.Test Don't smart indent code inside of Razor block constructs. 2018-06-18 20:38:01 -07:00
Microsoft.AspNetCore.Razor.Runtime.Test
Microsoft.AspNetCore.Razor.Test
Microsoft.AspNetCore.Razor.Test.Common Add partial parsing of `@functions` directive body. 2018-06-18 17:11:40 -07:00
Microsoft.AspNetCore.Razor.Test.MvcShim
Microsoft.AspNetCore.Razor.Test.MvcShim.ClassLib
Microsoft.AspNetCore.Razor.Test.MvcShim.Version1_X
Microsoft.AspNetCore.Razor.Tools.Test
Microsoft.CodeAnalysis.Razor.Test Changes per PR comments 2018-06-15 13:53:38 -07:00
Microsoft.CodeAnalysis.Razor.Workspaces.Test
Microsoft.CodeAnalysis.Razor.Workspaces.Test.Common
Microsoft.VisualStudio.Editor.Razor.Test Don't smart indent code inside of Razor block constructs. 2018-06-18 20:38:01 -07:00
Microsoft.VisualStudio.Editor.Razor.Test.Common
Microsoft.VisualStudio.LanguageServices.Razor.Test
Microsoft.VisualStudio.Mac.LanguageServices.Razor.Test
RazorPageGenerator.Test
testapps
Directory.Build.props