IDEA 插件市场搜 Bean Assistant
功能:可以根据快捷字直接写例如某个 Service 的方法调用,插件在类里面自动写上 Service 的注入代码,省去手动操作。
![]() | 1 dabai0806 277 天前 之前弄了个类似的, 不过没有维护了 https://github.com/lly-ke/ImportBeanField |
![]() | 2 issakchill 276 天前 idea 不是自带这个功能吗现在 |
![]() | 3 ppllss 276 天前 是的 IDEA 现在能自动注入了,感觉用处不大 |
![]() | 4 darkings90 OP @issakchill #2 不大一样 |
5 IBN5100 276 天前 我喜欢构造器注入呐 |
![]() | 6 darkings90 OP @IBN5100 #5 也支持的 |