-
Notifications
You must be signed in to change notification settings - Fork 831
Description
I tested this with the latest VS2017 Preview 4.
The XML comments or the shorthand comments that generate quick-info information are invaluable, but since VS2017, through to Preview 4, they sometimes appear, and sometimes don't.
It seems to happen only when the declaration is in a different project in the same solution (both are F# projects). The tooltip shows correctly in the home project (the one it is declared in) but not in the host project (the using project).
Declaration:
In a using project:
Repro steps
I have tried to repro this with smaller projects linking each other, but each time I do that, it just works. So no repro yet.
Expected behavior
Quick-info tooltips should show the XML comment.
Actual behavior
Often tooltips do not show the XML comment.
Note that in this particular project, there seems to be no line in what gets rendered into the tooltip and what not. I checked:
- Whether the comment actually contains XML
- Whether the it's a type, a module, a let-binding, a value, a discriminated union type, a discriminated union field
- Clean - rebuild
- Restart VS
None of these seemed to matter. Sometimes the comment is shown, sometimes it is not. I thought it might have to do with background processing (sometimes you see the "..." in the intellisense dropdowns, but once these are gone, the actual tooltip is still without XML comment rendering.
Known workarounds
Falling back to VS2015 helps, it has no problems with the quick-info tooltips.
Other than that, no workarounds found any yet. I'd be very eager to hear whether I can clean some specific cache files or anything to fix this.
Related information
- Win7, Visual Studio 2017 Preview 4
- Project uses FSharp.Core 4.4.0.0.
- .NET 4.6 (CLR version: v4.0.30319)
Maybe not a big bug, but rather annoying as in this (and other) big projects I rely heavily on the these quick-infos.
As an aside and a compliment: using F12 hardly ever worked in VS2015, not even within the same project, but it always succeeds in VS2017, so: chapeau! and a big thank you! for the developers, it mitigates this issue a little as I can more easily go to the definition and check the XML comments there.

