Lombok IntelliJ IDEA Plugin: Use of var is disabled by default
问题 I'm using the Lombok Plugin for IntelliJ IDEA. When try to run Java code using the var keyword, I get the following error: Use of var is disabled by default. Please add 'lombok.var.flagUsage = ALLOW' to 'lombok.config' if you want to enable is. How do you do that in IntelliJ IDEA ? I created the lombok.config in the project root and pasted lombok.var.flagUsage = ALLOW but it didn't fix it. val is working but not var . I can't seem to find clear instructions on enabling var . My Lombok maven