https://kotlinlang.org logo
Join Slack
Powered by
# intellij
  • t

    Till Rathschlag

    08/21/2025, 2:03 PM
    hi, my current project uses a lot of multiline string interpolations and this is driving me crazy: https://youtrack.jetbrains.com/issue/KTIJ-15457/Formatting-Method-calls-in-raw-strings-should-indent-from-start-of-interpolation I am willing to spend some time fixing this but I have no experience developing on intellij. can somebody tell me what the process is?
    l
    m
    • 3
    • 2
  • s

    Slackbot

    08/26/2025, 4:09 PM
    This message was deleted.
    k
    • 2
    • 1
  • k

    Klitos Kyriacou

    08/26/2025, 5:04 PM
    How can I get data flow analysis to work in Kotlin? For example, if I put my cursor on the
    a
    in the line starting
    val b
    , and right click "Analyze code", "Data flow to here" is greyed out. If I do the exact same thing in Java, it works. I'm using version 2024.3.6.
    Copy code
    fun main(args: Array<String>) {
        val a = args.size
        val b = args[a - 1]
    }
    a
    • 2
    • 1
  • u

    ursus

    08/26/2025, 9:08 PM
    Is there a way for Intellij to underline unformatted code as a warning - to nudge people to format? I know there's 3rd party tools but I think this should be a first party thing, VSCode has it..
    a
    a
    • 3
    • 4
  • t

    Taha

    08/27/2025, 10:34 AM
    Is the ability to create a Kotlin Multiplatform module removed in the new KMP plugin update?
    a
    a
    • 3
    • 2
  • o

    Oliver.O

    08/28/2025, 4:39 PM
    I'm on Linux and I'm seeing the Kotlin IntelliJ plugin crashing a lot. Can I expect this to improve with the new plugin which is currently available for macOS only?
    a
    • 2
    • 14
  • c

    Carter

    08/29/2025, 11:32 AM
    Because the Kotlin/JS lockfile updating is buggy, I need to delete the lockfiles before attempting to run the gradle tasks to re-generate them I’m trying to set up an IntelliJ Gradle run configuration that will 1.
    rm
    the kotlin-js-store directory 2. Run the gradle task to regenerate the Kotlin/JS lockfile I can get it working locally, but not when checking the run configuration into the Git repo. I’ve tried: 1. Add the shell commands as an Before launch “Run external tool” configuration. The problem is that this creates some kind of run configuration that’s stored separately from my Gradle run configuration, therefore it doesn’t get checked into the repo 2. Create a shared Shell script run configuration, then have the Before launch use this. The problem with this option is the hardcoded working directory path, which requires all checkouts be at the same path. Run external tool option above allows a
    $ProjectFileDir$
    variable Ideas?
    m
    • 2
    • 7
  • t

    theapache64

    08/31/2025, 1:59 PM
    is there anyway i can disable/suppress this warning? 🤔 note: i’ve the highlighted classes in classpath, so the test am using this fragment works fine
    a
    • 2
    • 4
  • a

    Antal János Monori

    09/02/2025, 8:39 AM
    Is there an equivalent page for IntelliJ IDEA releases? https://plugins.jetbrains.com/docs/intellij/android-studio-releases-list.html?from=IJPluginTemplate
    👀 2
    j
    • 2
    • 5
  • y

    Yuvaraj

    09/02/2025, 4:16 PM
    #C0B8H786P In Intellij i see there is no Create module option for Kotlin Multiplatform, but this is available in Android Studio. Can we bring this option in Intellij?
  • m

    mbonnin

    09/04/2025, 4:50 PM
    Can I disable the "IDE error" balloon?
    a
    a
    +2
    • 5
    • 22
  • l

    loke

    09/04/2025, 5:37 PM
    Since some time ago, I have not been able to start the Kotlin REPL. Is it just me? When I try, nothing happens.
    a
    • 2
    • 1
  • l

    louiscad

    09/08/2025, 2:18 PM
    The irrelevance of IDE auto-completion is staggering… I'm shocked by how it ignores the parameter names and most obvious types, i.e. the most basic hints. (Android Studio 2025.1.3) It's actually annoying now. Such a far cry from how Java completion was working very well even 10 years ago. I guess it's because IDE's K2 mode was pushed before actual feature/behavior parity, and I don't like it 😞
    💯 10
    o
    e
    +2
    • 5
    • 15
  • a

    Alfonso Ristorato

    09/08/2025, 6:33 PM
    Unable to download kotlin stdlib sources. hey there, I have been having an issue lately that bothers me, it's not that major but it bothers me nonetheless 🙂 I lately noticed that I cannot see sources for some of Kotlin stdlib methods, for example
    reduceOrNull
    , whereas I can see them for some other methods, for example
    forEach
    . When I try to download sources after going to the declarations of the methods I get redirected to the decompiled class file, where I can potentially click Download sources but somehow that gets blocked.
    c
    • 2
    • 5
  • t

    Taha

    09/10/2025, 4:23 PM
    not sure if this is the place to ask but i've been having quit a lot of "scanning files to index" jobs in intelliJ like every 5 seconds or so and its so annoying as it prevents me from importing or using different IDE features. any idea how can i find out what's causing the scan to trigger so often?
    k
    • 2
    • 1
  • m

    Michael Friend

    09/10/2025, 6:07 PM
    Has anyone else lost the ability to drop tables from the database tab UI in intellij? I used to be able to right click a table and delete or hit the delete key with the table selected to drop the table but now i dont get that option. The delete button in the modify table popup is also greyed out. Im able to open a query console and drop tables manually by writing a drop table statement so its not a permissions issue or anything.
    t
    • 2
    • 3
  • r

    Rok Oblak

    09/11/2025, 8:27 AM
    For a custom data renderer:
    Copy code
    package com.example.test
    
    import ....prettyPrint
    import ....Value
    
    object DebugRenderers {
        @JvmStatic
        fun valuePretty(value: Value) = value.prettyPrint()
    }
    but then I want to add a custom data renderer in the debugger, and can't seem to get it to work, it always marks the
    DebugRenderers
    with red (the path up until it is white). I'd use the original prettyPrint() extension but seems like extensions don't work either. What am I missing? Can we even use a custom function for a data renderer in the debugger (ticket)?
  • f

    Fredrik Meyer

    09/12/2025, 10:47 AM
    I used to have the ability to do "extract interface" in Kotlin, but it is gone now. It was very useful.
    😢 1
    s
    c
    +2
    • 5
    • 5
  • c

    christophsturm

    09/16/2025, 10:19 AM
    IDEA 2025.3 EAP 1 seems to be out but i cannot find it in toolbox. webstorm eap is already there. https://youtrack.jetbrains.com/articles/IDEA-A-2100662503/IntelliJ-IDEA-2025.3-EAP-1-253.17525.95-build-Release-Notes
    h
    • 2
    • 2
  • h

    Hildebrandt Tobias

    09/16/2025, 1:54 PM
    Hey, I have a colleague with a Mac (Intel) and when he loads into our Multiplatform project (JDK 17, Kotlin 2.2.0) he can build it, but the editor marks all kotlin standard functions like
    .map{ }
    and
    .toString()
    as unresolved. The weird thing is two other people with Macs (one Intel, one M4) don't have any issues. His IntelliJ IDEA version ist 2025.2.1 the latest on the stable channel. We already tried invalidating caches and everything, and non-multiplatform projects don't have that issue.
  • d

    darkmoon_uk

    09/17/2025, 12:39 AM
    Anyone else have this happen regularly? 'Phantom' changes in the Git panel for 'identical' Git submodule references?
  • n

    Nathan Fallet

    09/17/2025, 4:51 PM
    Hello! I updated to macOS 26 tonight and I got my IntelliJ frozen multiple times since then. Also happened once while Junie was working (but not only) so I lost the task and had to finish it manually. Happened like 4/5 times since this morning. Any known/tracked issue about this?
    👆 1
    j
    a
    • 3
    • 24
  • s

    Stephane Robin

    09/17/2025, 7:34 PM
    Hi everyone! 👋 Anyone else experiencing slow Kotlin code analysis in IntelliJ with mixed Java/ Kotlin projects? Error highlighting and warnings are taking forever to appear specifically for Kotlin files, making development pretty sluggish. Java analysis works fine. Current setup: • IntelliJ IDEA Ultimate 2025.2.1 • macOS 15.6.1 (Sequoia) • Apple M1, 16GB RAM, SSD storage • Java 21, Kotlin 2.2.20 • Mixed Java/Kotlin projects (Spring Boot + Maven) Already tried: • Increased heap to 8GB (-Xmx8g) • Enabled incremental compilation for Kotlin • Invalidated caches • Set Maven to use IntelliJ for build/run • Excluded build directories from indexing Still seeing delays for Kotlin code analysis to complete after typing or copy/paste. Any other optimization tricks or specific settings that helped you speed things up? Thanks! 🚀
    a
    • 2
    • 1
  • c

    CLOVIS

    09/18/2025, 9:56 AM
    Is this a known problem in quick evaluate in the latest EAP?
    a
    • 2
    • 3
  • e

    Edoardo Luppi

    09/19/2025, 10:59 AM
    Is junky code highlight a known issue in 2025.3 EAP1? Sometimes it disappears, and reappears after formatting (I guess the PSI document is refreshed).
  • e

    Edoardo Luppi

    09/19/2025, 3:58 PM
    Nooo what happened to the nice progress indicator 😭
  • a

    August

    09/19/2025, 7:53 PM
    How do I set a custom java trust store so Intellij would use it? I have set (
    -<http://Djavax.net|Djavax.net>.ssl.trustStore=<home>/cacerts -<http://Djavax.net|Djavax.net>.ssl.trustStorePassword=changeit
    ) in: • JAVA_OPTS env variable • idea.vmoptions • VM options in run still, it's taken from projects java SDK. The IntelliJ IDEA 2025.2.2 (Ultimate Edition), Build #IU-252.26199.169, built on September 18, 2025. updated today, but on previous version, 2025.2.1 the same behaviour. Adding the ssl debug result in:
    Copy code
    javax.net.ssl|DEBUG|53|DefaultDispatcher-worker-12 @call-context#41|2025-09-19 21:40:47.152 CEST|TrustStoreManager.java:156|Inaccessible trust store: /<path>/.sdkman/candidates/java/<version>/lib/security/jssecacerts
    javax.net.ssl|DEBUG|53|DefaultDispatcher-worker-12 @call-context#41|2025-09-19 21:40:47.156 CEST|TrustStoreManager.java:112|trustStore is: /<path>/.sdkman/candidates/java/<version>/lib/security/cacerts
    I switch a lot between different sdk, and don't want to import all certs to multiply trust stores.
    t
    • 2
    • 5
  • h

    Horatio Thomas

    09/20/2025, 8:52 AM
    ever since I upgraded to os 26, if I have two windows open, one often freezes up and I have to close it, has anyone else experienced this?
    p
    • 2
    • 1
  • p

    Piotr Krzemiński

    09/21/2025, 2:44 PM
    I'm observing a weird behavior where IntelliJ doesn't report some symbols being not available, whereas the Kotlin compiler complains. See the project: https://github.com/krzema12/ko2py, I'm trying to run the tests from
    compiler-plugin/ast/src/test/kotlin/python/ast/PythonAstTest.kt
    , and (see the screenshot) the compiler reports
    Unresolved reference ...
    , and in the IDE I can normally navigate to the classes/functions that are unresolved according to the compiler. I've been banging my head for hours, it must be something small... on the other hand, looks like a bug in the compiler or the IDE, they should behave consistently, no?
    ✅ 1
    • 1
    • 10
  • g

    Gat Tag

    09/21/2025, 8:28 PM
    For the past month + I've been experiencing an issue where all of my
    *.gradle.kts
    files completely fail in regards to symbol resolution within the IDE but are perfectly valid and execute within Gralde itself. It will fully finish configuration take a second and then all symbols will say they are not resolved. It's very frustrating. Has anyone else seen behavior like this?
    m
    j
    a
    • 4
    • 17