when I use @RequiredArgsConstructor in a class, idea report a error.
like this
@RequiredArgsConstructor
public class XXCache implements ICache {
private final FlowService flowService;
}
The field report a error: Variable 'flowService' might not have been initialized
Plugin incompatibility with 2020.2 is not yet fixed.
https://github.com/mplushnikov/lombok-intellij-plugin/issues/840
this https://github.com/mplushnikov/lombok-intellij-plugin/issues/840#issuecomment-665115639 was the solution for me.
this #840 (comment) was the solution for me.
Didn't work for me, unfortunately. Uninstalled plugin, restarted IDEA, installed plugin, restarted IDEA. Still have to restart IDEA every time I add new private final fields to a class marked with @RequiredArgsConstructor.
seems to be another issue that is being solved here #860. Unfortunately, the owner is on vacation and we have to wait until he fixes this issue. Maybe you can downgrade your Intellij version. I don't know if that may fix the issue.
seems to be another issue that is being solved here #860. Unfortunately, the owner is on vacation and we have to wait until he fixes this issue. Maybe you can downgrade your Intellij version. I don't know if that may fix the issue.
Oh, yeah, I'll wait. It's sure annoying but bearable for now. Thanks for pointing master issue. I just noticed those "psi is outdated" exceptions while playing with @RequiredArgsConstructor annotation, so it's definitely related.
Lombok should be natively supported by JetBrains, could you guys comment, upvote this: https://youtrack.jetbrains.com/issue/IDEABKL-5667? Maybe they will finally do something about it, with all due respect for the author, millions of devs shouldn't be dependent on single maintainer plugin.
Most helpful comment
Plugin incompatibility with 2020.2 is not yet fixed.
https://github.com/mplushnikov/lombok-intellij-plugin/issues/840