[MonoDevelop] Re: MonoDoc and jumping to declaration
Lluis Sanchez
lluis at ximian.com
Mon May 23 10:52:00 EDT 2005
On dl, 2005-05-23 at 12:14 +0200, Jacob Ilsø Christensen wrote:
> Hi.
>
> What Monodoc service it that?
MonoDevelop.Services.MonodocService (in the MonoDevelop.Base assembly).
> From what I have seen in the code, a
> string is just returned now which is hardcoded to "T:thetypename".
> What I would like to do is to move this functionality to the type
> itself, since it is the IProperty that knows that a P: should be
> prepended and likewise for the other members.
No, this is not something that IProperty knows, because "P:" and the way
how help URLs are built is specific to the MonoDoc help system.
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.
The code in SourceEditorView that displays the HelpViewer window should
be moved to MonodocService.
> Is there some
> functionality I have not found?
>
> /Jacob
> >
More information about the Monodevelop-list
mailing list