Isaac Udy
06/18/2025, 6:07 AM.idea
folder to show up in the project files view. I can see it in Android Studio, if I open that instead, and even if I add a custom scope to the project it still won't show up in that custom scope. Does anyone know how to set this up? The new Kotlin Multiplatform plugin requires some .idea configuration to allow xcode run configurations to become visible, and it's very annoying needing to open the files externally to edit them.PHondogo
06/19/2025, 10:11 AMdo {
// some code here
TODO()
} while (true) // warning for unreachable code with suggestion to replace with 'while()'. It is unreachable but in this case i think it should be ok
Edoardo Luppi
06/19/2025, 10:19 AMloke
06/20/2025, 2:25 PMhho
06/23/2025, 4:17 PM.main.kts
script in IntelliJ IDEA ... it runs, but no breakpoints ever trigger anything. Is that a known limitation? (2025.2 EAP with K2)bod
06/24/2025, 12:16 PMdarkmoon_uk
06/26/2025, 1:39 AMAlexander Weickmann
06/26/2025, 8:11 AMmbonnin
06/26/2025, 2:17 PMmain.kts
and K2? I just had to disable K2 again to get autocomplete 🤔 on IntelliJ IDEA 2025.2 EAP
. Am I missing something? Can you do main.kts
with K2?Kirill Grouchnikov
06/26/2025, 5:11 PMdarkmoon_uk
06/29/2025, 7:08 AM.kts
scripts instead of `.sh`; keeping more complex scripts in a powerful, familiar language.
Unfortunately the usefulness of kts
is unduly limited by IntelliJ IDE's failure to resolve symbols across @file:Import
dependencies - meanwhile the scripts still run fine.
This problem has only become more impactful with junie Junie; as the agent sees 'unresolved' false positives and erroneously act upon them, struggling for a fix that never comes.
kodee sad This limitation is very sad, given it's been hanging for over 2 years...
KTIJ-16352 Scripts / IDE: unresolved reference when trying to import file in main.kts scripts with @Import annotation
Any insights into this issue in or outside of JB? Is scripting just abandoned beyond what's needed for Gradle? Such a shame, it's a killer feature in my book.
Slack ConversationSargun Vohra
07/01/2025, 1:48 AM-Xcontext-sensitive-resolution
to my compiler args but the IDE still highlights code red where I use ithfhbd
07/01/2025, 9:15 AMOliver.O
07/05/2025, 3:28 PMprivate fun com.intellij.openapi.module.Module.isJvmOrMultiplatformTestModule() =
isTestModule || (!isMultiPlatformModule && name.endsWith(".test"))
However, relying on the module name seems hacky. Is there a better option?Luv Kumar
07/06/2025, 8:30 PMRun Tasks for $testName
list where i can select targets, i only see android and ios option and no browser related option.
Is it not supported or i am missing some configuration ? My browser tests do run in chromium when doing gradle build.Eugen Martynov
07/07/2025, 8:17 AMTóth István Zoltán
07/14/2025, 11:00 AMEugen Martynov
07/15/2025, 9:24 AMDistractic
07/17/2025, 5:48 AMij_kotlin_name_count_to_use_star_import = 99
ij_kotlin_name_count_to_use_star_import_for_members = 99
But intellij seems to ignore them and continue to import with wildcard.
If I change directly in Intellij Setting, it works, but I would like to harmonise for all of my team.
Is there a way to say to intellij: don't use wildcard (based on editorconfig)?Bernhard
07/21/2025, 8:44 AMRob Elliot
07/23/2025, 10:52 AMinfix fun @receiver:Language("RegExp") String.mapsTo(other: String): Pair<Regex, String> = TODO()
fun main() {
"/(?<>[^/]+)" mapsTo "bar" // left hand side does not get regexp highlighting - it should, shouldn't it?
}
df
07/24/2025, 8:05 AMSimone
07/24/2025, 3:55 PMArsildo Murati
07/25/2025, 10:41 AMjeggy
07/30/2025, 11:12 AMSmart cast to 'ImageData' is impossible, because 'selectedIcon' is a property that has an open or custom getter.
But Intellij says:
Unnecessary non-null assertion (!!) on a non-null receiver of type 'ImageData'.
I understand that it's IntelliJ that is reporting it incorrectly. So how can I fix my IntelliJ, so it does not suggest to remove the !!
?hfhbd
07/30/2025, 11:25 AMfun foo(s: Int = 0)
foo(s = 0) // s is unnecessary
Martin Scotta
07/31/2025, 5:22 AMWARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by org.jetbrains.kotlin.com.intellij.util.containers.Unsafe (file:.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-compiler-embeddable/2.1.21/70a69b95905e33806fbee6c6c9c48e2b2b2b4da4/kotlin-compiler-embeddable-2.1.21.jar)
WARNING: Please consider reporting this to the maintainers of class org.jetbrains.kotlin.com.intellij.util.containers.Unsafe
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
Dmitriy Tarasevich
07/31/2025, 4:39 PMtheapache64
08/02/2025, 5:46 PM.kts
scratch file? i can’t see it now 🤔
am using
IntelliJ IDEA 2024.3.4 (Ultimate Edition)
Build #IU-243.25659.39, built on February 27, 2025
Runtime version: 21.0.6+8-b631.39 aarch64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.lwawt.macosx.LWCToolkit
macOS 14.6.1
Kotlin plugin: K2 mode
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 8192M
Cores: 8
Metal Rendering is ON
Kotlin: <tel:243.25659.39|243.25659.39>-IJ
theapache64
08/02/2025, 6:45 PMRun
pane, the tab key doesn’t let me switch to the right section 👀
should I expect this fixed in the next version? 🫣