i'm try to create custom SpEL autocomplete Plugin, which is can reference native string as SpEl in Intellij IDEA
like Spring Data Cache's @Cachebale
@Cacheable(key=#{dto.getField()})
public int someMethod(ExampleDto dto)
@MyCustomAnnotation(value=#{dto.getField()})
public int someMethod(ExampleDto dto)
similar intellij youtrack issue i found,
saids that i can create pluings by using
com.intellij.javaee.el.providers.ElVariablesProvider
but every time i tried, i can't import that class when create intellij plugin..
use com.intellij.javaee.el plugin for ElVariablesProvider but i cannot found it..
is there a way to use plugin or ElVariablesProvider for developing intellij plugin? sry for my bad english.
i found out myself.
dependencies {
implementation(fileTree("libs"))
}
get the plugin jar direct from the plugin page and added it locally...
https://plugins.jetbrains.com/plugin/20208-jakarta-ee-expression-language-el-/versions
I couldn't find better way.