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:
letadd n1 n2 = n1 + n2
letsum= add 12// The new tooltip correctly appears
This does not work:
letlst=[1;2;3]letmapped= lst |> List.map (fun n ->letsum= add 12// 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
I have found a few scenarios where the new functions parameter tooltip does not work using VS 16.9 preview 3:
Repro steps
Computation Expressions
The new preview IntelliSense context tooltip does not appear within computation expressions.
I've verified this against the following CEs:
Lambda Expressions
It also does not appear when placed within the body of a lambda expression.
This works:
This does not work:
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.