[MonoDevelop] Re: MonoDoc and jumping to declaration

Lluis Sanchez lluis at ximian.com
Tue May 24 07:21:35 EDT 2005


Hi,

> We should have a new method in MonodocService (for example, ShowHelp)
> > which takes as parameter a ISourceCodeElement and displays the help page
> > for that element. That method would check the real type of the element
> > and would build the correct URL for it.
> 
> Yes. I can see the issue now. The only thing I have against it is that
> this would result in code like:
> 
> if (sourcCodeElement is IProperty) {
>    return "P:" + sourceCodeElement.FullyQualifiedName;
> }
> 
> etc for each interface. What do you think about this?

I think this is the right thing to do in this case.

Lluis.



More information about the Monodevelop-list mailing list