Skip to content

Hover Hints

Jens Fischer edited this page Jul 22, 2018 · 8 revisions

Hover Hints tell you the type of arbitrary expressions you place your mouse cursor over:

This feature works very well with Type Inference. One of the biggest arguments against type inference it is that code becomes less readable without explicit type hints. However, if the type is just one mouse movement away, this argument loses some validity.

Hover Hints are also a great way to check documentation. They support both markdown and Javadoc formatting:

Hover Hints can even provide documentation for Compiler Metadata:

This information is identical with that found in haxe --help-metas.