We've released the first public preview of Kotlin ...
# announcements
h
We've released the first public preview of Kotlin Notebooks. https://twitter.com/kotlin/status/1676261771613552642
πŸ‘πŸ» 1
πŸš€ 19
πŸ‘πŸΎ 1
K 67
K 65
πŸŽ‰ 46
K 14
K 98
πŸ‘ 27
r
Twitter is no longer a good place to post. I don't have an account and can't read this.
πŸ‘Ž 2
βž• 55
d
Agreed
val twitterIsDead: Boolean =
T
==
⚰️
twitterIsDead
// true
πŸ™‚ 1
⚰️ 6
o
Compose UI support when? πŸ‘€
πŸ‘€ 3
r
gratitude thank you 5
πŸ‘ 8
πŸ‘πŸ» 1
p
What are the advantages over scratch files? That it can include any dependency?
p
Am I missing something or wasn't that available already? I used it to create the slides for our department days two weeks ago
βž• 2
p
You mean adding third party imports in scratch files? Possibly, I haven't tried in a while tbh. But besides that, What are the major difference between these 2 products? What feature would make me choose one over the other?
p
I mean the notebooks plugin
πŸ†— 1
r
@Pablichjenkov There main difference is that notebooks provide significantly bigger variety of possible outputs. It could be images, HTML, markdown, etc. In future there will be interactive widgets and Compose Multiplatform integration. Also Kotlin Notebooks has an extensive API for integrating your libraries, to conveniently use them from notebooks.
K 2
πŸ‘ 1
@Oleksandr Balan It's in the plan: https://youtrack.jetbrains.com/issue/KTNB-284/Swing-Compose-renderers-API Can't provide any particular ETA though
πŸ‘ 1
πŸ€— 3
b
When it ll be available on Android studio ?
βž• 4
p
This is so awesome! Totally missed it until now. Installed and testing.
p
I don't think it will be in Android Studio. You need to purchase an IntelliJ Ultimate license to use it.
😞 4
😱 1
n
@hhariri This looks amazing, brings REPL driven development to us; where’s the music from?
d
It says this feature is only available to Ultimate users.
c
Sounds neat! Though the potential compose features in notebooks would have to be good enough to justify using Intellij over AndroidStudio for mobile dev (which means missing out on the latest android/compose features due to the AGP / plugin release schedule)
p
Right, and in regards to the composable rendering aspect, there is also some work being done to render previews on the web, which sounds more convenient. You don't need a full IDE open but you can do it outside home on a tablet.
b
lol twitter is alive and well