IDEA support #9652
xepozz
started this conversation in
Show and tell
IDEA support
#9652
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, team.
During a weekend I've made a plugin for HHVM (especially for Hack lang) which uses LSP to highlight the code errors.
There're several cool features in the Hack, but it's not about it.
There were some problem on Mac, so plugin uses Docker setup to run
hh_client --lspon communicate with the IDEA through the stdio pipes.Overall it looks good, but seems like LSP isn't as full as can be:
Anyway, it is an interesting challenge to make Hack language support as powerful as all modern languages are in IDEA.
Should I continue? Is there anyone who's willing to see Hack support in IDEA / PHPStorm?
If so, can I count on the Hack team's support? For example, I'd add some markers to LSP output to have better control for Documentation, grammar parser is written in Rust, but the plugin uses JFlex + GrammarKit that are similar to Flex and Bison (from C), but written in Java and Kotlin and the parser architecture is different. That's why I wasted a weekend to re-write or find available grammar syntax converters, but they sucks.
Marketplace: https://plugins.jetbrains.com/plugin/28652-hhvm
Source code: https://github.com/j-plugins/hhvm-plugin
Beta Was this translation helpful? Give feedback.
All reactions