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
  • h

    holgerbrandl

    09/11/2017, 3:06 PM
    I’ve setup the example project from https://github.com/JetBrains/kotlin-examples/tree/master/gradle/hello-world. Initially it looked all good, but as soon as I change the version to 1.1.4-3 and wait to for gradle to refresh the project, all stdlib calls turns(and stays) red.
    k
    • 2
    • 3
  • n

    napperley

    09/13/2017, 12:45 AM
    Have a very weird problem where IntelliJ isn't recognising a project as a Gradle project. You will soon see what I mean by Git cloning the project: https://github.com/webscene/webscene-client.git
    y
    • 2
    • 1
  • s

    selckin

    09/13/2017, 9:00 PM
    the amount of times i've closed my browser tab with ctrl-w while writing in a textfield
    😒imple_smile: 2
    ➕ 2
    k
    y
    j
    • 4
    • 5
  • j

    jdiaz

    09/14/2017, 8:09 PM
    Is there any updates on https://youtrack.jetbrains.com/issue/KT-17811 ? It is kinda annoying because I can't run tests or debug with the IDE 😞
    y
    • 2
    • 1
  • k

    karelpeeters

    09/14/2017, 8:47 PM
    Is there a way to add Javascript sources in Idea for Kotlin? Right now I only see the
    .kjsm
    files when I got to declaration.
    y
    • 2
    • 1
  • d

    diego-gomez-olvera

    09/20/2017, 10:08 AM
    if IDEA is not going to 'decompile to Kotlin', it would be good if there would be an easy way to share sources for libraries that are open source. Are there any plans about it? https://youtrack.jetbrains.com/issue/KT-19808
    d
    n
    • 3
    • 4
  • t

    trevjones

    09/20/2017, 8:41 PM
    perhaps rework the decompiler to use the UAST as output then write plugins that can best effort convert UAST to kotlin/java/whatever?
    b
    • 2
    • 2
  • t

    tapchicoma

    09/21/2017, 7:19 AM
    do I need some special configuration for
    kapt
    in IDEA? I've applied to gradle module
    kotlin-kapt
    plugin and added
    kapt ...
    in dependencies, but no classes are generated after gradle sync.
    b
    d
    • 3
    • 5
  • d

    Dalinar

    09/25/2017, 4:27 AM
    does anyone know what I should search for in CTRL-SHIFT-A (Search for option or action) to find the inspection for unused anonymous parameters, I want to disable it. I find I often don't use all the parameters available
    y
    d
    • 3
    • 3
  • k

    kirillrakhman

    09/25/2017, 11:42 AM
    Shouldn't https://github.com/JetBrains/kotlin/blob/master/idea/src/org/jetbrains/kotlin/idea/intentions/ReplaceArrayEqualityOpWithArraysEqualsIntention.kt use
    contentEquals
    instead of
    Arrays.equals
    ? The benefit would be platform independence.
    y
    m
    • 3
    • 7
  • i

    Ian

    09/27/2017, 12:31 AM
    Hey guys, does anyone happen to know whether the Java Stream Debugger plugin will work with Kotlin sequences? https://goo.gl/sNUhwL
    o
    • 2
    • 1
  • k

    karelpeeters

    09/27/2017, 7:04 AM
    @ribesg This group is for Kotlin-Idea related things.
    r
    • 2
    • 5
  • b

    bj0

    09/30/2017, 3:54 PM
    I'm getting this error: "This declaration is only available since Kotlin 1.1 and cannot be used with the specified API version 1.0", but I am not specifying
    apiVersion
    , and 1.1 is supposed to be the default right? I'm using 1.1.51
    k
    l
    • 3
    • 19
  • z

    ziggy42

    09/30/2017, 4:30 PM
    I may have been dreaming but I think I've seen someone recently with an hidden menu bar in intellij (not in fullscreen). Is it possible?
    k
    • 2
    • 2
  • m

    megamiun

    10/05/2017, 2:51 AM
    PS: Sorry for the quality of my english, portuguese is my native language.
    k
    • 2
    • 4
  • g

    gert.claeskens

    10/10/2017, 10:47 AM
    where can i create a ticket for IntelliJ? seems the built-in check for unused methods, flags a method which is used as method reference (Not Kotlin related, also in Java)
    g
    • 2
    • 2
  • e

    Eugen Martynov

    10/10/2017, 9:44 PM
    I want to replace some function names
    k
    • 2
    • 2
  • k

    Kulwinder Singh

    10/11/2017, 2:42 AM
    Android studio best syntax highlighting theme and also easy on eyes ?
    d
    k
    • 3
    • 3
  • f

    fitermay

    10/11/2017, 12:09 PM
    any plans to make plugin devkit work with Kotlin?
    y
    • 2
    • 1
  • b

    barteks2x

    10/11/2017, 3:08 PM
    it started working all by itself after it re-indexed something for the 10th time
    j
    • 2
    • 1
  • c

    christophsturm

    10/12/2017, 6:53 AM
    is there something like the java stream debugger planned for kotlin?
    y
    • 2
    • 1
  • m

    Max Russek

    10/13/2017, 12:49 AM
    Is there any efficient way of extracting a constant in intellij? I know that you extract a field, and then move it to the companion object, and then mark it as
    const
    , but in Java, it was a single intention action to move it to a static final field. Is there any equivalent for kotlin?
    e
    • 2
    • 1
  • b

    barteks2x

    10/13/2017, 8:49 PM
    @karelpeeters quickly is relative. When I have to wait 3 days to get a reply and send a few back-and-forth messages that way, and I no longer need the issue to be fixed 1 week later, it can be annoying and I will forget about it sooner or later.
    k
    • 2
    • 4
  • n

    napperley

    10/17/2017, 3:46 AM
    Important to note that the repo (https://github.com/vert-x3/vertx-examples/tree/3.5.0-staging) contains a few Gradle projects which aren't recognised by IntelliJ, only the Maven ones are recognised.
  • c

    cleiter

    11/06/2017, 7:48 PM
    @christoph.pickl move the focus to the class name, not the function name
    c
    • 2
    • 1
  • h

    holgerbrandl

    11/08/2017, 6:40 PM
    Maybe the REPL wizards from JB @pavel.talanov or @udalov have an idea for a workaround?
    p
    c
    • 3
    • 3
  • c

    Czar

    11/10/2017, 11:39 AM
    Houston, we have a problem! https://youtrack.jetbrains.com/issue/IDEA-181700 IntelliJ does something strange when importing kotlin-dsl based gradle build. I've replicated same build file in groovy and the problem described in 181700 went away.
    • 1
    • 1
  • r

    richardsilveira

    11/13/2017, 7:08 PM
    hi, after update the kotlin plugin version to 1.1.6 (new release) i got a error message saying wich i have to update the build.gradle script manually, i already do this but the project does not build anymoe, it appears be some issue from IDEA, someone solved it?
    g
    • 2
    • 2
  • k

    kz

    11/14/2017, 6:09 PM
    I'm not sure if this is the right channel to post this but it might be the best one that gets traffic (there is #compiler but it doesn't appear to be used much) I was recently looking into how default parameters are implemented and was curious to see what happens if we have more parameters than a single
    int
    bitmask can store. I like that the compiler just adds more `int`s instead of using something heavier weight (like arrays or
    BitSet
    ). But as I kept playing around I noticed that the compiler will generate bytecode that the JVM will not load. The easiest example is a function with more than 255 parameters (illegal by https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-4.html#jvms-4.11). Is there a valid reason for generating illegal bytecode. Or is the bytecode itself not illegal, it's just invalid?
    d
    • 2
    • 2
  • b

    beholder

    11/16/2017, 7:33 PM
    From IDEA 2017.3-RC release notes:
    bundled Kotlin plugin was updated to the version 1.2
    So, we can guess, what when final 2017.3 will be released, Kotlin 1.2 will go stable?
    c
    c
    • 3
    • 2
Powered by Linen
Title
b

beholder

11/16/2017, 7:33 PM
From IDEA 2017.3-RC release notes:
bundled Kotlin plugin was updated to the version 1.2
So, we can guess, what when final 2017.3 will be released, Kotlin 1.2 will go stable?
c

Czar

11/17/2017, 5:00 AM
Probably, if something unexpected doesn't happen.
c

christophsturm

11/17/2017, 9:51 AM
that’s a nice suprise!
View count: 1