fsharp icon indicating copy to clipboard operation
fsharp copied to clipboard

Custom operations missing in completion list

Open SchlenkR opened this issue 4 years ago • 1 comments

Given is a builder that defined a "body" custom operation. I expect that this "body" custom operation is shown in the completion list when being inside of a computation.

In the completion list shown below, the custom operation is not shown:

image

This is also not working:

image

In fact, the operation is present and recognized when it is used:

image

Using a pre-defined builder instance, the custom operation "body" is shown in the completion list (as expected):

image


Might be related to:

#4832


Microsoft Visual Studio Professional 2019 Version 16.9.5

SchlenkR avatar May 18 '21 09:05 SchlenkR

Yes, this is likely related to https://github.com/dotnet/fsharp/issues/4832 but I don't think it's the same issue. I imagine we're just not pulling in the names during name resolution when we should, at least not in all cases. Clearly it does work when consuming a builder you don't own in source.

cartermp avatar Jun 18 '21 15:06 cartermp