HaxeFoundation / HaxeFoundation/haxe

[ide] hover over struct field name in type parameter not working

Open
#9,561 1 comment 0 reactions 1 assignee Claimed by @Simn View on GitHub
bug feature-ide
Dominant language
Haxe
Stars
6.9k
Forks
715
Avg merge
2d 2h
Merged PRs (30d)
11

Description

```haxe
typedef Response = {}

typedef ErrorResponse = Response<{
var error:String;
}>;
```

When hovering over the field name, you just get the entire range instead of a hover for the field:

![image](https://user-images.githubusercontent.com/2620907/84377730-61812180-abe3-11ea-8731-73d84319f103.png)

Hovering over the `:String` type hint works fine. Isolated from vscode-debugadapter-extern, where a lot of types are defined like this.

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.