[ANN] JFlex Support 1.1
Hello,
New version of plugin available via Plugin Manager since build 7051.
Changes:
Compiler for JFlex files
Initial PSI parser (as part of compiler support)
JFlex settings configurable dialog
Selena fixes to enable JFlex work with latest EAP
Enjoy!
Please sign in to leave a comment.
Great plugin! :) Now I want to study JFlex for custom language plugin development, thanks.
Hello Alexey,
there seems to be a problem with the compiler. See the screenshot. I can no longer make the project
due to this error. Do you interpret all output on stderr as an error? You should only generate
errors (which blocks the successful compilation of the project) for real JFlex-errors.
Sascha
Attachment(s):
jflex.png
Hello,
Thank for report.
Yes, i'm track all stderr output as compilation error. How i can parse stderr for correct error handling?
Hello Alexey,
JFlex errors seem to start with "Error in file " which you could use to identify if it is an error
message. Another option would be to add errors from stdout only if JFlex exited with a status code
that indicates an error (if supported by JFlex).
And finally, as a hack, you could ignore lines starting with "Picked up JAVAOPTIONS" which comes
from the JVM when it finds the JAVAOPTIONS environment variable.
Sascha
Thanks a lot! Will fix soon.
Fixed in 1.1.1 version.
Please remove old JFlex plugin before update.
Thank you!