Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

提供 Idea 插件,优化使用体验 #296

Open
Createsequence opened this issue May 27, 2024 · 4 comments
Open

提供 Idea 插件,优化使用体验 #296

Createsequence opened this issue May 27, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request worth trying Features or improvements that are worth trying but not necessarily achievable

Comments

@Createsequence
Copy link
Collaborator

Createsequence commented May 27, 2024

参见 MybatisPlusX ,提供 Crane4j 的 Idea 插件,该插件可以提供下述功能:

  • 提供一个全局总览页面,可用于查看所有在项目中配置的数据源容器,并提供点击跳转的功能;
  • 在各种 @AssembleXXX 注解旁边显式图标,可以点击快速跳转到对应的数据源容器,类似 MybatisPlusX 通过接口跳转到映射文件;
  • 在各种 @ContainerXXX 注解上显示图标,点击可以快速获取引用该容器的操作配置,类似在 Idea 中查找订阅事件的消费者;
  • @ContainerMethod 的 resultKey 与 resultId 根据方法的返回值提供补全支持;
  • @AssembleXXX 注解中通过 propsprop 的属性映射提供补全支持;

目前暂定这些功能,后续根据开发难度与灵感再调整。

@Createsequence Createsequence added enhancement New feature or request worth trying Features or improvements that are worth trying but not necessarily achievable labels May 27, 2024
@6LWa6ZKx
Copy link

作者太有干劲了,支持一个。

@Createsequence
Copy link
Collaborator Author

作者太有干劲了,支持一个。

有点子了先加个 TODO,不过啥时候做那就是另一回事了……

@hncboy
Copy link

hncboy commented Jun 27, 2024

@Createsequence
Copy link
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request worth trying Features or improvements that are worth trying but not necessarily achievable
Projects
None yet
Development

No branches or pull requests

3 participants