I have found a few scenarios where the new functions parameter tooltip does not work using VS 16.9 preview 3:
- Computation Expressions
- Lambda Expressions
Repro steps
Computation Expressions
The new preview IntelliSense context tooltip does not appear within computation expressions.
I've verified this against the following CEs:
- async
- asyncResult
- Fable.GroupingPanel
Lambda Expressions
It also does not appear when placed within the body of a lambda expression.
This works:
let add n1 n2 = n1 + n2
let sum = add 1 2 // The new tooltip correctly appears
This does not work:
let lst = [1; 2; 3]
let mapped =
lst |> List.map (fun n ->
let sum = add 1 2 // New tooltip does not appear; instead, shows old tooltip
n.ToString()
)
Expected behavior
Should always show the new function parameter preview that shows all parameters.
Actual behavior
Sometimes reverts to the old preview that only shows the current parameter.
- Windows 10
- Tested on .NET Core 3.1 and .NET Standard projects
- Visual Studio Professional 16.9 Preview 3