Open charlesroddie opened 9 months ago
Well I wouldn't classify this as a bug but rather as a missing feature :)
AFAIR @kerams implemented IntelliSense for DUs somewhen last year. Maybe it's not hard to implement this functionality on top of that.
There must be something which removed this as we had these DU/enum completions for a very long time, perhaps since F# 1.0. So DU completions were definitely not implemented last year unless it was a reimplementation.
I know there was work done to avoid showing irrelevant completions recently so perhaps this was a regression resulting from that.
.
:Expected behaviour: a tooltip pops up allowing the user to select from Aaa, Bbb or Ccc.
A
Expected behaviour: a tooltip popups up allowing the user to select
Aaa
.Actual behaviour: no completion list shows at either point.
Discriminated unions do not have this problem.
Enums defined in dotnet code and consumed in F# seem to have problem 1 but not problem 2. But I only tested one example (
SqlDataType
).