• IntelliJ IDEA
    • 打开 File -> Settings -> Plugins
    • 搜索 Lombok 并安装(如果未安装)
    • 安装后重启 IDE
    • 确保启用注解处理器:File -> Settings -> Build, Execution, Deployment -> Compiler -> Annotation Processors,勾选 Enable annotation processing