HaxeFoundation / HaxeFoundation/haxe
New feature request: Output macro source at invocation point when in --display mode.
Open
enhancement
feature-ide
- Dominant language
- Haxe
- Stars
- 6.9k
- Forks
- 715
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 11
Description
One of the things that folks don't understand well (particularly new Haxers) is how macros work, and what their macros are actually doing. It would be nice for IDEs to be able to pop up a window showing the (source) results of their invocation. To do so, the compiler can probably do the following:
(According to @nadako:) ... - when typing a macro call, check if we're in our special display mode and the requested position is within the call pos and return the stringified expr
Contributor guide
Assessment
This issue has not been assessed yet.