需求调研:发现身边的同事追踪业务代码的时候,如果遇见feign接口,大家都是通过全局搜url进一步找到远程服务的实现。一旦项目大起来,路径变得复杂甚至重名之后,这将会是灾难。
市面上并没有很好的IDEA插件支持feign接口的解析以及相对应的远程服务之间的跳转,因此本人([lyflexi](https://github.com/lyflexi))亲自做了一款插件FeignX,并开源出来给大家免费使用。
已上架idea插件市场:[https://plugins.jetbrains.com](https://plugins.jetbrains.com/) , 搜索FeignX下载安装:
FeignX的灵感来自IDEA的明星插件MybatisX。
FeignX插件基于实时扫描机制监控项目中的所有FeignClient和ApiController,并提供方法级导航跳转功能。
简而言之,您可以通过方法级导航按钮灵活地在FeignClient和远程服务ApiController之间来回切换。
FeignX is inspired by IDEA's star plugin MybatisX.
The FeignX plugin monitors all FeignClient and ApiController in the project based on real-time scanning mechanism, and provides method-level navigation jump capability.
In short, You can flexibly jump back and forth between FeignClient and remote service ApiController through method-level navigation buttons.
eg. feignClient -> ApiController
eg. ApiController -> feignClient
So, install the FeignX plugin as soon as possible!.
开放源代码:[lyflexi/feignx-plugin: 插件开发:IDEA搜索FeignX](https://github.com/lyflexi/feignx-plugin) 觉得好用多多给⭐支持!