kotlin-interactive-shell
kotlin-interactive-shell copied to clipboard
Missing Autocompletion on enums
As titled
If I have
enum class State { ALLOC, .. }
After I type State. I don't get any (right) suggestions
If I type State.A I can see some enumerators plus a lot of other stuff
[4] import slurm.State.*
[5] sinfo {
...states( State.ALLOC
ALLOC AbstractList AbstractMutableMap AnnotationRetention Array AssertionError
ALLOCATED AbstractMap AbstractMutableSet AnnotationTarget ArrayDeque AutoCloseable
AS_SAFE AbstractMethodError AbstractSet Any ArrayIndexOutOfBoundsException AutoCloseable {
AbstractCollection AbstractMutableCollection AccessDeniedException Appendable ArrayList
AbstractIterator AbstractMutableList Annotation ArithmeticException ArrayStoreException
I've made some progress on this item however waiting for jline to publish this feature I really need https://github.com/jline/jline3/commit/bfcc415b5b2dd77e99d62eadf11b6df27ef14592
thanks for the update