Ian
06/25/2021, 2:41 PMBen Woodworth
07/01/2021, 2:55 PM@Suppress
just fine), but I'm not seeing the inspection warning in the editor, and I don't see the inspection in the IDE settings to enable it... am I missing something?Vladimir Dolzhenko
07/02/2021, 4:04 PM:4
is in 🧵 )addamsson
07/12/2021, 11:10 AMkotlin.jvm.*
imports from my files when I format them. This means that all the @JvmStatic
, @JvmOverloads
, etc annotations now produce a compiler error. What could be the problem? How do I prevent IDEA from doing this?julian
07/13/2021, 12:50 AM"""Foo"""
then hit Return
with the cursor between o
and "
,
the IDE automatically transforms the code to
"""Foo
|
""".trimMargin()
Is there a way to prevent this from happening?willyrs
07/13/2021, 7:48 AMsourceSets["iosArm64Main"].dependsOn(sourceSets["iosMain"])
if I compile everything is ok, but I have an error in the intellij IDE that says that I haven't "actualized" the function in iosArm64Main. How can I get rid of it?christophsturm
07/13/2021, 12:36 PMribesg
07/20/2021, 11:29 AMrkeazor
07/22/2021, 12:38 AMSlackbot
07/23/2021, 1:05 PMSourabh Rawat
07/23/2021, 4:46 PMDependencies
window in IDEA.
java.lang.IllegalArgumentException: !packagesearch.packageoperation.error.gradle.missing.configuration!
poohbar
07/27/2021, 12:05 AMPeter
07/28/2021, 2:03 PM❯ open IntelliJ\ <http://IDEA.app|IDEA.app>
LSOpenURLsWithRole() failed with error -10810 for the file /Applications/IntelliJ IDEA.app.
this affects multiple members on our teamIan
07/29/2021, 6:18 PMRob Elliot
07/30/2021, 10:03 AM.ignore
, a JetBrains plugin installed at v 4.1.0. It reports Incompatible: requires IDE build 211.* or older
. But the plugin page https://plugins.jetbrains.com/plugin/7495--ignore/versions shows v 4.2.0, Compatibility Range 212—213.* available since Jul 28, 2021.napperley
08/01/2021, 3:52 AM// ...
internal fun CPointer<FILE>.readLine(): String = memScoped {
val buffer = alloc<CPointerVar<ByteVar>>()
val len = alloc<ULongVar>()
val bytesRead = getline(__lineptr = buffer.ptr, __n = len.ptr, __stream = this@readLine)
if (bytesRead != -1L) buffer.value?.toKString() ?: "" else ""
}
In the code there is a minor issue where a C pointer has been allocated (via the KotlinX C Interop library), but isn't being used by anything (outside of the getline function). It would be nice if the Kotlin IntelliJ plugin could detect some issues with C interop, and show them as warnings (yellow squigglies), or even better provide some quick fixes for the ones that can be easily fixed.Michael Böiers
08/03/2021, 12:44 PMjeggy
08/04/2021, 12:09 PMrobstoll
08/05/2021, 3:25 PMChilli
08/08/2021, 10:29 PMtypo
and I can see actual typos as well using that, so that is probably not the problem.
The IDEA installation is pretty fresh, I installed it a couple of days ago, I don't recall it working before on this installation (though I'm sure it did on all/most of the previous ones)Colton Idle
08/12/2021, 2:36 AMrobstoll
08/12/2021, 11:33 AMchristophsturm
08/13/2021, 11:01 AMthis
in a with
block?marzelwidmer
08/16/2021, 4:20 PMv79
08/16/2021, 7:57 PMPHondogo
08/20/2021, 1:33 PMvar modifier: Modifier = Modifier
IntellijIdea treat it as redundant explicit type. But = Modifier is companion object : Modifier
.Piotr Krzemiński
08/26/2021, 7:24 AMKotlin: skipping /home/piotr/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-js/1.5.30/3b3f74ca387accb26dd20c274dcb354efdb6c9d9/kotlin-stdlib-js-1.5.30.jar. Incompatible abi version. The current default is '1.4.2', found '1.5.0'. The library produced by 1.5.30-dev-2862 compiler
Any idea where does the "current default" which is 1.4.2 come from?
I'm trying to do it for a JVM Gradle module which depends on a multiplatform module. I ensured that the multiplatform one has the same version of Kotlin and kotlinx libraries, so I don't understand where the 1.4.2 ABI version comes from.mcpiroman
08/26/2021, 9:27 AMNick
08/26/2021, 5:16 PMchristophsturm
08/27/2021, 7:55 AMCannot access class 'io.ktor.http.ContentType'. Check your module classpath for missing or conflicting dependencies