Writing code that writes code with Hack Codegen
code.facebook.com
code.facebook.com
Because Hack isn't PHP all of the foundations are gone, consider this text from the JetBrains PhpStorm team:
"We’d have to provide full support for a complete new language, which entails implementing a parser, type checker, navigation, completion, inspections, and so on. No part of PHP support that we have now can be reused for Hack, given the fundamental differences between the languages. We’d then have to maintain and enhance it, closely following the evolution of Hacklang."
Until those important issues are resolved, it's unlikely many people will be using these tools. Facebook should, pretty please, consider outsourcing the things in the list above (parser, type checker, inspections anyhow). Unfortunately I can't justify pigeonholing my editor selection for Hack development. Anxiously awaiting some form of resolution.
[1] http://blog.jetbrains.com/phpstorm/2015/06/hack-language-sup...
Other editor plugins leverage the `hh_*` binaries to achieve this. In fact, the way they are written are specifically for that use-case, as far as I remember.
Wouldn't it have been more effective and easier to debug to put those features in the Hack language (which is a pretty recent invention as languages are concerned) itself without resorting to external tools?