This project is read-only.

Intellisense for Razor Syntax

Topics: Developer Forum
May 3, 2013 at 9:49 PM
Do you have any plans to support Razor syntax on ScintillaNET?
May 4, 2013 at 8:08 AM
You may could get a custom syntax for razer working (without creating a custom lexer) with html lexer, but I'm not sure about this; since razor it's quite more complex and uses dots, '@', and more.
May 5, 2013 at 10:14 PM
I assume by Razor you mean the view engine for ASP.NET, where you can use the "@" symbol for ASP code within HTML. I'm not working on the project, but because Razor is really just embedding an already existing language into HTML, I don't think there will be explicit implementation for it, at least not yet. Implementing it would be similar to implementing inline JavaScript highlighting, except that it would be even more complicated, because Razor utilizes implicit block closing, and ScintillaNET would have infer where the ASP code ends and where the HTML begins again, instead of relying on an explicit block ending symbol.