When you are writting code in a aspx page or cshtml page I noticed that these modes handle multiple language contexts.
For example, from within <script type="text/javascript"> </script/> elements you get code completion for javascript features. The same applies for css, aspx, razor or C# in a cshtml.
I would like to make this possible in my text editor for existing or custom file types.
MyFile.custom ----------------------------------------------------------------------
... Write C# here (enjoy c# specific intellisense)
... Write Html here (enjoy Html specific intellisense)
... Write Razor language here (enjoy Razor specific intellisense)
MyFile.custom ----------------------------------------------------------------------