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

    natpryce

    02/20/2019, 8:59 AM
    Hi. IntelliJ 2019.1 will default to using Gradle to build and run tests, but Gradle doesn’t report test names correctly for anything but “vanilla” JUnit test classes. (See issue https://github.com/gradle/gradle/issues/5975). This makes test results very hard to diagnose. Will JetBrains be doing anything to address this problem before 2019.1 is released?
    👍 4
    m
    a
    d
    • 4
    • 6
  • d

    dave

    02/20/2019, 2:52 PM
    Looking at it, I don't even have import and export settings in my file menu..
    k
    j
    • 3
    • 4
  • b

    Bernhard

    02/21/2019, 10:24 AM
    kotlin.parallel.tasks.in.project=true causes this issue
    💯 2
    l
    m
    • 3
    • 2
  • s

    s1m0nw1

    02/27/2019, 10:35 AM
    Is it only me or does IntelliJ become noticeably slower when .kt files are longer than the average? I think I started noticing it in files with around 700+ lines. Anyone else?
    ➕ 2
    c
    e
    +5
    • 8
    • 35
  • e

    efemoney

    03/01/2019, 7:16 AM
    Is there any reason why there isn’t a special plugin for AS 3.5 Canary. I find that in 3.5, latest plugin updates show only the 3.4 version of the plugin. Also, I use the plugins just like that cos I prefer 3.5 Canary to 3.4 Beta, should I be careful that I will run into potential issues? Finally, can someone please summarise to me why there must be different versions of the intelliJ plugin for different IntelliJ/AS versions. Thanks 🙏
    g
    • 2
    • 7
  • g

    gavvvr

    03/01/2019, 4:22 PM
    message has been deleted
    a
    • 2
    • 1
  • o

    otakusenpai

    03/02/2019, 3:42 PM
    Hello, I'm making a new multi-module gradle project in IntelliJ. But when I create a new module, I don't get the option to create a package for it inside IntelliJ. Can you guys tell me what to do?
    d
    • 2
    • 1
  • d

    Dominaezzz

    03/02/2019, 10:44 PM
    True but it was like,
    fun getService() = someFactoryWrittenInJava.getService()!!
    Without the
    !!
    I get a warning to add it and with the
    !!
    I get a warning to remove it. I could explicitly specify the return type but it's not the point.
    k
    l
    • 3
    • 4
  • s

    Scott White

    03/04/2019, 9:46 PM
    also we cannot find a straight story on whether to check in the IML files or not, we currently are checking them in however it's problematic because the user's home directory gets embedded into the class path of the iml file
    m
    c
    • 3
    • 10
  • b

    Bernhard

    03/05/2019, 8:59 AM
    my gradle build copies resources to the build/resources folder as expected but when I run tests with intellij, there are no resources in the out/ directory
    m
    • 2
    • 1
  • d

    Dalinar

    03/06/2019, 11:38 AM
    since 1.3 main arg is not necessary anymore... but... if I run the inspection to remove it .. so that it is
    main()
    then the green run left gutter arrow disappears - is this standard behaviour?
    m
    j
    g
    • 4
    • 7
  • s

    sitepodmatt

    03/10/2019, 1:40 AM
    (and to no I dont want auto-import enabled - its too aggressive with autosave etc..)
    h
    b
    a
    • 4
    • 12
  • b

    bjonnh

    03/10/2019, 8:33 PM
    Does not happen for the other subprojects, am I missing something?
    k
    • 2
    • 14
  • k

    Kirill Zhukov

    03/11/2019, 4:06 PM
    Is there a way to enable final newline (at the end of the file) in Kotlin code style settings? Can’t find it 🤔
    m
    m
    +2
    • 5
    • 16
  • p

    Pere Casafont

    03/13/2019, 7:20 AM
    Is anyone else annoyed at the fact that the java to kotlin conversor creates virtual properties out of all functions which have a get/set prefix? Just to give you an example, in applications such as Spring backends (bean methods) you may want to keep them as functions. All in all, I consider the decision of converting functions into virtual properties shouldn't be taken automatically.
    ➕ 2
    n
    t
    a
    • 4
    • 7
  • d

    dsgryazin

    03/13/2019, 12:17 PM
    Hi! I have two macbooks (16GB and 32GB ram) and an Android project of 700 KLOC on kotlin I want to measure and compare the perfomance of Android Studio on both machines. Could you give me a hint, where to start? How to profile the Idea? Measure FPS?
    g
    • 2
    • 1
  • t

    thana

    03/18/2019, 7:57 AM
    with
    chrome://
    im able to step through javascript code executed... then there a re source maps created by kotlin. now is there a way to attach intellij to a node server so remote debug javascript code which was generated out of my kotlin code?
    n
    • 2
    • 9
  • d

    diego-gomez-olvera

    03/19/2019, 3:09 PM
    if you agree, please upvote https://youtrack.jetbrains.com/issue/KT-30512
    m
    • 2
    • 2
  • t

    thana

    03/22/2019, 2:33 PM
    inside a MPP im trying to run all Tests from intellij by right-clicking on the root-package of
    commonTest
    -> "Run all in …". I'd expect that at least tests for the jvmTarget would be executed but instead a notice pops up informing me that "No tests were found in module …,jvmTest" and i may choose some other module (which, of course, always results in the same error)
    o
    • 2
    • 3
  • t

    thana

    03/26/2019, 10:32 AM
    a few days ago intellij started with a weired behahavior: it stopd reacting in any way to keyboard inputs. neither i can change editor tabs or open settings via keyboard, not i can write anything into the currently open editor> Any idea how to debug? It's really annoying - the only thin i can do is kill it and restart intellij...
    l
    m
    • 3
    • 11
  • t

    thana

    03/27/2019, 3:57 PM
    ^ this problem is still open - anyone?
    c
    • 2
    • 1
  • g

    gmariotti

    03/28/2019, 1:39 PM
    has anyone ever seen this bug? On mac, if I open the
    cmd+shift+a
    action search, type something and
    esc
    , and then again
    cmd+shift+a
    I start getting this window open all the time. And it started all of a sudden both on 2018.3 and 2019.1. Any idea?
    👍 1
    r
    a
    • 3
    • 4
  • r

    robstoll

    04/02/2019, 8:25 AM
    why the hack has the order of the context menu in the version control changed in Intellij 2019.1. I was so used to it and now I have to search again all the time 😞
    l
    m
    • 3
    • 2
  • j

    javaru

    04/02/2019, 1:09 PM
    Despite extensive google searches, I'm not able to find any documentation for the Kotlin predefined functions used in live template variables. Before I open a ticket asking for such, anyone know where these might be documented?
    c
    a
    • 3
    • 4
  • s

    Smallville7123

    04/04/2019, 7:20 AM
    Anyone know how to make a plugin that extends an existing language such as java or kotlin
    c
    • 2
    • 1
  • h

    herlevsen

    04/05/2019, 2:05 PM
    Hi. Can someone help me understanding why IntelliJ does not show the names of the parameters when calling a lambda returned from another function? In this instance i would expect the intellisense to say “country: String” instead of just "String”
    m
    a
    • 3
    • 9
  • k

    Kirill Zhukov

    04/05/2019, 7:25 PM
    Is there a way to set global/default
    idea.vmoptions
    ? Every time I update my IDE I keep forgetting to set
    idea.vmoptions
    for that specific version of IDE…
    a
    • 2
    • 6
  • s

    Smallville7123

    04/07/2019, 5:17 AM
    how long does it take for a kotlin native project to compile
    g
    • 2
    • 2
  • s

    Smallville7123

    04/07/2019, 11:25 AM
    can anyone get https://www.jetbrains.org/intellij/sdk/docs/tutorials/code_inspections.html to work? as its source seems to indicate it does something different as to what the tutorial says it does
    g
    • 2
    • 1
  • s

    Smallville7123

    04/07/2019, 12:44 PM
    if not, how can i modify java's syntax highlighting without having to reimplement java's grammatical and lexical language just to modify its highlighting
    g
    • 2
    • 2
Powered by Linen
Title
s

Smallville7123

04/07/2019, 12:44 PM
if not, how can i modify java's syntax highlighting without having to reimplement java's grammatical and lexical language just to modify its highlighting
g

gildor

04/07/2019, 1:06 PM
Probably only by hacking Java plugin, but again, it's offtopic for this channel and this slack, maybe IDEA forum is a better place to ask
s

Smallville7123

04/08/2019, 12:09 AM
ok
View count: 1