haskell / haskell/haskell-language-server
Incorrect highlighting in hover in VS Code
- Vorherrschende Sprache
- Haskell
- Sterne
- 3k
- Forks
- 455
- Ø Merge
- 2 T. 19 Std.
- Gemergte PRs (30 T.)
- 11
Beschreibung
I have noticed the following issues in hover highlighting in VS Code:
1. Type highlighted as a value.

2. Multi-line type signature incorrectly highlighted.

As one of the maintainers of the [VS Code syntax highlighting extension](https://github.com/JustusAdam/language-haskell) I'd like to figure out how to go about fixing these issues.
Could someone let me know how the hover syntax highlighting works in VS Code, i.e. which part of the code is responsible for generating the content of the hover boxes, and in what way is the syntax highlighting engine being called? Then I can try to solve the above two problems. **Edit**: this appears to be at [`Development.IDE.Spans.AtPoint.atPoint`](https://github.com/haskell/ghcide/blob/e837b2d0c5eb038edbadc992436c6d3aa6ba272a/src/Development/IDE/Spans/AtPoint.hs#L72) in `ghcide`. Going to experiment.
Let me know if you come across any other issues with hover syntax highlighting.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.