Open dgutov opened 9 years ago
Thanks for the notice. I know about this issue and I am going to fix this by switching to the eclipse ASTParser (which will allow me to read incomplete / incorrect code). Sadly I have been sick the last few days, so I didn't really had the chance to look into this.
I see. I thought the parser shouldn't be the problem here, since for-each was added in Java 1.5, and that's the version javaparser claims to support.
There's no hurry, though, as far as I'm concerned. Thanks for bringing a new option to the community. :)
It's not a matter of parser support. The client implementation sends an incorrect buffer (syntax wise) to the server, thus leaving the current parser with incomplete code. One could easily fix this specific error by refining the elisp client, but I think it will be better to just use the eclipse ASTParser, which will (as I said) allow to parse incomplete code.
With example (context):
there's no completion after
f
. The backtrace from the server output looks like this: