From 26c5807c98f8d898b34033a71a6b9b6b59ce7369 Mon Sep 17 00:00:00 2001 From: Tanay Parikh Date: Thu, 12 Mar 2020 22:45:50 -0700 Subject: [PATCH] Tag IntelliSense Support (dotnet/aspnetcore-tooling#1675) * Tag IntelliSense Implementation * Text node language context support * Added Tests\n\nCommit migrated from https://github.com/dotnet/aspnetcore-tooling/commit/a0f99cd14f2ded43a0087be52e29e67f5aaaba71 --- .../src/Legacy/CSharpCodeParser.cs | 2 +- src/Razor/Microsoft.CodeAnalysis.Razor/src/Resources.resx | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Razor/Microsoft.AspNetCore.Razor.Language/src/Legacy/CSharpCodeParser.cs b/src/Razor/Microsoft.AspNetCore.Razor.Language/src/Legacy/CSharpCodeParser.cs index ac0b03e3c2..9832833a33 100644 --- a/src/Razor/Microsoft.AspNetCore.Razor.Language/src/Legacy/CSharpCodeParser.cs +++ b/src/Razor/Microsoft.AspNetCore.Razor.Language/src/Legacy/CSharpCodeParser.cs @@ -689,7 +689,7 @@ namespace Microsoft.AspNetCore.Razor.Language.Legacy ParseCodeBlock(builder, block); // ParseCodeBlock is responsible for parsing the insides of a code block (non-inclusive of braces). - // Therefore, there's one of two cases after parsing: + // Therefore, there's one of two cases after parsing: // 1. We've hit the End of File (incomplete parse block). // 2. It's a complete parse block and we're at a right brace. diff --git a/src/Razor/Microsoft.CodeAnalysis.Razor/src/Resources.resx b/src/Razor/Microsoft.CodeAnalysis.Razor/src/Resources.resx index fd92b354d9..7527a23812 100644 --- a/src/Razor/Microsoft.CodeAnalysis.Razor/src/Resources.resx +++ b/src/Razor/Microsoft.CodeAnalysis.Razor/src/Resources.resx @@ -141,4 +141,7 @@ Required attribute '{0}' has a partial CSS operator. '{1}' must be followed by an equals. + + Create a inline HTML element without tags. + \ No newline at end of file