#67367 introduced displayAllOverride parameter but IFSharpInlineHintsService was not updated. The parameter is ignored in FSharpInlineHintsService implementation:
|
public async Task<ImmutableArray<InlineHint>> GetInlineHintsAsync( |
|
Document document, TextSpan textSpan, InlineHintsOptions options, bool displayAllOverride, CancellationToken cancellationToken) |
|
{ |
|
if (_service == null) |
|
return []; |
|
|
|
var hints = await _service.GetInlineHintsAsync(document, textSpan, cancellationToken).ConfigureAwait(false); |
|
return hints.SelectAsArray(h => new InlineHint(h.Span, h.DisplayParts, (d, c) => h.GetDescriptionAsync(d, c))); |
|
} |
|
} |
In effect F# cannot participate in the Alt-F1 momentary hints toggle and this option does not work:
I propose to just update the IVT interface IFSharpInlineHintsService to pass displayAllOverride to the F# side correctly.
#67367 introduced
displayAllOverrideparameter butIFSharpInlineHintsServicewas not updated. The parameter is ignored inFSharpInlineHintsServiceimplementation:roslyn/src/VisualStudio/ExternalAccess/FSharp/Internal/InlineHints/FSharpInlineHintsService.cs
Lines 30 to 39 in 0a6db8d
In effect F# cannot participate in the Alt-F1 momentary hints toggle and this option does not work:
I propose to just update the IVT interface
IFSharpInlineHintsServiceto passdisplayAllOverrideto the F# side correctly.