Bug 325224 (MONO82557)

Summary: Better placing of 'Implement Interface' command
Product: [Mono] MonoDevelop Reporter: Alan McGovern <amcgovern>
Component: texteditorAssignee: Mike Krueger <mkrueger>
Status: RESOLVED FIXED QA Contact: MD Bugs <monodevelop-bugs>
Severity: Enhancement    
Priority: P3 - Medium CC: alan.mcgovern
Version: 0.10   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Thomas Wiest 2007-09-15 20:50:02 UTC


---- Reported by alan.mcgovern@gmail.com 2007-08-23 16:38:42 MST ----

public class Marker : IEnumerable<int>
{

}

In the above code, it would make more sense to right click on
'IEnumerable<int>' and select whether to implement explicitly or implicitly
from there rather than clicking on 'Marker' and then navigating through
several layers of menu to implement the interface.


Unknown operating system unknown. Setting to default OS "Other".

Comment 1 Lluis Sanchez 2007-10-05 08:12:50 UTC
This is not trivial to implement because the parser service does not provide information about the context surrounding a language item. That is, it can give the type of a given identifier, but it can't tell if this identifier is in a base class declaration, a variable declaration or a type cast, and this information would be needed to implement what you propose. Maybe someday we'll improve the type resolver. Setting to enhancement meanwhile.
Comment 2 Lluis Sanchez 2008-04-02 08:39:15 UTC
*** Bug 376141 has been marked as a duplicate of this bug. ***
Comment 3 Mike Krueger 2009-08-23 09:36:21 UTC
*** Bug 369984 has been marked as a duplicate of this bug. ***
Comment 4 Mike Krueger 2009-08-23 09:40:28 UTC
This issue is important to fix. My wife had the same problem using this function and I remember that I did ran into it when I was new to monodevelop too.

Let's see, if something can be done to solve it.
Comment 5 Mike Krueger 2009-08-24 09:54:12 UTC
Implemented.

I've left the 'old way' in the context menu of the types. I don't think that it does hurt there.