Bug 495454 - asmx file open like simple text file, not source code
Summary: asmx file open like simple text file, not source code
Status: RESOLVED DUPLICATE of bug 487924
Alias: None
Product: MonoDevelop
Classification: Mono
Component: texteditor (show other bugs)
Version: 2.0
Hardware: x86-64 openSUSE 11.1
: P5 - None : Normal
Target Milestone: 2.4
Assignee: Mike Krueger
QA Contact: MD Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-16 09:44 UTC by Maksim Pozdeyev
Modified: 2009-10-20 12:23 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maksim Pozdeyev 2009-04-16 09:44:27 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
Comment 1 Michael Hutchinson 2009-05-22 21:40:57 UTC
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.
Comment 2 Mike Krueger 2009-10-20 12:23:59 UTC
btw. syntax highlighting should work.
either way this bug is a duplicate.

*** This bug has been marked as a duplicate of bug 487924 ***