https://kotlinlang.org logo
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
  • j

    jtonic

    05/25/2018, 5:22 AM
    What I would like to know is if there is a way to search for a FQN-like property in *.yaml file. For instance how can I search for server.port (both in properties, yaml and java files), considering I have the following in a yaml file,
    server:
      port: 8080
    Thank you, and sorry for bothering with smth not related to kotlin idea plugin.
    s
    g
    • 3
    • 10
  • k

    kartikpatodi

    06/03/2018, 11:48 PM
    Could not generate LightClass
    for Kotlin plugin Can anyone explian what is this? I am recieving this in Android Studio 3.2 latest Canary 16
    :google: 1
  • c

    Czar

    06/07/2018, 8:29 PM
    I think something happened in latest version of intellij, I'm constantly loosing focus when using dialogs like Ctrl+shift+(A|N|etc.) then I have to click in the editor to get the cursor again.
    ➕ 1
    👆 2
    d
    n
    • 3
    • 3
  • h

    Hamza

    06/10/2018, 9:21 AM
    nevermind, fixed it!
    l
    • 2
    • 2
  • h

    Hamza

    06/10/2018, 5:20 PM
    oh, ok
    k
    • 2
    • 20
  • o

    orangy

    06/10/2018, 9:37 PM
    Is it a multiplatform project?
    i
    • 2
    • 4
  • p

    passsy

    06/11/2018, 12:22 PM
    Can somebody explain me why some IntelliJ updates work with the in app updater and sometimes I have to download a new version from the website? What are changes the internal updater can’t apply?
    c
    p
    +2
    • 5
    • 5
  • h

    hho

    06/14/2018, 6:47 AM
    There's a Kotlin 1.2.50 blog post up, but my IntelliJ EAP can't find a new Kotlin plugin version... 😢
    s
    r
    • 3
    • 9
  • k

    karelpeeters

    06/15/2018, 2:49 PM
    At least that's what I think it does, since it's never the answer on any stackoverflow post about this problem.
    🤔 1
    g
    • 2
    • 4
  • b

    bj0

    06/20/2018, 5:51 PM
    still haven't been able to find a workaround for this issue: https://stackoverflow.com/questions/49948045/module-library-jar-not-shown-in-external-libraries-in-android-studio
    s
    • 2
    • 1
  • c

    christophsturm

    06/27/2018, 11:38 AM
    is it possible to find where an exception is thrown? maybe by selecting find usage on the catch statement?
    c
    h
    • 3
    • 5
  • i

    ikt

    07/01/2018, 7:36 PM
    In IntelliJ, is there a way to have "// todo: " to specify some sort of priority / identation, so I can have a list of indented todos in a hierarchy tree, where clicking on them brings me to the relevant file
    g
    • 2
    • 1
  • c

    christophsturm

    07/02/2018, 6:54 PM
    whats the easiest way to ensure that all my coworkers are using the same kotlin code style settings? is there a file i can check into git? I used to check
    .idea/codeStyles/codeStyleConfig.xml
    into git but it seem that file does not change when i change the code style settings
    l
    • 2
    • 1
  • s

    Slackbot

    07/06/2018, 2:01 PM
    This message was deleted.
    o
    • 2
    • 1
  • k

    karelpeeters

    07/07/2018, 10:49 AM
    Did you try to open the respective settings"? Maybe the paths to the installations are just wrong?
    h
    g
    • 3
    • 5
  • a

    ahmedre

    07/07/2018, 11:05 AM
    Hi - I was wondering, does structural search and replace work with Kotlin? Under file types, I don’t see Kotlin files there (and switching to java source complains about being malformed because of
    ;
    ) - am I missing something or does it not work for Kotlin files yet? (tried searching the bug tracker and didn’t see anything - and saw someone asked it here before but because i can’t access history of old messages, can’t figure out what was told to them).
    l
    • 2
    • 1
  • s

    Slackbot

    07/10/2018, 12:40 AM
    This message was deleted.
    k
    • 2
    • 1
  • t

    tipsy

    07/14/2018, 7:14 PM
    anyone else having trouble with the 1.2.51 plugin not installing properly?
    k
    • 2
    • 1
  • c

    christophsturm

    07/19/2018, 12:52 PM
    why do i get a unchecked cast warning when using
    as?
    c
    a
    s
    • 4
    • 7
  • r

    rocketraman

    07/24/2018, 2:24 PM
    Anyone else have very high editor latency from IJ while editing (some) Kotlin files, plugin 1.2.51?
    o
    • 2
    • 4
  • p

    poohbar

    07/26/2018, 12:12 PM
    I keep getting:
    Your version of Kotlin runtime in 'Maven: org.jetbrains.kotlin:kotlin-stdlib:1.2.40' library is 1.2.40-release-66 (1.2.40), while plugin version is 1.2.51-release-IJ2018.2-1.
    							Runtime library should be updated to avoid compatibility problems.
    Even though my pom.xml has
    <kotlin.version>1.2.51</kotlin.version>
    j
    • 2
    • 2
  • i

    Ian

    07/28/2018, 7:02 PM
    Anyone have any idea why I’d be getting this warning in IntelliJ? The primary constructor clearly isn’t empty here.
    c
    • 2
    • 3
  • j

    james.ayvaz

    07/29/2018, 6:02 PM
    macOS + IntelliJ CE 2018.02 + kotlin master branch is constantly “Scanning for files to index” and from the logs. Is a workaround?
    2018-07-29 10:58:41,929 [ 616011]   INFO - pl.ProjectRootManagerComponent - project roots have changed 
    2018-07-29 10:58:42,574 [ 616656]   INFO - .diagnostic.PerformanceWatcher - Pushing properties took 608ms; general responsiveness: ok; EDT responsiveness: ok 
    2018-07-29 10:58:42,651 [ 616733]   INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 72ms; general responsiveness: ok; EDT responsiveness: ok
    • 1
    • 1
  • e

    elect

    07/30/2018, 8:18 AM
    it happens to me often that I pull, I run, get errors, then I realize I need to sync gradle..
    c
    • 2
    • 3
  • s

    supaham

    08/01/2018, 2:54 AM
    I apologise if this has been brought up before, but after updating intellij to 2018.2 and kotlin to 1.2.51 (or higher) a dependency that I compiled with Kotlin doesn't seem to get recognised in my current project when writing in .kt, but if i write in .java the references to the dependency are recognised
    c
    s
    d
    • 4
    • 18
  • r

    robin

    08/03/2018, 3:14 PM
    I've been getting this particular exception from the Kotlin plugin everytime I start IntelliJ for a while now. Happened on 1.2.51 as well as 1.2.60 and the 1.3 EAP, manually deleting the cache folder mentioned in the Exception didn't help either. Anyone know what that's about?
    -.kt
    s
    • 2
    • 3
  • n

    napperley

    08/06/2018, 11:13 PM
    Has anyone encountered a code comment incorrectly detected as a TODO in IntelliJ?
    :youtrack: 1
    b
    • 2
    • 1
  • j

    jmfayard

    08/09/2018, 8:48 AM
    does that warrant a request in the issue tracker?
    c
    • 2
    • 2
  • g

    gregopet

    08/10/2018, 11:12 AM
    Ah, forgot to mention, tests are run using Gradle
    d
    • 2
    • 2
  • a

    ahegazy

    08/15/2018, 1:29 PM
    Search/Replace structurally not yet available in Kotlin! Any plans for that?
    b
    • 2
    • 2
Powered by Linen
Title
a

ahegazy

08/15/2018, 1:29 PM
Search/Replace structurally not yet available in Kotlin! Any plans for that?
b

beholder

08/15/2018, 1:39 PM
You can vote for it https://youtrack.jetbrains.com/issue/KT-10176
👍 1
a

ahegazy

08/15/2018, 1:51 PM
Done! Thanks! 🙂
View count: 1