PR# 5459 Please let class autocompletion work with .NET names as well as Eiffel names

Problem Report Summary
Submitter: peter_gummer
Category: EiffelStudio
Priority: High
Date: 2005/08/18
Class: Feature Request
Severity: Serious
Number: 5459
Release: Eiffel for ASP.NET Documentation
Confidential: No
Status: Open
Responsible:
Environment: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
Synopsis: Please let class autocompletion work with .NET names as well as Eiffel names

Description
I don't find it difficult to map .NET member names to Eiffel member names. The rules are simple. Feature autocompletion helps a lot too, because once I have an instance of a class (or a TYPE reference), it narrows down the search dramatically.

Finding the Eiffel name for a .NET class is much more challenging. There is the extra step of identifying the prefix. Then there are those annoying classes in mscorlib and System.dll that have no prefix, or SYSTEM_, or NATIVE_, or DOTNET_, or SYSTEM_DLL_. That gets really confusing!

The Name Mapper utility is good, but I would like something better integrated into EiffelStudio. Here's an idea.

1. I know the .NET name of a class. I have pasted it into my code from the .NET on-line help, or typed it in manually.

2. I hit the class auto-completion shortcut.

3. Auto-completion recognises that I'm using the DotNet.Naming.Convention in my code.

4. Auto-completion highlights the Eiffel class name corresponding to the .NET name.

If autocompletion doesn't recognise what I've typed in as a .NET name then I guess it should try to interpret it as an Eiffel class name, as it would now. Anything else would be likely to lead to bugs and confusion. The onus would be on the user to type the .NET class name correctly.
To Reproduce

										
Problem Report Interactions
From:peter_gummer    Date:2005/11/11    Download