how are most of you guys dealing with UI’s for int...
# intellij-plugins
c
how are most of you guys dealing with UI’s for intellij plugins, doing it all in kotlin, or making the UI in the swing ui builder and binding to java
b
Kotlin, I came up with a few tricks for data binding with property delegates that have worked well. Don’t use the UI builder, it generates a bunch of garbage code
Specifically, I write extension methods for the getters/setters to get a primitive form of data binding: https://github.com/acejump/AceJump/blob/b9b804c5883a74e8bd4d017c5155db82dd606507/src/main/kotlin/org/acejump/config/AceSettingsPanel.kt#L80
c
cool will take a peek at that
right now, i am just using java with data binding, but it sucks, and i feel my layout is easy enough to define in code
b
There is a Kotlin DSL for it
c
thanks for the info, will be trying it out
is it required to use gradle for the kotlin ui dsl to work?