dotnet / dotnet/fsharp

tooltip for enums show `[<Struct>] type` instead of `enum`

Open
#16,923 1 comment 0 reactions 0 assignees View on GitHub
Area-LangService-ToolTips Feature Improvement help wanted
Dominant language
F#
Stars
4.3k
Forks
876
Avg merge
4d 22h
Merged PRs (30d)
144

Description

I noticed minor issue with tooltips, that affects both VS & Rider:

```fsharp
type Foo =
| F = 1
| G = 2
```

Visual Studio (Version 17.10.0 Preview 1.0):
image
Rider (2024.1 EAP 8):
image
VS Code+Ionide (v7.18.2):
image

I believe it should show the same as in Ionide, or at least, not show struct.

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.