ionide / ionide/FsAutoComplete

type alias tooltips don't appear, not shown correctly in the info panel

Open
#914 8 comments 0 reactions 0 assignees View on GitHub
enhancement needs-upstream-work
Dominant language
F#
Stars
486
Forks
169
Avg merge
2d 8h
Merged PRs (30d)
5

Description

```
type StringPair = string * string

let pairs : StringPair list = [ "", "" ]
```
StringPair does appear during mouseover on `pairs` and the line lens shows it at the end. Mouseover on `StringPair` does nothing (visually) and prints this in the log:

> [10:13:45.200 INF] [LSP] TextDocumentHover Request: {"TextDocument": {"Uri": "file:.../test.fs", "$type": "TextDocumentIdentifier"}, "Position": {"Line": 3, "Character": 19, "$type": "Position"}, "$type": "TextDocumentPositionParams"}
> [10:13:45.201 INF] [Checker] TryGetRecentCheckResultsForFile - "...\test.fs"
> [Error - 10:13:45 AM] Request textDocument/hover failed.
> Message: No tooltip information
> Code: -32603

The info panel doesn't seem to recognize it.
![image](https://user-images.githubusercontent.com/20140997/162472186-ae6f1036-605d-4c5c-a223-547e296d2ac5.png)

In the module view, it has a link but nothing happens when clicked except:
> [11:18:47.224 INF] [LSP] FSharpDocumentationSymbol Request: {"XmlSig": "T:Test.StringPair", "Assembly": "test", "$type": "DocumentationForSymbolReuqest"}

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.