jkbbwr
01/26/2021, 1:43 PMjavax.inject
never resolves. Even though the code compiles fine via gradle, intellij still complains.Colton Idle
01/26/2021, 5:49 PMDariusz Kuc
01/26/2021, 8:29 PMjava.lang.Class
etc, any ideas?rkeazor
01/28/2021, 6:21 AMholgerbrandl
01/28/2021, 7:48 PM@param paramName bla bla
for a method parameter?thana
01/29/2021, 4:10 PMchristophsturm
02/01/2021, 5:40 PMchristophsturm
02/02/2021, 4:23 PMmelatonina
02/02/2021, 8:55 PMchristophsturm
02/03/2021, 9:15 AMJavier
02/03/2021, 4:24 PMholgerbrandl
02/05/2021, 11:03 AMthis
objects? It's driving me nuts since some weeks that these are constantly missing and just the main this
is present in the variable view. Example:mbonnin
02/05/2021, 5:17 PM2021-02-05 18:12:08,146 [ 725650] INFO - il.indexing.FileBasedIndexImpl - Rebuild requested for index Stubs
com.intellij.util.indexing.StorageException: java.nio.file.NoSuchFileException: mvn-ea86bec8a5ee731487fd356d3f92904fd049a1c2f7d79d1c8f66da0a255e730f-f0d166cf0962/Stubs/org.jetbrains.kotlin.idea.stubindex.KotlinExactPackagesIndex/org.jetbrains.kotlin.idea.stubindex.KotlinExactPackagesIndex.storage.keystream
at com.intellij.indexing.shared.platform.impl.HashBasedMapReduceIndex$MyMapIndexStorage.processKeys(HashBasedMapReduceIndex.java:137)
at com.intellij.util.indexing.impl.storage.VfsAwareMapReduceIndex.lambda$processAllKeys$2(VfsAwareMapReduceIndex.java:347)
at com.intellij.util.ConcurrencyUtil.withLock(ConcurrencyUtil.java:229)
at com.intellij.util.indexing.impl.storage.VfsAwareMapReduceIndex.processAllKeys(VfsAwareMapReduceIndex.java:346)
Does that ring any bell?Haris Khan
02/06/2021, 6:23 PMJavier
02/08/2021, 10:38 AMNikolay Kasyanov
02/09/2021, 9:49 AMsuresh
02/11/2021, 7:55 PMmarzelwidmer
02/14/2021, 6:43 AM-Xms1024m
-Xmx2048m
-XX:ReservedCodeCacheSize=240m
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-ea
-XX:CICompilerCount=2
-Dsun.io.useCanonPrefixCache=false
-Djdk.http.auth.tunneling.disabledSchemes=""
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-Djdk.attach.allowAttachSelf=true
-Dkotlinx.coroutines.debug=off
-Djdk.module.illegalAccess.silent=true
-XX:+UseCompressedOops
-Dfile.encoding=UTF-8
-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log
-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof
On aSudhir Singh Khanger
02/16/2021, 3:22 AMfun main() {
println("hello")
}
I can run it in a terminal using kotlinc Somefile.kt -include-runtime -d output.jar
and java -jar output.jar
. But how do I create the configuration to run it within Intellij.dave08
02/16/2021, 2:38 PMvineethraj49
02/17/2021, 2:12 PMdave08
02/18/2021, 3:12 PMspand
02/19/2021, 11:53 AMRob Elliot
02/23/2021, 3:04 PMChris Ruddell
02/23/2021, 8:18 PM?
notation instead of force-unwrapping (!!
) everything. I understand the force-unwrapping allows it to be more in a state where it can compile, but I assume most of us go through and replace all those with optionals anyway to ensure null safety. If there is a way of changing that default behavior, please let me know.christophsturm
02/24/2021, 1:56 PMribesg
02/25/2021, 12:58 PMchristophsturm
02/26/2021, 3:34 PMdimsuz
03/03/2021, 1:40 PMclass Builder {
fun withSomeAction(action: (P) -> Unit)
}
and autocomplete this on usage site, IDE turns this into
Builder().withSomeAction { }
which sometimes leads to programmer errors when actions are an object.
Instead I'd like to have
Builder().withSomeAction(action)
Is there a way to give IDE a hint I don't want to expand here?
I recall there was some YouTrack issue about this, but I can't find it.Orhan Tozan
03/03/2021, 2:56 PM