XMLDoc new tag: docsPage #9024
Replies: 2 comments 1 reply
-
That can be done with |
Beta Was this translation helpful? Give feedback.
-
For cases when the online documentation may provide more information than the displayed tooltip in VS (e.g. Examples section, images in the documentation, or just many chapters that would be too much on a tooltip) I've just started to use the following workaround recently:
/// <summary>
/// My visible summary.
/// <div style="display: none;"><br/>See the <a href="https://myhelp.com/myclass.html">online help</a> for examples.</div>
/// </summary>
/// <remarks>Visible both in the tooltip and in the compiled docs</remarks>
/// <example>Visible in the compiled docs only</example>
Btw. I would also love to make F1 work for my libraries somehow (without any VS/registry hack). But up to now this is the best solution I could come up with. |
Beta Was this translation helpful? Give feedback.
-
When using XMLDocs to document a class or a method, it's currently possible to add one or more tags containing links, like
see
orseealso
. Both elements produce a clickable link (if used with thehref
attribute), but that link can be used to point to any online page, with no specific meaning.It would be useful to add a specific tag to link to the documentation page.
This way, tools like Visual Studio can open the right page when clicking F1: currently, this functionality is available only for classes and methods provided by Microsoft.
However, it would be nice to give VS the possibility to open the docs page using the same shortcut, regardless of where the documentation is hosted.
It can be useful both for open source libraries (to open public docs) and for internal libraries (to open the internal documentation page).
For example, something like
Beta Was this translation helpful? Give feedback.
All reactions