aspnetcore/test/Microsoft.VisualStudio.Edit...
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
..
Documents Added a taghelpers and imports overload to Process and ProcessDesignTime 2018-05-22 11:40:21 -07:00
Infrastructure Track the open/closed state of documents 2018-05-11 08:18:08 -07:00
BraceSmartIndenterIntegrationTest.cs Make brace indenter smarter about making edits to non-valid content kinds. 2018-06-11 10:34:26 -07:00
BraceSmartIndenterTest.cs Don't smart indent code inside of Razor block constructs. 2018-06-18 20:38:01 -07:00
BraceSmartIndenterTestBase.cs
DefaultCodeDocumentProviderTest.cs
DefaultEditorSettingsManagerTest.cs Catch 15.7 up with dev 2018-02-19 10:46:16 -08:00
DefaultImportDocumentManagerIntegrationTest.cs Reorganize file tracker 2018-05-08 16:27:51 -07:00
DefaultImportDocumentManagerTest.cs Reorganize file tracker 2018-05-08 16:27:51 -07:00
DefaultProjectPathProviderTest.cs Add `ProjectPathProvider` abstract for document tracker creation. 2018-05-17 15:28:20 -07:00
DefaultProjectSnapshotProjectEngineFactoryTest.cs Track the open/closed state of documents 2018-05-11 08:18:08 -07:00
DefaultRazorDocumentManagerTest.cs Remove ProjectService requirements for Razor text buffer initialization. 2018-05-03 11:13:36 -07:00
DefaultRazorEditorFactoryServiceTest.cs
DefaultRazorIndentationFactsServiceTest.cs Obsoleted IRazorEngineBuilder APIs 2018-04-13 12:35:53 -07:00
DefaultRazorSyntaxFactsServiceTest.cs Obsoleted IRazorEngineBuilder APIs 2018-04-13 12:35:53 -07:00
DefaultTagHelperCompletionServiceTest.cs [Fixes #2144] Incorrect target element of nested tag helper 2018-03-20 15:25:07 -07:00
DefaultTagHelperFactsServiceTest.cs Catch 15.7 up with dev 2018-02-19 10:46:16 -08:00
DefaultTextBufferCodeDocumentProviderTest.cs
DefaultTextBufferProviderTest.cs Catch 15.7 up with dev 2018-02-19 10:46:16 -08:00
DefaultVisualStudioDocumentTrackerTest.cs Reorganize file tracker 2018-05-08 16:27:51 -07:00
DefaultVisualStudioRazorParserIntegrationTest.cs Add partial parsing for parenthesis 2018-06-15 11:22:03 -07:00
DefaultVisualStudioRazorParserTest.cs Made the Visual Studio parser smarter about overlapping reparse requests. 2018-05-14 11:54:56 -07:00
DefaultWorkspaceEditorSettingsTest.cs
Microsoft.VisualStudio.Editor.Razor.Test.csproj Add documents, engine, tag helpers to snapshot 2018-04-25 19:05:54 -04:00
RazorDirectiveCompletionProviderTest.cs Upgrade to VS 15.8 Preview 2 version of Roslyn. 2018-05-16 15:50:54 -07:00
RazorSyntaxFactsServiceExtensionsTest.cs Obsoleted IRazorEngineBuilder APIs 2018-04-13 12:35:53 -07:00
RazorSyntaxTreePartialParserTest.cs Changed AddDefaultImports to take strings instead of project items. 2018-02-21 09:42:40 -08:00
RazorTextViewConnectionListenerTest.cs
TextContentChangedEventArgsExtensionsTest.cs
xunit.runner.json