dotnet / dotnet/fsharp

Add tooltips for the hints

Open
#14,268 4 comments 2 reactions 1 assignee Claimed by @psfinaki View on GitHub
Area-LangService-Hints good first issue
Dominant language
F#
Stars
4.3k
Forks
876
Avg merge
4d 11h
Merged PRs (30d)
131

Description

Can hints themselves have tooltips? This here looks like an empty one:

![image](https://user-images.githubusercontent.com/5063478/200386527-a6c90aa9-8a51-488c-88ce-ccf0aa1f6b3d.png)

It would be nice to reuse type annotation tooltips with all the good stuff like clickable references:

![image](https://user-images.githubusercontent.com/5063478/200386948-1440be24-ccb7-4534-a39e-2472fb0e3ffc.png)

Looks like a function needs to be passed in
https://github.com/dotnet/roslyn/blob/315c2e149ba7889b0937d872274c33fcbfe9af5f/src/Tools/ExternalAccess/FSharp/InlineHints/FSharpInlineHint.cs

_Originally posted by @kerams in https://github.com/dotnet/fsharp/issues/14157#issuecomment-1306019663_

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.