Prevent annoying tooltip in Kotlin project
Module 'builtins' has no dependency on kotlin-runtime.jar, yet it has a lot of Kotlin files. Add jet.Unit to the list of marker classes as an example of the class not from the stdlib, but from built-ins. Since 'builtins' has jet.Unit in its classpath, no tooltip is displayed
This commit is contained in:
@@ -156,6 +156,8 @@ public class KotlinRuntimeLibraryUtil {
|
|||||||
|
|
||||||
ImmutableList<String> candidateClassNames = ImmutableList.of(
|
ImmutableList<String> candidateClassNames = ImmutableList.of(
|
||||||
kotlinPackageClassFqName,
|
kotlinPackageClassFqName,
|
||||||
|
// For built-ins module in Kotlin project
|
||||||
|
"jet.Unit",
|
||||||
// For older versions
|
// For older versions
|
||||||
"kotlin.namespace",
|
"kotlin.namespace",
|
||||||
// For really old versions
|
// For really old versions
|
||||||
|
|||||||
Reference in New Issue
Block a user