Bugzilla – Bug 495454
asmx file open like simple text file, not source code
Last modified: 2009-10-20 12:23:59 UTC
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.8) Gecko/2009032600 SUSE/3.0.8-1.1.1 Firefox/3.0.8 In created empty ASP.NET project i'm add Web Service, and in editor asmx file view like simple text file - no code coloring, no code completion etc. MonoDevelop 2.0 Mono 2.4 Reproducible: Always Steps to Reproduce: 1. simple open any file with asmx extension
The code language is is dependent on the asmx's "language" tag, and the web.config files. Even though the ASP.NET parser can resolve this info, it has no way to tell the text editor's highlighting engine what the embedded language is. In addition, the C# completion engine cannot be used for code embedded in other document. This is basically a simpler version of the "no C# completion and highlighting in ASP.NET pages bug. Note that you can work around this by using CodeBehind.
btw. syntax highlighting should work. either way this bug is a duplicate. *** This bug has been marked as a duplicate of bug 487924 ***