- 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 |
||
|---|---|---|
| .. | ||
| BasicIntegrationTest | ||
| CodeGenerationIntegrationTest | ||
| ExtensibleDirectiveTest | ||
| HtmlAttributeIntegrationTest | ||
| RazorTemplateEngineIntegrationTest | ||
| TagHelpersIntegrationTest | ||