ceylon-ide-intellij
ceylon-ide-intellij copied to clipboard
hide impl classes in Navigate > Class
@bjansen would it be possible to eliminate the e.g. Sequence$impl classes in the result list?
I can hide them, but then they won't be visible from Java files either. I think they might be useful when we try to implement a Ceylon interface in Java. I'll have to dig deeper.
I think they might be useful when we try to implement a Ceylon interface in Java.
Well, perhaps, but it's probably a bad idea to do this, especially since the $impl classes are going away, and for sure we don't do this anywhere right now, except in the language module which is a special case.
I'll have to dig deeper.
That's fine, but in the meantime, I still think we should just hide them.
If we hide them, it means they're not in the index, which means the model loader won't be available to find them, which means List$impl won't be found, which means every piece of code that uses iterables will have (invalid) red highlights :(
WDYM "code that uses iterables"? I don't understand.
A compromise solution might be to add a Weigher so that the fall to the bottom of the list.
well, this code is temporary and will probably change. But it's right that Java code that implements a Ceylon interface with some implementation methods has to manage $impl elements explicitly.
But it's right that Java code that implements a Ceylon interface with some implementation methods has to manage
$implelements explicitly.
No. It's not right. $impls are going away, and any code which uses them directly will break.
Moving to 1.3.5 because it's more an inconvenience than a critical bug.