cursorless icon indicating copy to clipboard operation
cursorless copied to clipboard

Support ASP.NET Razor

Open Mark-Phillipson opened this issue 1 year ago • 1 comments

File Types: *.cshtml *.razor

Visual Studio Code Filetype: ASP.NET Razor (aspnetcorerazor)

Could these be regarded as HTML ?

Mark-Phillipson avatar Jan 18 '24 11:01 Mark-Phillipson

As suggested in description, the easy one-line hack to try is to just tell https://github.com/cursorless-dev/vscode-parse-tree/ to treat the aspnetcorerazor language id as if it were html. The one risk here is that the html parser can be a bit temperamental. For example, we've seen weird behaviour (as in hanging / crashing) back when we tried to use it for xml files if there were a tag whose name was more than 10 chars

pokey avatar Jan 18 '24 15:01 pokey