Ben Madore
07/24/2020, 2:55 PMcmd+`
is constantly broken in new and exciting ways?David Glasser
07/24/2020, 4:43 PMrkeazor
07/27/2020, 5:15 PMwasyl
07/28/2020, 7:16 AMcmd+O
find classes
dialog (and in other places, like find usages
)? The search is insanely polluted by all kinds of classes generated by Kapt, but I can’t seem to find a way of only searching in actual, non-generated sources. I feel like in Java it wasn’t an issue, but I might remember wrongbod
07/30/2020, 3:00 PMDavide Giuseppe Farella
07/31/2020, 2:36 PMiFrankWang
08/03/2020, 10:05 AMKtNamedFunction
's return type in form like "`xxx.xxx.TestClass`"? I've only managed to get the short class name as "`TestClass`" with code like this:
ktNamedFunction.getTypeReference().getText()
natpryce
08/03/2020, 1:24 PMBen Madore
08/04/2020, 5:10 PMBen Madore
08/04/2020, 5:31 PMpiyush
08/04/2020, 9:59 PM( <argument> )
in IntelliJ for kotlin function which accepts function as an argument , I mostly use the outside { }
and often times clicks the one with ( )
?
fun foo(block:(String, String) -> Unit){
//Do something
}
andylamax
08/05/2020, 7:47 PMt3wad
08/09/2020, 5:21 PMBen Madore
08/10/2020, 3:50 PMatsushi-koshikizawa
08/12/2020, 7:24 AMdiego-gomez-olvera
08/13/2020, 10:39 AMEugen Martynov
08/13/2020, 9:44 PMbasher
08/17/2020, 9:39 PMGus
08/18/2020, 11:51 AMexplicitApi()
(strict mode). I've fixed all the issues reported (e.g., adding public
where necessary). gradle build
works perfectly, and all the tests pass. However, I have a bunch of internal
classes/properties/functions that I'm using in the tests, and IntelliJ reports them as an error and suggests to make them public, which I don't want. Again, I can run the tests just fine. This is a bug in IntelliJ, isn't it?thana
08/19/2020, 8:42 AMGus
08/20/2020, 12:30 PM13:29:05.342: [relaynet-powebsockets-jvm] git -c credential.helper= -c core.quotepath=false -c log.showSignature=false add --ignore-errors -A -f -- src/test/kotlin/tech/relaycorp/poweb/websocket/MockWebSocketListener.kt src/test/kotlin/tech/relaycorp/poweb/PoWebClientTest.kt src/main/kotlin/tech/relaycorp/poweb/PoWebClient.kt
13:29:05.351: [relaynet-powebsockets-jvm] git -c credential.helper= -c core.quotepath=false -c log.showSignature=false commit -F /tmp/git-commit-msg-.txt --
[parcel-collection d28438b] fixes
3 files changed, 58 insertions(+), 49 deletions(-)
13:29:09.661: [relaynet-powebsockets-jvm] git -c credential.helper= -c core.quotepath=false -c log.showSignature=false push --progress --porcelain origin refs/heads/parcel-collection:parcel-collection
remote: No anonymous write access.
fatal: Authentication failed for '<https://github.com/relaycorp/relaynet-powebsockets-jvm.git/>'
Omar Mainegra
08/24/2020, 4:27 PMfreeCompilerArgs += "-XXLanguage:-NewInference"
flag when configured in gradle, but it isn't the case for me, and sadly there's no more option to disable this in the IDE (The checkbox was removed in the latest Idea Kotlin plugin)Ryan Pierce
08/30/2020, 1:29 AMorg.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.9
coroutines and the 1.4.0-release-Studio4.0-1
Kotlin plugin. However, I don't see coroutines in my debugger menu as shown below. I've restarted and have Disable coroutine agent
un-checked. What am I missing?suresh
08/30/2020, 10:15 AMval copyKotlinTemplates by tasks.registering(Copy::class) {
this.
}
Autocompletion of the above code snippet causing this error.
java.lang.IllegalStateException: Illegal type substitutor: org.jetbrains.kotlin.resolve.calls.inference.components.NewTypeSubstitutorByConstructorMap@7b541476, because for captured type 'CapturedType(out TypeVariable(C))' supertype approximation should be null, but it is: 'TypeVariable(C)',original supertype: 'TaskContainer'
at org.jetbrains.kotlin.resolve.calls.inference.components.NewTypeSubstitutor$DefaultImpls.throwExceptionAboutInvalidCapturedSubstitution(NewTypeSubstitutor.kt:144)
at org.jetbrains.kotlin.resolve.calls.inference.components.NewTypeSubstitutor$DefaultImpls.substitute(NewTypeSubstitutor.kt:93)
...
2020-08-30 03:09:40,382 [1252429] ERROR - on.CompletionProgressIndicator - IntelliJ IDEA 2020.2.1 Build #IU-202.6948.69
2020-08-30 03:09:40,382 [1252429] ERROR - on.CompletionProgressIndicator - JDK: 11.0.8; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o.
2020-08-30 03:09:40,382 [1252429] ERROR - on.CompletionProgressIndicator - OS: Mac OS X
2020-08-30 03:09:40,382 [1252429] ERROR - on.CompletionProgressIndicator - Plugin to blame: Kotlin version: 1.4.0-release-IJ2020.2-1
2020-08-30 03:09:40,382 [1252429] ERROR - on.CompletionProgressIndicator - Last Action: CodeCompletion
Any hint on whats wrong here or is this a kotlin plugin bug?melatonina
08/30/2020, 1:13 PMKris Wong
08/31/2020, 3:56 PMorg.gradle.java.home
in gradle.properties, and none have worked. running my task from the command line works with the latter.jameswald
08/31/2020, 10:16 PMmp
09/01/2020, 5:27 PMnatpryce
09/03/2020, 10:04 PMaList.map(f).filter(p).groupBy(f2)
Extract method will work if I select aList.map(f)
but I’d like to be able to select, say .map(f)
to extract an extension function on the list type.thana
09/04/2020, 9:03 AMinternal
fields and methods defined in the same module but a different source set. Is this a bug or a feature? and is there a way to resolve this issue?thana
09/04/2020, 9:03 AMinternal
fields and methods defined in the same module but a different source set. Is this a bug or a feature? and is there a way to resolve this issue?Alexey Belkov [JB]
09/04/2020, 9:53 AMthana
09/04/2020, 10:06 AMAlexey Belkov [JB]
09/04/2020, 10:08 AM