Open andr1972 opened 2 years ago
I must first compile .bnf and .flex and generate java sources:
Hi @borneq ,
Please note that this is just a toy project. It parses most of the Motoko syntax but I ended up at a point where I got 2 valid Motoko code snippets, but was only able to correctly parse either one or the other, but never both at the same time.
A better approach is to implement this via LSP (Language Server Protocol) and get all the info from there. There is a (dead?) project to add LSP support to IJ already available and it was kinda working with Motoko.
In either case, implementing a fully functional plugin was too much work for me to bother anymore and I just gave up.
I am using latest gradle version 7.4 and call gradle buildPlugin
I have warnings and errors:
$ gradle buildPlugin