dotnet / dotnet/fsharp

Union Cases on Top of Completion List

Open
#15,241 3 comments 2 reactions 0 assignees View on GitHub
Area-LangService-AutoComplete Feature Request
Dominant language
F#
Stars
4.3k
Forks
876
Avg merge
4d 22h
Merged PRs (30d)
144

Description

Given

```fsharp
type DU = A | B

let f (x: DU) = ()
```

results in a completion list that doesn't priorize the labels of type `DU`. I suggest to the labels on top of the list.

![grafik](https://github.com/dotnet/fsharp/assets/472222/949c8071-6828-48ad-a003-ca5970c28049)

**Links**

https://twitter.com/vzarytovskii/status/1660202383605891074

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.