Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 1.64 KB

File metadata and controls

31 lines (20 loc) · 1.64 KB

bean-invoker-intellij-plugin

Invoke spring bean method in java project conveniently. Install via the Jetbrains Marketplace.

Features

Invoke spring bean method conveniently:

  • Enable bean invoker in Settings.
  • Choose a public method with no parameter in spring beans. On the method, you can invoke other methods as you want !!
  • Entrypoint: right click on current method name, and find Fast Invoke. Default shortcut key is option/alt x.
  • Set port: not required usually. If you get trouble with windows dynamic port, try default-dynamic-port-range-tcpip.
  • The most important tip: It works much better with Jrebel plugin.

快速调用 Spring bean 方法,使用:

  • 在设置中启用调用
  • 源码中选定无参 public 方法,按提示支持自动生成。此方法中,可实现其他有参函数调用!!
  • 入口:当前方法名称上右键,找到快速调用,默认快捷键 option/alt x
  • 指定端口:通常不需要指定,如果遇到 windows 动态端口占用,可参考 TCP/IP 默认动态端口范围
  • 额外说明:搭配 Jrebel 插件,可在运行过程中实现动态加载,使用效果极佳.

Usage

  • Enable in Settings

idea-setting.png

  • Invoke bean method

idea-invoke.png