Skip to content

Use cref etc. information from XML documentation to generate links in tooltips and Info Panel #1543

Open
@seanamos

Description

@seanamos

Describe the bug**

If something is documented with XML docs and they reference a generic type, the info tooltip displays these generic types incorrectly. It also breaks text following them.

It seems the backtick character ` is interpreted as markdown.

/// <summary>
/// Testing <see cref="T:Async`1" /> and some more text before <see cref="T:Async`1" />.
/// </summary>
let x = 1

Screenshots

Screenshot from 2021-06-23 22-27-11

There is sort of a workaround for the display issue that is compatible with FSharp.Formatting (haven't tested in VS/Rider).

/// <summary>
/// Testing ``<see cref="T:Async`1" />`` and some more text before ``<see cref="T:Async`1" />``.
/// </summary>
let x = 1

However, after doing this to a few XML docs, VSCode starts to heavily lag and eventually completely hangs. I've even seen VSCode bomb after doing this to one XML doc.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementAccepted suggestions that makes existing features betterlanguage servicesProblems related to language services - FSAC or FCSup for grabsGood first issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions