HaxeFoundation / HaxeFoundation/haxe
[display] use isIterable and isKeyValueIterable in toplevel sorting
Open
enhancement
feature-ide
- Dominant language
- Haxe
- Stars
- 6.9k
- Forks
- 715
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 11
Description
In order to support `for`-loop generation for arbitrary types with `iterator()` / `keyValueIterator()` methods instead of only a few hardcoded types from the std lib, the language server needs these flags in `FieldCompletionSubject`.
Haxe can also use this internally for expected type sorting on `for (foo in ...)` and `for (key => value in ...)`.
Contributor guide
Assessment
This issue has not been assessed yet.