简体   繁体   English

IntelliJ - 在 Lombok 生成的代码和 Lombok 注释的代码之间切换

[英]IntelliJ - Switch between Lombok generated code and Lombok annotated code

I want to view the Lombok-generated code on IntelliJ.我想在 IntelliJ 上查看 Lombok 生成的代码。

I can see the Lombok/Delombok options.我可以看到 Lombok/Delombok 选项。 But after refactoring my code, the Lombok options go missing.但是在重构我的代码之后,Lombok 选项 go 丢失了。 How can I switch between Lombok generated code and Lombok annotated code multiple times on IntelliJ?如何在 IntelliJ 上多次在 Lombok 生成的代码和 Lombok 注释的代码之间切换?

在此处输入图像描述

As shown here, after selecting Refactor -> Lombok options, on those classes, I am unable to see the Lombok option again.如此处所示,在选择 Refactor -> Lombok 选项后,在这些类上,我无法再次看到 Lombok 选项。 在此处输入图像描述

It will show up if you put the cursor inside the class and right-click.如果将 cursor 放在 class 中并单击鼠标右键,它将显示出来。

在此处输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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