为什么我必须重新启动 Intellij 才能识别 Lombok 注释?

Why do I have to restart Intellij for it to recognize Lombok annotations?

我正在使用 intellij 和 Lombok,并且我已将 注释处理器设置为启用

IntelliJ IDEA 2020.2 (Community Edition)
Build #IC-202.6397.94, built on July 27, 2020
Runtime version: 11.0.7+10-b944.20 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux XXXX
GC: ParNew, ConcurrentMarkSweep
Memory: XXXXM
Cores: XX
Non-Bundled Plugins: color.scheme.Gruvbox, Lombook Plugin, org.intellij.scala
Current Desktop: KDE

并使用 Lobmok:0.30-EAP

当我像这样创建 class 时:

@Builder
@Getter
public class Stub {
    private final int f1;
    private final long f2;
}

或者如果我向现有 class 添加一个字段,Intellij 会抱怨:Variable 'f1' might not have been initialized.

如果我重新启动 Intellij,错误就会消失。

IntelliJ IDEA 2020.2 有 a known issue affecting Lombok plug-in. It's fixed in 2020.2.1 release. Please update.