aspnetcore/test/Microsoft.AspNetCore.Razor..../Legacy
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
..
BaselineWriter.cs
BlockTest.cs
CSharpAutoCompleteTest.cs Don't smart indent code inside of Razor block constructs. 2018-06-18 20:38:01 -07:00
CSharpBlockTest.cs
CSharpDirectivesTest.cs Don't smart indent code inside of Razor block constructs. 2018-06-18 20:38:01 -07:00
CSharpErrorTest.cs Add partial parsing of `@functions` directive body. 2018-06-18 17:11:40 -07:00
CSharpExplicitExpressionTest.cs
CSharpImplicitExpressionTest.cs
CSharpLanguageCharacteristicsTest.cs
CSharpNestedStatementsTest.cs
CSharpRazorCommentsTest.cs
CSharpReservedWordsTest.cs
CSharpSectionTest.cs Revert "Revert "Make Razor HTML Comments aware (#2178)"" 2018-03-20 15:23:53 -07:00
CSharpSpecialBlockTest.cs Add partial parsing of `@functions` directive body. 2018-06-18 17:11:40 -07:00
CSharpStatementTest.cs
CSharpTemplateTest.cs
CSharpToMarkupSwitchTest.cs
CSharpTokenizerCommentTest.cs
CSharpTokenizerIdentifierTest.cs
CSharpTokenizerLiteralTest.cs
CSharpTokenizerOperatorsTest.cs
CSharpTokenizerTest.cs
CSharpTokenizerTestBase.cs
CSharpVerbatimBlockTest.cs
CSharpWhitespaceHandlingTest.cs
CodeBlockEditHandlerTest.cs Add partial parsing of `@functions` directive body. 2018-06-18 17:11:40 -07:00
CodeParserTestBase.cs Add experimental flag to un-special-case data- 2018-04-05 15:27:04 -07:00
CsHtmlCodeParserTestBase.cs
CsHtmlMarkupParserTestBase.cs
DirectiveCSharpTokenizerTest.cs
DirectiveHtmlTokenizerTest.cs
DisposableActionTest.cs
ExceptionHelpers.cs
HtmlAttributeTest.cs Add experimental flag to un-special-case data- 2018-04-05 15:27:04 -07:00
HtmlBlockTest.cs Revert "Revert "Make Razor HTML Comments aware (#2178)"" 2018-03-20 15:23:53 -07:00
HtmlDocumentTest.cs Revert "Revert "Make Razor HTML Comments aware (#2178)"" 2018-03-20 15:23:53 -07:00
HtmlErrorTest.cs
HtmlMarkupParserTests.cs Revert "Revert "Make Razor HTML Comments aware (#2178)"" 2018-03-20 15:23:53 -07:00
HtmlParserTestUtils.cs
HtmlTagsTest.cs Revert "Revert "Make Razor HTML Comments aware (#2178)"" 2018-03-20 15:23:53 -07:00
HtmlToCodeSwitchTest.cs Revert "Revert "Make Razor HTML Comments aware (#2178)"" 2018-03-20 15:23:53 -07:00
HtmlTokenizerTest.cs
HtmlTokenizerTestBase.cs
ImplicitExpressionEditHandlerTest.cs Add partial parsing for parenthesis 2018-06-15 11:22:03 -07:00
LineTrackingStringBufferTest.cs
MarkupParserTestBase.cs Add experimental flag to un-special-case data- 2018-04-05 15:27:04 -07:00
MiscUtils.cs
RazorParserTest.cs
SourceLocationTrackerTest.cs
SpanTest.cs
TagHelperBlockRewriterTest.cs Merge branch 'rel/vs15.7' into dev 2018-04-05 16:28:17 -07:00
TagHelperBlockTest.cs
TagHelperParseTreeRewriterTest.cs Revert "Revert "Make Razor HTML Comments aware (#2178)"" 2018-03-20 15:23:53 -07:00
TagHelperRewritingTestBase.cs
TextReaderExtensionsTest.cs
TokenizerLookaheadTest.cs Revert "Revert "Make Razor HTML Comments aware (#2178)"" 2018-03-20 15:23:53 -07:00
TokenizerTestBase.cs
WhiteSpaceRewriterTest.cs