https://kotlinlang.org logo
Docs
Join the conversationJoin Slack
Channels
100daysofcode
100daysofkotlin
100daysofkotlin-2021
advent-of-code
aem
ai
alexa
algeria
algolialibraries
amsterdam
android
android-architecture
android-databinding
android-studio
androidgithubprojects
androidthings
androidx
androidx-xprocessing
anime
anko
announcements
apollo-kotlin
appintro
arabic
argentina
arkenv
arksemdevteam
armenia
arrow
arrow-contributors
arrow-meta
ass
atlanta
atm17
atrium
austin
australia
austria
awesome-kotlin
ballast
bangladesh
barcelona
bayarea
bazel
beepiz-libraries
belgium
berlin
big-data
books
boston
brazil
brikk
budapest
build
build-tools
bulgaria
bydgoszcz
cambodia
canada
carrat
carrat-dev
carrat-feed
chicago
chile
china
chucker
cincinnati-user-group
cli
clikt
cloudfoundry
cn
cobalt
code-coverage
codeforces
codemash-precompiler
codereview
codingame
codingconventions
coimbatore
collaborations
colombia
colorado
communities
competitive-programming
competitivecoding
compiler
compose
compose-android
compose-desktop
compose-hiring
compose-ios
compose-mp
compose-ui-showcase
compose-wear
compose-web
connect-audit-events
corda
cork
coroutines
couchbase
coursera
croatia
cryptography
cscenter-course-2016
cucumber-bdd
cyprus
czech
dagger
data2viz
databinding
datascience
dckotlin
debugging
decompose
decouple
denmark
deprecated
detekt
detekt-hint
dev-core
dfw
docs-revamped
dokka
domain-driven-design
doodle
dsl
dublin
dutch
eap
eclipse
ecuador
edinburgh
education
effective-kotlin
effectivekotlin
emacs
embedded-kotlin
estatik
event21-community-content
events
exposed
failgood
fb-internal-demo
feed
firebase
flow
fluid-libraries
forkhandles
forum
fosdem
fp-in-kotlin
framework-elide
freenode
french
fritz2
fuchsia
functional
funktionale
gamedev
ge-kotlin
general-advice
georgia
geospatial
german-lang
getting-started
github-workflows-kt
glance
godot-kotlin
google-io
gradle
graphic
graphkool
graphql
graphql-kotlin
graviton-browser
greece
grpc
gsoc
gui
hackathons
hacktoberfest
hamburg
hamkrest
helios
helsinki
hexagon
hibernate
hikari-cp
hire-me
hiring
hongkong
hoplite
http4k
hungary
hyderabad
image-processing
india
indonesia
inkremental
intellij
intellij-plugins
intellij-tricks
internships
introduce-yourself
io
ios
iran
israel
istanbulcoders
italian
jackson-kotlin
jadx
japanese
jasync-sql
java-to-kotlin-refactoring
javadevelopers
javafx
javalin
javascript
jdbi
jhipster-kotlin
jobsworldwide
jpa
jshdq
juul-libraries
jvm-ir-backend-feedback
jxadapter
k2-early-adopters
kaal
kafka
kakao
kalasim
kapt
karachi
karg
karlsruhe
kash_shell
kaskade
kbuild
kdbc
kgen-doc-tools
kgraphql
kinta
klaxon
klock
kloudformation
kmdc
kmm-español
kmongo
knbt
knote
koalaql
koans
kobalt
kobweb
kodein
kodex
kohesive
koin
koin-dev
komapper
kondor-json
kong
kontent
kontributors
korau
korean
korge
korim
korio
korlibs
korte
kotest
kotest-contributors
kotless
kotlick
kotlin-asia
kotlin-beam
kotlin-by-example
kotlin-csv
kotlin-data-storage
kotlin-foundation
kotlin-fuel
kotlin-in-action
kotlin-inject
kotlin-latam
kotlin-logging
kotlin-multiplatform-contest
kotlin-mumbai
kotlin-native
kotlin-pakistan
kotlin-plugin
kotlin-pune
kotlin-roadmap
kotlin-samples
kotlin-sap
kotlin-serbia
kotlin-spark
kotlin-szeged
kotlin-website
kotlinacademy
kotlinbot
kotlinconf
kotlindl
kotlinforbeginners
kotlingforbeginners
kotlinlondon
kotlinmad
kotlinprogrammers
kotlinsu
kotlintest
kotlintest-devs
kotlintlv
kotlinultimatechallenge
kotlinx-datetime
kotlinx-files
kotlinx-html
kotrix
kotson
kovenant
kprompt
kraph
krawler
kroto-plus
ksp
ktcc
ktfmt
ktlint
ktor
ktp
kubed
kug-leads
kug-torino
kvision
kweb
lambdaworld_cadiz
lanark
language-evolution
language-proposals
latvia
leakcanary
leedskotlinusergroup
lets-have-fun
libgdx
libkgd
library-development
linkeddata
lithuania
london
losangeles
lottie
love
lychee
macedonia
machinelearningbawas
madrid
malaysia
mathematics
meetkotlin
memes
meta
metro-detroit
mexico
miami
micronaut
minnesota
minutest
mirror
mockk
moko
moldova
monsterpuzzle
montreal
moonbean
morocco
motionlayout
mpapt
mu
multiplatform
mumbai
munich
mvikotlin
mvrx
myndocs-oauth2-server
naming
navigation-architecture-component
nepal
new-mexico
new-zealand
newname
nigeria
nodejs
norway
npm-publish
nyc
oceania
ohio-kotlin-users
oldenburg
oolong
opensource
orbit-mvi
osgi
otpisani
package-search
pakistan
panamá
pattern-matching
pbandk
pdx
peru
philippines
phoenix
pinoy
pocketgitclient
polish
popkorn
portugal
practical-functional-programming
proguard
prozis-android-backup
pyhsikal
python
python-contributors
quasar
random
re
react
reaktive
realm
realworldkotlin
reductor
reduks
redux
redux-kotlin
refactoring-to-kotlin
reflect
refreshversions
reports
result
rethink
revolver
rhein-main
rocksdb
romania
room
rpi-pico
rsocket
russian
russian_feed
russian-kotlinasfirst
rx
rxjava
san-diego
science
scotland
scrcast
scrimage
script
scripting
seattle
serialization
server
sg-user-group
singapore
skia-wasm-interop-temp
skrape-it
slovak
snake
sofl-user-group
southafrica
spacemacs
spain
spanish
speaking
spek
spin
splitties
spotify-mobius
spring
spring-security
squarelibraries
stackoverflow
stacks
stayhungrystayfoolish
stdlib
stlouis
strife-discord-lib
strikt
students
stuttgart
sudan
swagger-gradle-codegen
swarm
sweden
swing
swiss-user-group
switzerland
talking-kotlin
tallinn
tampa
teamcity
tegal
tempe
tensorflow
terminal
test
testing
testtestest
texas
tgbotapi
thailand
tornadofx
touchlab-tools
training
tricity-kotlin-user-group
trójmiasto
truth
tunisia
turkey
turkiye
twitter-feed
uae
udacityindia
uk
ukrainian
uniflow
unkonf
uruguay
utah
uuid
vancouver
vankotlin
vertx
videos
vienna
vietnam
vim
vkug
vuejs
web-mpp
webassembly
webrtc
wimix_sentry
wwdc
zircon
Powered by Linen
intellij
  • e

    elect

    03/03/2021, 6:12 PM
    it'd be nice if on clicking the gradle refresh the "build" window will be displayed automatically (kind of like the "run" when running)
    a
    • 2
    • 3
  • s

    Sudhir Singh Khanger

    03/08/2021, 4:17 AM
    Why is IntelliJ IDEA failing to import?
    SimpleScreenRecorder-2021-03-08_09.35.54.mp4
    a
    • 2
    • 1
  • o

    Oton Marques Jr.

    03/09/2021, 10:56 PM
    Hello. In my boot project on IDEA community 2020.3, auto-build always fails reporting unresolved references to springframework, and even kotlin-stdlib classes. When I go to the reported files there's no error. I think that because of this hot reload does not works despite following all directions that I found so far, like declaring spring-devtools dependency, setting "Build project automatically" and enabling compiler.automake.allow.when.app.running on registry. Thanks for any help, this is driving me nuts
    a
    b
    • 3
    • 6
  • d

    dave08

    03/10/2021, 1:03 PM
    Has anybody seen that after pressing
    .
    on an object, the code completion window pops up and disappears (or tries to reload itself) short after trying to scroll down in it? It's REALLY annoying. I'm running on Intellij Ultimate 2020.2.4
    r
    o
    • 3
    • 6
  • r

    rocketraman

    03/10/2021, 5:35 PM
    Weird debugger issue where a local variable goes missing from the debugger. Evaluating it:
    Cannot find local variable 'existingGoalsByExpirationDate' with type java.util.Map
    . The variable shows up in the debugger on the first breakpoint, but is invisible to the second:
    a
    • 2
    • 4
  • m

    mbonnin

    03/11/2021, 4:32 PM
    Is it possible somehow to have the same Kotlin file added to 2 different sourceSets that have different compile classpaths? That works with Gradle but obviously, IntelliJ can only show errors from one sourceSet. Is that configurable somehow? Like
    analyze this file as foo sourceSet
    ?
    e
    c
    y
    • 4
    • 9
  • u

    uli

    03/11/2021, 10:15 PM
    Any one from jetbrains here to talk about security related stuff? (via pm)
    m
    • 2
    • 3
  • n

    napperley

    03/12/2021, 12:21 AM
    Been encountering a strange issue that has been driving me up the wall with code completion in a Kotlin Native project that contains a linuxX64 module and uses the libssh library ( https://www.libssh.org/ ). In some cases when invoking code completion via
    .
    , or
    Ctrl+Space
    IntelliJ shows a popup for a sec before hiding, shows another for a sec before finally hiding the popup without showing another one (aka the "Houdini" code completion popup ✨).
    ➕ 1
    n
    a
    • 3
    • 2
  • b

    bjonnh

    03/12/2021, 6:47 PM
    I'm trying to install the Kotlin 1.5.0-M1 plugin in IntelliJ EAP, but it doesn't let me do it (keeps telling that 1 .4.21 is the last one). I have "Early Access Preview 1.5.x" setup in kotlin plugin options
    r
    • 2
    • 2
  • j

    Jeff Tycz

    03/14/2021, 4:08 AM
    I made a kotlin console application and I can run it just fine inside Intellij IDE but when I build the jar file and try to run it I get an error saying
    Error: Could not find or load main class MainKt
    I followed the Creating your first java application article on the jetbrains site so I dont know what the problem is. I created a StackOverflow question with more details
    m
    • 2
    • 10
  • r

    ribesg

    03/15/2021, 9:57 AM
    What do you do when IDEA gives you the “Kotlin not configured”? Invalidating caches & restart + Gradle cache/daemon cleanup doesn’t work this time
    ➕ 1
    c
    • 2
    • 3
  • c

    christophsturm

    03/17/2021, 7:20 PM
    latest idea eap still uses kotlin 1.4.21. whats up with that?
    m
    • 2
    • 4
  • c

    Claude Brisson

    03/22/2021, 8:50 AM
    Does intellij idea use some ktor classes internally? Whenever I try to build a custom ktor version, under a custom version name and on a private maven repo, there are some ktor source files (and corresponding modifications) that are never seen by idea (even after totally emptying local maven and gradle caches and disabling
    mavenLocal()
    ). See the attached picture for files in the ktor-server-host-common-jvm/io.ktor.server.engine/ package : idea shows a mix of source and class files in the same package! And my modifications on DefaultEnginePipeline never reach the runtime, I don't understand where idea fetches the old version.
    a
    • 2
    • 2
  • r

    Rob Elliot

    03/25/2021, 8:51 AM
    Does anyone know of a good place to discuss IntelliJ generally, short of raising an issue in the Jetbrains YouTrack? The Discord JetBrains Community doesn’t seem to get much traffic.
    c
    • 2
    • 5
  • r

    ribesg

    03/26/2021, 9:41 AM
    Is there a secret trick to make JVM modules see MPP modules as dependencies in multi-module projects in IntelliJ ?
    implementation(project(":path:to:module"))
    does work and compiles but IntelliJ doesn’t see it, it’s a bug in the Kotlin plugin maybe?
    m
    • 2
    • 6
  • i

    Ivan Pavlov

    03/26/2021, 11:31 AM
    Is it a known problem that Editor -> Kotlin -> Wrapping and Braces -> Function call arguments configuration doesn't work? First screen is how it looks now, second one is how I suppose it should work
    w
    • 2
    • 5
  • v

    vineethraj49

    03/28/2021, 5:41 PM
    does someone have notes on how to get this working with maven: https://github.com/JetBrains/inspection-plugin ?
    a
    • 2
    • 1
  • r

    ribesg

    03/29/2021, 10:05 AM
    Seriously when did IntelliJ become this bad? It used to be the most stable thing and now even the most basic project is just red everywhere. “Invalidate Caches” is not a solution, it’s a workaround (when it works after doing it 9001 times in a row-). #FixIntelliJ
    👀 2
    j
    c
    a
    • 4
    • 11
  • s

    suresh

    03/29/2021, 5:04 PM
    https://youtrack.jetbrains.com/issue/KTIJ-1186 https://youtrack.jetbrains.com/issue/KT-45338 2021.1 still ships with old kotlin plugin. Any update on when will this be available on IJ 2021.1 ?
    ➕ 8
    a
    n
    • 3
    • 3
  • i

    ivanmorgillo

    03/31/2021, 2:13 PM
    soooo... a little bird told me that... ehm.... there could be the possibility... ehmmm to get IntelliJ discount codes for some of my Android course students 😬 I already got a 100% discount code from the Android Developers Italy . Any chances to get some more? They used IJ Ultimate during the course and I don't want them to switch to Android Studio 😂
    t
    c
    +4
    • 7
    • 8
  • m

    marzelwidmer

    04/01/2021, 1:53 PM
    Hello is it possible to create android eg KMM apps with IntelliJ Ultimate are there plugins etc.. or is the advise to use Android Studio ?
    ➕ 1
    c
    a
    • 3
    • 3
  • b

    bod

    04/03/2021, 7:22 PM
    I rebooted IJ and cannot reproduce the issue 😮
    f
    • 2
    • 3
  • j

    John Moore

    04/05/2021, 2:07 AM
    Hi all! I can’t seem to figure out how to disable these inline hints that display
    this
    context for a lambda. I’m using IDEA CE 2020.2.3 - What is the actual setting called?
    e
    a
    • 3
    • 4
  • c

    christophsturm

    04/07/2021, 3:48 PM
    idea 2021.1 is logging one error per second: https://ea.jetbrains.com/browser/ea_reports/6349028 (50 times already in the last minute)
    w
    a
    • 3
    • 6
  • m

    marzelwidmer

    04/07/2021, 7:38 PM
    This version of the Android Support plugin for IntelliJ IDEA (or Android Studio) cannot open this project, please retry with version 2020.3.1 or newer.
    after upgrade . Intelij and Android Studio have anybody the same issues ?
    j
    • 2
    • 3
  • m

    marzelwidmer

    04/08/2021, 12:27 PM
    Me again 🙂 questions from MOBILE rookie 🙂 is it possible to export the IDEA keybindings and import it in XCODE ? my first tries … was not really a success Story 😞 I want get in touch with all the KMM stuff but I don’t want learn other shortcuts 🙂 I will ask also in the KMM room 🙂
    a
    • 2
    • 1
  • e

    Emil Kantis

    04/08/2021, 5:23 PM
    Anyone else have issues with being unable to re-order run configurations in IntelliJ? Using IU-203.7148.57, but I've had this issue for months at this point..
    a
    • 2
    • 2
  • d

    dodalovic

    04/09/2021, 7:49 AM
    Hi, guys, anyone had an issue when debugging kotlin / spring projects in IntelliJ Like, in the variables view I'm not seeing all the variables that should be in the scope
    a
    • 2
    • 2
  • r

    robstoll

    04/09/2021, 8:50 AM
    Since the update to 2021.1 the search index seems to be broken all the time. Searching in files does not work, neither search for classes, search in the git history etc. The only thing which helps seems to be a invalidate cache. But I need to do this every day at least once 😞
    c
    r
    • 3
    • 3
  • t

    Tomasz Krakowiak

    04/12/2021, 6:00 PM
    Is there anywhere I could get kotlin plugin 1.5-m2 build for IDEA 2021.1?
    👀 1
    ➕ 1
    • 1
    • 1
Powered by Linen
Title
t

Tomasz Krakowiak

04/12/2021, 6:00 PM
Is there anywhere I could get kotlin plugin 1.5-m2 build for IDEA 2021.1?
👀 1
➕ 1
Just changed plugin metadata, so far works fine.
View count: 1