HaxeFoundation / HaxeFoundation/haxe

[ide] module-level fields show up as types in toplevel completion

Open
#9,459 6 comments 0 reactions 0 assignees View on GitHub
bug feature-ide
Dominant language
Haxe
Stars
6.9k
Forks
715
Avg merge
2d 2h
Merged PRs (30d)
11

Description

```haxe
package func;

function foo(bar:Int) {}
```

![Code_Mcpg84ZCsn](https://user-images.githubusercontent.com/2620907/82551787-28fca380-9b61-11ea-9692-19902a15cfb1.png)

These should probably be `DisplayItemKind.ClassField`, with the new `ClassFieldOriginKind.Module` mentioned in #9436.

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.