VS Code not picking up HTML tags after Razor code
See original GitHub issueIssue Type: Bug
I was told by the VS Code GitHub that this is an issue with this extension.
Take a look at the screenshot. You can see <li>
tags with a razor action link and then the closing <li>
tags after that are not being picked up afterwards.
I’m assuming this can easily be reproduced by creating a razor file and then creating an unordered list as shown in the screenshot. This is happening with @Html.ActionLink()
as well as @RenderSection
and looks like it happens anytime razor code is used at all.
Issue Analytics
- State:
- Created 5 years ago
- Comments:14 (5 by maintainers)
Top Results From Across the Web
VSCode not auto completing HTML - Stack Overflow
VSCode not auto completing HTML · 1.you can use Auto Close Tag ,it can fullfill your requirement. – jialin wang · 2. 2.enter...
Read more >Razor support in Visual Studio Code now in Preview - .NET Blog
Get started · Open Visual Studio Code · Select Terminal > New Terminal · In the new terminal run: dotnet new webapp -o...
Read more >HTML Snippets, Drag & Drop and CSS IntelliSense isn't ...
Snippets for html tags do not work, pressing tab does nothing. · Unable to drag and drop css, javascript or image files to...
Read more >VS Code Autocomplete html tags not working Solution
In this video I will show you how to enable emmet extentions for autocomplete of html tags.This video is for vs code autocomplete...
Read more >ASP.NET Razor C# Syntax - W3Schools
Razor supports both C# (C sharp) and VB (Visual Basic). ... Seen from the browser, the HTML generated by server code is no...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Totally understand the frustration. if you wanted you could change the Razor code to do all of the double quoted work inside of an
@{...}
, save to a variable and then render the variable. Otherwise, your best bet would be to hop over to Visual Studio until we’ve had a chance to address the grammar issues.This is actually very sad news 😦 But thanks anyway 😃