Skip to content

'IntelliSense on Functions' tooltip does not appear when in parentheses related to other construct #10941

@JordanMarr

Description

@JordanMarr

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions