completion does not propose type aliases, nor unimported functions
Closed this issue · 5 comments
gavinking commented
I'm not sure what's going on here, but:
- I can't get completion to propose
javaClass()
when it's not already imported. - Nor can I seem to convince it to propose type aliases.
gavinking commented
Wait: it's not type aliases I can't complete, it's import aliases.
bjansen commented
I can import javaClass()
, but of course the module has to be already importing ceylon.interop.java
.
gavinking commented
I can import
javaClass()
, but of course the module has to be already importingceylon.interop.java
.
Hrm, you're right. That's working for me now too. Not sure what was the special case it was not working in.
bjansen commented
Completion works for this alias:
import java.lang {
Str=String
}
but not for this one:
import java.lang {
JStr=String
}
probably because we're trying to see if String
matches the prefix, instead of JStr
.
gavinking commented
👍