dotnet / dotnet/fsharp

Discriminated Unions should come first in pattern matching Intellisense

Open
#6,996 0 comments 8 reactions 0 assignees View on GitHub
Area-LangService-AutoComplete Feature Request
Dominant language
F#
Stars
4.3k
Forks
876
Avg merge
4d 11h
Merged PRs (30d)
131

Description

**Is your feature request related to a problem? Please describe.**
Intellisense in pattern matching isn't very useful. For instance:
![image](https://user-images.githubusercontent.com/19922066/59492062-b26c1600-8eba-11e9-8f00-cae8ff75da16.png)

**Describe the solution you'd like**
I'd expect `DU1` to `DU5` to be at the top of the list with `DU1` highlighted.

**Describe alternatives you've considered**
Keeping the status quo. Intellisense looks bad in this case.

**Additional context**
Nope

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.