what’s the difference between `kotlin-stdlib` and ...
# stdlib
p
what’s the difference between
kotlin-stdlib
and
kotlin-stdlib-common
? both are on my class path, which results in duplicate hits in searches.
k
What platform are you one? Can you show us the dependencies as listed in the build file?
p
oh I see,
-common
is the cross-platform stdlib. will need to check how this gets pulled in as I only use kotlin-jvm at this time.
k
The JVM one depends on common I think.
Which makes it weird you get conflicting declarations.
p
but then everyone should have the duplicates problem
See under "dependencies"
Maybe you're accidentally including it twice or something?
p
for example, when I search for class
abstractlist
, I get two hits
k
Like my screenshot?
p
nope, I get two hits for kotlin.collections.AbstractList, one from kotlin-stdlib and another from kotlin-stdlib-common.
I’ll try with 1.2.51 (currently on .50), perhaps it makes a difference (ide plugin is on .51)
sadly, kotlin ide experience has been pretty broken for a long time, problems everywhere.
o
Did you report problems? There are issues, but I wouldn’t call it “broken”. /cc @Alexander Podkhalyuzin [JB]
p
@orangy I’ve reported several of them. I’ve been using IntelliJ for 15+ years but I don’t recall it ever being as unstable as in the last year. Suddenly can’t type anymore, suddenly can’t copy-paste anymore, suddenly can’t open search dialogs anymore, doesn’t find things (corrupted index?), editor blocks all the time, plus a multitude of “normal” bugs.
o
@pniederw not trying to be picky, but if you disable Kotlin plugin, does it work better with pure Java projects? Just trying to narrow down what’s going on.
p
I’m sure a good number of these problems aren’t Kotlin related, but I don’t always experiment to find the root cause.
(just restarted because I couldn’t type in kotlin files anymore.)
I think I’ve only experienced “can’t type in editor anymore” in kotlin files. other problems, e.g. search dialogs not opening, don’t seem kotlin related (although I never disable the plugin).
actually I’ve also had “can’t type in markdown documents anymore”. this got so bad that I disabled the markdown plugin.
@orangy I assume you write a lot of kotlin code? what has your experience been over the last year?
sorry for the rant, but it has really been a struggle.
still love kotlin though 🙂
o
I write only Kotlin these days 🙂 There are performance/responsiveness issues, as I said, and team is working to fix them. A lot of things are fixed in recent versions, but some issues are easier to fix, some are real hard. E.g. “can’t type in markdown documents anymore” is something pretty specific and worth filing an issue in YouTrack, if possible.
p
I already did.
o
Thanks!