Marc Knaup
06/24/2019, 10:45 AMimport
statement
• min # of blank lines before class header
• min # of blank lines between/before/after functions (i.e. have body)
• min # of blank lines between/before/after function declarations (i.e. have no body)
• min # of blank lines between/before/after variables
Also Minimum Blank Lines … After class header doesn't seem to do anything.simon.vergauwen
06/25/2019, 3:30 PMgregorbg
06/26/2019, 12:33 PM1.3.40
, my IDE complains about One of the tpe variables was implcitly inferred to Nothing. Please, specify type arguments explicitly to hide this warning
for the following (abridged) example:
runBlocking { throw Exception('Nope.') }
When complying with the message, and changing to runBlocking<Nothing> {}
the IDE suggests Remove explicit type arguments
and the type parameter is "greyed out" as usual for redundant generics.
Where should I post the bug? IDEA YouTrack? Kotlin GitHub?rocketraman
06/27/2019, 11:09 PMnapperley
06/28/2019, 11:12 PMRobert
06/29/2019, 10:51 AMGauthierPLM
07/01/2019, 5:23 AMMarc Knaup
07/02/2019, 2:45 PMbar2
is not marked as unused.eskatos
07/02/2019, 3:52 PM-XXLanguage:+NewInference
to the compiler, I couldn’t find a place for compiler arguments in the UI.robstoll
07/02/2019, 7:05 PMBuild
a project include test sources as well in the past?Jacob Applin
07/04/2019, 1:58 PMbootstraponline
07/04/2019, 4:26 PMMarc Knaup
07/05/2019, 4:21 PM123456789
to 123_456_789
.
Thoughts?poohbar
07/05/2019, 4:52 PM@Hello(MY_ENUM_VALUE)
where MY_ENUM_VALUE
is a Kotlin enum. If I just type that (like you see it), the IDE will import Hello
automatically but acts like it has no idea what to import for MY_ENUM_VALUE
even though it is super clear since it knows what type it should be.Matej Drobnič
07/07/2019, 7:49 AMAsynchronousSocketChannel.open()
method blocking? From what I see, it just opens the empty channel (you need to call connect
afterwards, which can be blocking).
suspend fun test() {
val channel = AsynchronousSocketChannel.open()
}
Above method will display warning from IntelliJRobert Menke
07/08/2019, 12:59 AMBen Madore
07/08/2019, 2:25 PMpoohbar
07/10/2019, 1:31 PMpoohbar
07/11/2019, 5:53 PMError:(179, 119) Kotlin: Cannot access built-in declaration 'kotlin.plus'. Ensure that you have a dependency on the Kotlin standard library
Slackbot
07/15/2019, 3:39 PMGary Tierney
07/16/2019, 9:55 PMdokka-fatjar
. IDEA reports any references to the dokka classes within my project as an error, but has indexed them fine (search by Non-Project symbols works). Gradle can still compile my code fine, so it seems like purely an IDEA issue. Does this sound familiar/does anyone have any ideas on how I could go about debugging this?PHondogo
07/18/2019, 5:25 AMchristophsturm
07/22/2019, 9:07 AMchristophsturm
07/24/2019, 9:54 AMkartikpatodi
07/24/2019, 12:41 PMmbonnin
07/27/2019, 5:29 PMe: java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
at java.base/java.lang.Class.getDeclaredConstructors0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3137)
at java.base/java.lang.Class.getConstructor0(Class.java:3342)
at java.base/java.lang.Class.newInstance(Class.java:556)
at org.jetbrains.kotlin.cli.jvm.plugins.ServiceLoaderLite.loadImplementations(ServiceLoaderLite.kt:51)
at org.jetbrains.kotlin.cli.jvm.plugins.ServiceLoaderLite.loadImplementations(ServiceLoaderLite.kt:44)
at org.jetbrains.kotlin.kapt3.ClasspathBasedKapt3Extension$loadProcessors$efficientProcessorLoader$1.doLoadProcessors(Kapt3Extension.kt:83)
at org.jetbrains.kotlin.kapt3.base.ProcessorLoader.loadProcessors(ProcessorLoader.kt:45)
I do have my gradle JVM set to a java8 directory but no matter what, intelliJ will use the internal java11. Is there another setting I'm missing ?Matej Drobnič
07/29/2019, 6:41 AMRemoveExplicitTypeArguments
inspection where inferring type in question is only supported by the new inferrence in IDE and would not compile otherwise? Suppress the warning? Just ignore it?Mike R
08/01/2019, 12:08 AMMike R
08/01/2019, 12:09 AMDico
08/01/2019, 9:05 PM