简体   繁体   中英

Groovy 3 support in Eclipse Groovy Editor

I have installed the latest release of the Groovy Development Tools in my Eclipse 2020-12. As I try to use Groovy 3.0 features. for example, do { } while() , it is flagged as an Unexpected Token syntax error. The documentation says that this version does support Groovy 3. Is there perhaps a setting to set up the Groovy compliance level for the editor? My currently selected Groovy Compiler is v3.

Thank you! Oleg

The antlr4-based parser is not enabled by default. You can enable it by setting system property groovy.antlr4 to true. More details in the release notes of Groovy-Eclipse on github.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM