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

    jkbbwr

    02/20/2018, 11:14 AM
    The embedded version of gradle in intellij is broken as hell
    y
    • 2
    • 4
  • j

    jkbbwr

    02/20/2018, 12:08 PM
    E.g.
    /home/me/projects/work/company/project/build/generated/source/proto/main/java
    c
    r
    • 3
    • 4
  • p

    poohbar

    02/21/2018, 6:02 PM
    tbh I don't understand why there is no JetBrains slack for chats about their products
    c
    • 2
    • 5
  • s

    snowe

    02/22/2018, 10:46 PM
    😢
    c
    • 2
    • 1
  • s

    snowe

    02/22/2018, 10:51 PM
    very strange. https://github.com/JetBrains/kotlin/blob/master/libraries/stdlib/src/kotlin/util/Preconditions.kt
    g
    • 2
    • 2
  • d

    dumptruckman

    02/24/2018, 2:49 AM
    Huh.. I suddenly started having git issues in IntelliJ and WebStorm on both Windows and Linux Mint. Any git operations I try from the IDEs fail but the same operations work from a command line.
    Fetch failed: unable to access '<https://github.com/dumptruckman/simplicity2.git/>': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
    d
    h
    • 3
    • 2
  • p

    Pere Casafont

    02/26/2018, 2:59 AM
    I had a getX and setX as GET and POST operations and it detected them as a val with custom getter and setter
    a
    c
    • 3
    • 5
  • b

    bj0

    02/27/2018, 4:34 PM
    i don't see a way to adjust the auto indentation of comments, so i'm guessing this is a bug, do intellij issues belong on the KT tracker or somewhere else
    c
    s
    • 3
    • 5
  • b

    bj0

    02/27/2018, 4:37 PM
    oh, looks like someone beat me to it: https://youtrack.jetbrains.com/issue/KT-22230
    c
    • 2
    • 4
  • k

    karelpeeters

    02/28/2018, 2:30 PM
    When switching between stable and experimental 1.2.x something went wrong, nothing compiles and the run configurations are broken. Right now I've got
    1.2.30-release-IJ2017.3-1
    installed, is that the current stable one?
    c
    • 2
    • 1
  • k

    karelpeeters

    02/28/2018, 4:37 PM
    Then in what version did the run configurations get fixed?
    d
    • 2
    • 2
  • c

    Czar

    03/02/2018, 9:00 AM
    Strange, I would've thought someone would've reported this before me. Can anyone please confirm that the issue is indeed present? Maybe it's some misconfiguration on my part. https://youtrack.jetbrains.com/issue/KT-23096

    https://snag.gy/0jFct4.jpg▾

    o
    m
    • 3
    • 2
  • k

    karelpeeters

    03/02/2018, 9:02 AM
    message has been deleted
    c
    • 2
    • 1
  • p

    poohbar

    03/02/2018, 1:51 PM
    No I didn't, I don't have an account and I am just too lazy. Sorry guys.
    c
    • 2
    • 1
  • k

    karelpeeters

    03/03/2018, 5:29 PM
    I'm having some trouble getting the Kotlin plugin to work in EAP 2018.1, and updating to
    1.2.30-release-IJ2018.1-1
    doesn't fix it. There's no syntax highlighting, the run configurations aren't recognized µand I get the error
    two facets cannot be loaded
    . Is this a known issue?
    h
    • 2
    • 2
  • j

    johannes.lagos

    03/06/2018, 9:03 AM
    Somebody experienced the same? If I change back to 1.2.21 it works fine
    d
    s
    • 3
    • 4
  • l

    lukas.mega

    03/08/2018, 1:23 PM
    Is this OK? Inspection: Spring | Spring Core | Code | Autowired members defined in invalid Spring bean (Kotlin)
    "Autowired members must be defined in valid Spring bean (@Component|@Service|...)"
    shows this warning for Interface annotated with
    org.springframework.stereotype.Repository
    @Autowired
    protected lateinit var languageRepository: LanguageRepository
    (I'm using latest stable IntelliJ Idea & Kotlin plugin (1.2.30-release-IJ2017.3-1) #spring #intellij
    • 1
    • 1
  • d

    diesieben07

    03/10/2018, 10:27 AM
    What's the opinion on a Refactor > Convert to extension function action? Already exists.
    👍 3
    k
    • 2
    • 6
  • b

    bod

    03/10/2018, 10:32 PM
    Hey guys! I’m doing something like this
    val resolutions = mutableListOf<Source>()
            for (apiSource in apiModel.resolutions) {
                resolutions += ApiSourceConverter.convert(apiSource)
            }
    which could be easily refactored using
    map { }
    , and I’m pretty sure I’ve seen in the past that AS automatically suggested it. I’m currently using IntelliJ Idea and there’s no suggestion. Have I dreamed, or is this a bug, or is this an AS only feature? Thanks!
    s
    • 2
    • 22
  • b

    bombe

    03/17/2018, 11:24 PM
    Is there a convenient way to edit Kotlin source code in files that are in random locations on the disk, i.e. not in a project?
    c
    • 2
    • 2
  • s

    suresh

    03/18/2018, 11:24 PM
    null
    java.lang.AbstractMethodError
    	at org.jetbrains.kotlin.codegen.ImplementationBodyCodegen.generateSyntheticPartsAfterBody(ImplementationBodyCodegen.java:389)
    	at org.jetbrains.kotlin.codegen.MemberCodegen.generate(MemberCodegen.java:145)
    	at org.jetbrains.kotlin.codegen.MemberCodegen.genClassOrObject(MemberCodegen.java:316)
    	at org.jetbrains.kotlin.codegen.MemberCodegen.genClassOrObject(MemberCodegen.java:300)
    	at org.jetbrains.kotlin.codegen.PackageCodegenImpl.generateClassOrObject(PackageCodegenImpl.java:157)
    	at org.jetbrains.kotlin.asJava.builder.LightClassDataProviderForClassOrObject$computeLightClassData$1$1.invoke(LightClassDataProvider.kt:53)
    	at
    s
    • 2
    • 2
  • c

    carlosha.barbosa

    03/19/2018, 5:34 PM
    Hello guys, Anyone ever worked with jfrog artifactory in intellij?
    o
    • 2
    • 1
  • z

    ziggy42

    03/21/2018, 4:45 PM
    Who decides if a function is not used,
    kotlinc
    or
    Intellij
    ?
    c
    k
    • 3
    • 4
  • c

    christophsturm

    03/26/2018, 2:16 PM
    writing java code for the first time in a year i must say that kotlin is nicer to read, but java is just as easy to write, idea fills in all the verbosity and boilerplate automatically.
    d
    a
    p
    • 4
    • 6
  • s

    s1m0nw1

    03/29/2018, 6:50 AM
    After installing 2018.1, Kotlin isn’t supported in the IDE anymore, files are shown as simple text, “Kotlin” isn’t listed in Settings->Languages&Frameworks What did I do wrong?
    c
    • 2
    • 1
  • g

    gaetan

    03/30/2018, 1:03 PM
    I have errors with IJ 2018.1 but the “Report to JetBrains” is not available.
    o
    a
    • 3
    • 2
  • p

    perryprog

    03/30/2018, 9:40 PM
    it’s the normal gradle DSL, should’ve posted in #random
    c
    • 2
    • 1
  • o

    o.semen

    04/03/2018, 7:08 AM
    what is it for and what is the proper way of creating multiplatform project ? BTW (it also created src/main|test/kotlin|java|resources folders in jvs and js modules)
    a
    • 2
    • 3
  • j

    javaru

    04/03/2018, 3:39 PM
    In IntelliJ IDEA, is there a shortcut (or other easy way) to insert a set of triple quotes ending with the cursor in the middle? Basically this:
    """$END$"""
    . Or do I need to use my own live template for this?
    p
    • 2
    • 5
  • p

    poohbar

    04/04/2018, 2:19 PM
    I think there are some serious performance regressions in 2018.1, editor is noticeably slower and the database tool is lagging during scrolling like crazy. It's so frustrating to be afraid of every update.
    😐 1
    h
    g
    • 3
    • 2
Powered by Linen
Title
p

poohbar

04/04/2018, 2:19 PM
I think there are some serious performance regressions in 2018.1, editor is noticeably slower and the database tool is lagging during scrolling like crazy. It's so frustrating to be afraid of every update.
😐 1
h

holgerbrandl

04/04/2018, 2:24 PM
same here! 😐
g

gaetan

04/04/2018, 11:08 PM
I had to switch back… It feels a little bit like gradle. You wait until X.5 to upgrade 😉.
View count: 1