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 Use checksum for classname if filepath is null 2018-06-11 08:25:57 -07:00
Microsoft.AspNetCore.Razor.Design.Test Corrected a typo 2018-06-06 01:59:42 -07:00
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 Upgrade to netcoreapp22 2018-05-08 15:22:54 -07:00
Microsoft.AspNetCore.Razor.Test.MvcShim.ClassLib
Microsoft.AspNetCore.Razor.Test.MvcShim.Version1_X Upgrade to netcoreapp22 2018-05-08 15:22:54 -07:00
Microsoft.AspNetCore.Razor.Tools.Test Upgrade to netcoreapp22 2018-05-08 15:22:54 -07:00
Microsoft.CodeAnalysis.Razor.Test Changes per PR comments 2018-06-15 13:53:38 -07:00
Microsoft.CodeAnalysis.Razor.Workspaces.Test Added a taghelpers and imports overload to Process and ProcessDesignTime 2018-05-22 11:40:21 -07:00
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 Track the open/closed state of documents 2018-05-11 08:18:08 -07:00
Microsoft.VisualStudio.LanguageServices.Razor.Test Rename a file 2018-06-06 09:30:24 -07:00
Microsoft.VisualStudio.Mac.LanguageServices.Razor.Test Track the open/closed state of documents 2018-05-11 08:18:08 -07:00
RazorPageGenerator.Test Upgrade to netcoreapp22 2018-05-08 15:22:54 -07:00
testapps Pass versions using MSBuild template instead of importing dependencies.props 2018-06-05 11:33:46 -07:00
Directory.Build.props Upgrade to netcoreapp22 2018-05-08 15:22:54 -07:00