爱意满满的作品展示区。
liangyun

IDEA 插件, 支持 SEL 代码提示, 自定义参数, 函数参数, 返回值

  •  
  •   liangyun · Dec 19, 2023 · 2349 views
  •   You need to sign in to view this topic
    This topic created in 1047 days ago, the information mentioned may be changed or developed.
    IDEA 默认 SpEL 表达式的代码提示不支持方法的入参, 返回值, 以及自定义参数, 让很多写三方库的朋友们十分难受, 重命名后也没有检查,就很无奈. 自 2013 年起就有很多人给 IDEA 官方提供反馈, 但是迟迟没有解决

    因此我写了`SpEL Extension`这么个插件, 用于支持 IDEA 代码提示功能

    插件地址: https://plugins.jetbrains.com/plugin/23337-spel-extension

    支持 IDEA 专业版 2021.3 以后的版本

    需要搭配注解库使用(只有注解, 不会影响任何代码运行, 如果担心安全问题可以自己写注解, 注意包名一致即可):


    使用方式



    IDEA 插件源码: https://github.com/ly-chn/spel-extension-idea
    注解库源码: https://github.com/ly-chn/spel-extension
    2 replies  •  2023-12-20 16:03:25 +08:00
    asmoker
        1
    asmoker  
       Dec 20, 2023 via Android
    支持一波👍🏻
    liangyun
        2
    liangyun  
    OP
       Dec 20, 2023
    @asmoker 😘感谢
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2295 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 15:34 · PVG 23:34 · LAX 08:34 · JFK 11:34
    ♥ Do have faith in what you're doing.