[MonoDevelop] Re: MonoDoc and jumping to declaration

Jacob Ilsø Christensen jacobilsoe at gmail.com
Tue May 24 07:24:02 EDT 2005


On 5/24/05, Lluis Sanchez <lluis at ximian.com> wrote:
> 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.
> 

Yes, I have been thinking a lot about it, and I think you are right.
If we want IProperty etc. to be independant of MonoDoc etc. there is
no other way than the above :-(

/Jacob

> Lluis.
> 
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>


More information about the Monodevelop-list mailing list