From e60000ae85c4e2f2dcabd56281cbf0c3e2ad3276 Mon Sep 17 00:00:00 2001 From: Roman Golyshev Date: Thu, 29 Aug 2024 12:39:41 +0200 Subject: [PATCH] KTIJ-29428 [kotlin] Replace absolute paths to Kotlin icons with symbolic ones It is now possible after IJPL-43721 was fixed ^KTIJ-29428 Fixed GitOrigin-RevId: e63a910e998b45fcb78209255401399d0a345166 --- .../idea/k2/codeinsight/quickDoc/KotlinDocumentationTarget.kt | 4 ++-- .../org/jetbrains/kotlin/idea/KotlinDocumentationProvider.kt | 4 ++-- .../tests/testData/editor/quickDoc/AbstractCallableInClass.kt | 4 ++-- .../testData/editor/quickDoc/AbstractCallableInInterface.kt | 2 +- .../kotlin/idea/tests/testData/editor/quickDoc/Annotation.kt | 4 ++-- .../tests/testData/editor/quickDoc/AnnotationWithUseSite1.kt | 4 ++-- .../tests/testData/editor/quickDoc/AnnotationWithUseSite2.kt | 4 ++-- .../testData/editor/quickDoc/AtConstantWithUnderscore.kt | 2 +- .../idea/tests/testData/editor/quickDoc/AtTypeParameter.kt | 2 +- .../kotlin/idea/tests/testData/editor/quickDoc/DataClass.kt | 4 ++-- .../tests/testData/editor/quickDoc/DataClassOnConstructor.kt | 4 ++-- .../tests/testData/editor/quickDoc/DefinitelyNonNullType.kt | 4 ++-- .../testData/editor/quickDoc/DeprecationWithReplaceInfo.kt | 4 ++-- .../testData/editor/quickDoc/EscapeHtmlInsideCodeBlocks.kt | 2 +- .../idea/tests/testData/editor/quickDoc/ExtensionReceiver.kt | 4 ++-- .../tests/testData/editor/quickDoc/ExtensionReceiverEnd.kt | 4 ++-- .../kotlin/idea/tests/testData/editor/quickDoc/Formatting.kt | 2 +- .../kotlin/idea/tests/testData/editor/quickDoc/FromStdlib.kt | 2 +- .../idea/tests/testData/editor/quickDoc/FunctionalReceiver.kt | 4 ++-- .../idea/tests/testData/editor/quickDoc/IndentedCodeBlock.kt | 2 +- .../kotlin/idea/tests/testData/editor/quickDoc/InlineClass.kt | 2 +- .../idea/tests/testData/editor/quickDoc/InlineValueClass.kt | 2 +- .../testData/editor/quickDoc/JavaDocFromOverridenClass.kt | 2 +- .../testData/editor/quickDoc/JavaDocFromOverridenInterface.kt | 2 +- .../idea/tests/testData/editor/quickDoc/JvmFieldAnnotation.kt | 4 ++-- .../testData/editor/quickDoc/KotlinClassUsedFromJava.java | 2 +- .../idea/tests/testData/editor/quickDoc/LateinitName.kt | 2 +- .../idea/tests/testData/editor/quickDoc/MethodFromStdLib.kt | 2 +- .../tests/testData/editor/quickDoc/OnActualDeclaration.kt | 4 ++-- .../editor/quickDoc/OnActualDeclarationWithInheritedDoc.kt | 2 +- .../editor/quickDoc/OnClassDeclarationWithComplexKDoc.kt | 2 +- .../editor/quickDoc/OnClassDeclarationWithNoPackage.kt | 2 +- .../idea/tests/testData/editor/quickDoc/OnCompanionObject.kt | 4 ++-- .../testData/editor/quickDoc/OnEmptySecondaryConstructor.kt | 2 +- .../tests/testData/editor/quickDoc/OnEnumClassReference.kt | 4 ++-- .../idea/tests/testData/editor/quickDoc/OnEnumDeclaration.kt | 4 ++-- .../kotlin/idea/tests/testData/editor/quickDoc/OnEnumEntry.kt | 4 ++-- .../idea/tests/testData/editor/quickDoc/OnEnumEntryUsage.kt | 4 ++-- .../kotlin/idea/tests/testData/editor/quickDoc/OnEnumUsage.kt | 4 ++-- .../editor/quickDoc/OnFunctionDeclarationWithGFMTable.kt | 2 +- .../editor/quickDoc/OnFunctionDeclarationWithPackage.kt | 2 +- .../tests/testData/editor/quickDoc/OnInheritedMethodUsage.kt | 2 +- .../testData/editor/quickDoc/OnInheritedPropertyUsage.kt | 2 +- .../idea/tests/testData/editor/quickDoc/OnMethodUsage.kt | 2 +- .../tests/testData/editor/quickDoc/OnMethodUsageInParen.kt | 2 +- .../tests/testData/editor/quickDoc/OnMethodUsageMultiline.kt | 2 +- .../editor/quickDoc/OnMethodUsageWithBracketsInParam.kt | 2 +- .../testData/editor/quickDoc/OnMethodUsageWithCodeBlock.kt | 2 +- .../testData/editor/quickDoc/OnMethodUsageWithMarkdown.kt | 2 +- .../editor/quickDoc/OnMethodUsageWithMultilineParam.kt | 2 +- .../testData/editor/quickDoc/OnMethodUsageWithReceiver.kt | 2 +- .../editor/quickDoc/OnMethodUsageWithReturnAndLink.kt | 2 +- .../editor/quickDoc/OnMethodUsageWithReturnAndThrows.kt | 2 +- .../tests/testData/editor/quickDoc/OnMethodUsageWithSee.kt | 2 +- .../editor/quickDoc/OnMethodUsageWithTypeParameter.kt | 2 +- .../OnPrimaryConstructorAnnotatedWithConstructorTag.kt | 4 ++-- .../quickDoc/OnPropertyUsageDocumentedWithPropertyTag.kt | 2 +- .../tests/testData/editor/quickDoc/PropertiesInConstructor.kt | 4 ++-- .../tests/testData/editor/quickDoc/QualifiedNameDocLink.kt | 4 ++-- plugins/kotlin/idea/tests/testData/editor/quickDoc/Samples.kt | 2 +- .../testData/editor/quickDoc/SuperConstructorWithArgs.kt | 4 ++-- .../idea/tests/testData/editor/quickDoc/TailrecFunction.kt | 4 ++-- .../kotlin/idea/tests/testData/editor/quickDoc/TailrecName.kt | 2 +- .../testData/editor/quickDoc/TopLevelMethodFromJava.java | 2 +- .../testData/editor/quickDoc/TypeNamesFromStdLibNavigation.kt | 4 ++-- .../testData/editor/quickDoc/TypeParameterConstraints.kt | 4 ++-- .../tests/testData/editor/quickDoc/UnresolvedAnnotation.kt | 4 ++-- .../multiplatform/OnActualClassWithConstructorFromExpect.kt | 2 +- .../OnActualDeclarationWithDocWhenInheritedDocPresent.kt | 2 +- .../multiplatform/OnActualDeclarationWithInheritedDoc.kt | 2 +- .../editor/quickDoc/renderAnnotatedExtensionFunctionType.kt | 4 ++-- .../testData/kdoc/multiModuleResolve/fqName/code/usage.kt | 2 +- .../testData/kdoc/multiModuleResolve/simple/code/usage.kt | 2 +- .../typeParameters/code/usageNestedTypeParameters.kt | 2 +- .../typeParameters/code/usageSingleTypeParameter.kt | 2 +- 75 files changed, 105 insertions(+), 105 deletions(-) diff --git a/plugins/kotlin/code-insight/kotlin.code-insight.k2/src/org/jetbrains/kotlin/idea/k2/codeinsight/quickDoc/KotlinDocumentationTarget.kt b/plugins/kotlin/code-insight/kotlin.code-insight.k2/src/org/jetbrains/kotlin/idea/k2/codeinsight/quickDoc/KotlinDocumentationTarget.kt index 9b66c9e99da1..10203c84f82e 100644 --- a/plugins/kotlin/code-insight/kotlin.code-insight.k2/src/org/jetbrains/kotlin/idea/k2/codeinsight/quickDoc/KotlinDocumentationTarget.kt +++ b/plugins/kotlin/code-insight/kotlin.code-insight.k2/src/org/jetbrains/kotlin/idea/k2/codeinsight/quickDoc/KotlinDocumentationTarget.kt @@ -162,7 +162,7 @@ private fun getContainerInfo(ktDeclaration: KtDeclaration): HtmlChunk { DocumentationManagerUtil.createHyperlink(link, it, highlighted, false) HtmlChunk.fragment( - HtmlChunk.tag("icon").attr("src", "/org/jetbrains/kotlin/idea/icons/classKotlin.svg"), + HtmlChunk.tag("icon").attr("src", "KotlinBaseResourcesIcons.ClassKotlin"), HtmlChunk.nbsp(), HtmlChunk.raw(link.toString()), HtmlChunk.br() @@ -174,7 +174,7 @@ private fun getContainerInfo(ktDeclaration: KtDeclaration): HtmlChunk { ?.takeIf { ktDeclaration.isTopLevelKtOrJavaMember() } ?.let { HtmlChunk.fragment( - HtmlChunk.tag("icon").attr("src", "/org/jetbrains/kotlin/idea/icons/kotlin_file.svg"), + HtmlChunk.tag("icon").attr("src", "KotlinBaseResourcesIcons.Kotlin_file"), HtmlChunk.nbsp(), HtmlChunk.text(it), HtmlChunk.br() diff --git a/plugins/kotlin/idea/src/org/jetbrains/kotlin/idea/KotlinDocumentationProvider.kt b/plugins/kotlin/idea/src/org/jetbrains/kotlin/idea/KotlinDocumentationProvider.kt index 6fe40b747f25..c2f422d8376c 100644 --- a/plugins/kotlin/idea/src/org/jetbrains/kotlin/idea/KotlinDocumentationProvider.kt +++ b/plugins/kotlin/idea/src/org/jetbrains/kotlin/idea/KotlinDocumentationProvider.kt @@ -577,7 +577,7 @@ class KotlinDocumentationProvider : AbstractDocumentationProvider(), ExternalDoc DocumentationManagerUtil.createHyperlink(this, it.asString(), highlighted, false) } HtmlChunk.fragment( - HtmlChunk.tag("icon").attr("src", "/org/jetbrains/kotlin/idea/icons/classKotlin.svg"), + HtmlChunk.tag("icon").attr("src", "KotlinBaseResourcesIcons.ClassKotlin"), HtmlChunk.nbsp(), HtmlChunk.raw(link.toString()), HtmlChunk.br() @@ -593,7 +593,7 @@ class KotlinDocumentationProvider : AbstractDocumentationProvider(), ExternalDoc ?.takeIf { containingDeclaration is PackageFragmentDescriptor } ?.let { fileName: @NlsSafe String -> HtmlChunk.fragment( - HtmlChunk.tag("icon").attr("src", "/org/jetbrains/kotlin/idea/icons/kotlin_file.svg"), + HtmlChunk.tag("icon").attr("src", "KotlinBaseResourcesIcons.Kotlin_file"), HtmlChunk.nbsp(), HtmlChunk.text(fileName), HtmlChunk.br() diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/AbstractCallableInClass.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/AbstractCallableInClass.kt index 30e18e95b9af..50a192111c59 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/AbstractCallableInClass.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/AbstractCallableInClass.kt @@ -2,6 +2,6 @@ abstract class Foo { abstract fun bar() } -//K2_INFO:
public abstract fun bar(): Unit
 Foo
+//K2_INFO:
public abstract fun bar(): Unit
 Foo
-//INFO:
public abstract fun bar(): Unit

 Foo
+//INFO:
public abstract fun bar(): Unit

 Foo
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/AbstractCallableInInterface.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/AbstractCallableInInterface.kt index 94ec2745732a..efcee5601937 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/AbstractCallableInInterface.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/AbstractCallableInInterface.kt @@ -2,4 +2,4 @@ interface Foo { val bar: String } -//INFO:
public abstract val bar: String
 Foo
+//INFO:
public abstract val bar: String
 Foo
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/Annotation.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/Annotation.kt index 13896dc7d37d..aa397cc31b09 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/Annotation.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/Annotation.kt @@ -1,5 +1,5 @@ annotation class Anno -//K2_INFO:
public final annotation class Anno
 Annotation.kt
+//K2_INFO:
public final annotation class Anno
 Annotation.kt
//INFO:
public final annotation class Anno
-//INFO:     : Annotation
 Annotation.kt
+//INFO: : Annotation
 Annotation.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/AnnotationWithUseSite1.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/AnnotationWithUseSite1.kt index b44948469130..f17c9926fc66 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/AnnotationWithUseSite1.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/AnnotationWithUseSite1.kt @@ -3,7 +3,7 @@ class AnnUseSiteA fun @receiver:AuxAnnC AnnUseSiteA.annUseSiteD() {} annotation class AuxAnnC -//K2_INFO:
public fun @receiver:AuxAnnC AnnUseSiteA.annUseSiteD(): Unit
 AnnotationWithUseSite1.kt
+//K2_INFO:
public fun @receiver:AuxAnnC AnnUseSiteA.annUseSiteD(): Unit
 AnnotationWithUseSite1.kt
-//INFO:
public fun @receiver:AuxAnnC AnnUseSiteA.annUseSiteD(): Unit

 AnnotationWithUseSite1.kt
+//INFO:
public fun @receiver:AuxAnnC AnnUseSiteA.annUseSiteD(): Unit

 AnnotationWithUseSite1.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/AnnotationWithUseSite2.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/AnnotationWithUseSite2.kt index f2efba4a3777..5ed982b11800 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/AnnotationWithUseSite2.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/AnnotationWithUseSite2.kt @@ -4,7 +4,7 @@ annotation class AuxAnnC val annUseSiteF: Int by lazy { 0 } //K2_INFO:
@delegate:AuxAnnC
-//K2_INFO: public val annUseSiteF: Int
 AnnotationWithUseSite2.kt
+//K2_INFO: public val annUseSiteF: Int
 AnnotationWithUseSite2.kt
-//INFO:
@delegate:AuxAnnC public val annUseSiteF: Int
 AnnotationWithUseSite2.kt
+//INFO:
@delegate:AuxAnnC public val annUseSiteF: Int
 AnnotationWithUseSite2.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/AtConstantWithUnderscore.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/AtConstantWithUnderscore.kt index 0cc3bc7a0e6d..e9e2db7012ab 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/AtConstantWithUnderscore.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/AtConstantWithUnderscore.kt @@ -9,4 +9,4 @@ class C { } } -//INFO:
public final fun foo(): Unit

Use SOME_REFERENCED_VAL to do something

 C
+//INFO:
public final fun foo(): Unit

Use SOME_REFERENCED_VAL to do something

 C
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/AtTypeParameter.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/AtTypeParameter.kt index 722ea2831b3e..bf42bd1a479f 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/AtTypeParameter.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/AtTypeParameter.kt @@ -5,4 +5,4 @@ interface Base */ class Some<T: Base> -//INFO:
<T : Base>

this is docs for T

+//INFO:
<T : Base>

this is docs for T

diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/DataClass.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/DataClass.kt index 1d5d3e03f801..267dfc8df9cc 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/DataClass.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/DataClass.kt @@ -3,11 +3,11 @@ data class DataClass(val i: Int, val s: String) //K2_INFO:
public final data class DataClass(
 //K2_INFO:     public final val i: Int,
 //K2_INFO:     public final val s: String
-//K2_INFO: )
 DataClass.kt
+//K2_INFO: )
 DataClass.kt
//INFO:
public final data class DataClass(
 //INFO:     val i: Int,
 //INFO:     val s: String
-//INFO: )
 DataClass.kt
+//INFO: )
 DataClass.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/DataClassOnConstructor.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/DataClassOnConstructor.kt index ebf8fe4ac2d3..bc27a6633c58 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/DataClassOnConstructor.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/DataClassOnConstructor.kt @@ -3,10 +3,10 @@ data class DataClass(val i: Int, val s: String) //K2_INFO:
public constructor DataClass(
 //K2_INFO:     public final val i: Int,
 //K2_INFO:     public final val s: String
-//K2_INFO: )
+//K2_INFO: ) //INFO:
public constructor DataClass(
 //INFO:     val i: Int,
 //INFO:     val s: String
-//INFO: )

+//INFO: )

diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/DefinitelyNonNullType.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/DefinitelyNonNullType.kt index af2ff4ddb3da..18e1456491eb 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/DefinitelyNonNullType.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/DefinitelyNonNullType.kt @@ -7,9 +7,9 @@ fun someFun() { //K2_INFO:
public fun <T> elvisLike(
 //K2_INFO:     x: T,
 //K2_INFO:     y: T & Any
-//K2_INFO: ): T & Any
 DefinitelyNonNullType.kt
+//K2_INFO: ): T & Any
 DefinitelyNonNullType.kt
//INFO:
public fun <T> elvisLike(
 //INFO:     x: T,
 //INFO:     y: T & Any
-//INFO: ): T & Any

 DefinitelyNonNullType.kt
+//INFO: ): T & Any

 DefinitelyNonNullType.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/DeprecationWithReplaceInfo.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/DeprecationWithReplaceInfo.kt index e56f9d3635c2..8fb378d34697 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/DeprecationWithReplaceInfo.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/DeprecationWithReplaceInfo.kt @@ -4,8 +4,8 @@ fun lol() { } //K2_INFO:
@Deprecated(message = "lol no more mainstream", replaceWith = @ReplaceWith(expression = "kek()"))
-//K2_INFO: public fun lol(): Unit
 DeprecationWithReplaceInfo.kt
+//K2_INFO: public fun lol(): Unit
 DeprecationWithReplaceInfo.kt
//INFO:
@Deprecated(message = "lol no more mainstream", replaceWith = @ReplaceWith(expression = "kek()", imports = {}))
-//INFO: public fun lol(): Unit

Deprecated:

lol no more mainstream

Replace with:

kek()

 DeprecationWithReplaceInfo.kt
+//INFO: public fun lol(): Unit

Deprecated:

lol no more mainstream

Replace with:

kek()

 DeprecationWithReplaceInfo.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/EscapeHtmlInsideCodeBlocks.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/EscapeHtmlInsideCodeBlocks.kt index 195dd21f0a5c..2d7934f6d1d2 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/EscapeHtmlInsideCodeBlocks.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/EscapeHtmlInsideCodeBlocks.kt @@ -9,4 +9,4 @@ class A //INFO:
public final class A<T>

Code block:

-//INFO:
A<T>

Code span: <T> is type parameter

 EscapeHtmlInsideCodeBlocks.kt
+//INFO:
A<T>

Code span: <T> is type parameter

 EscapeHtmlInsideCodeBlocks.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/ExtensionReceiver.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/ExtensionReceiver.kt index db29000eb6af..ef33b3fdff7c 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/ExtensionReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/ExtensionReceiver.kt @@ -7,6 +7,6 @@ fun Foo.bar() { foo(this) } -//K2_INFO:
public fun Foo.bar(): Unit
 ExtensionReceiver.kt
+//K2_INFO:
public fun Foo.bar(): Unit
 ExtensionReceiver.kt
-//INFO:
public fun Foo.bar(): Unit

 ExtensionReceiver.kt
+//INFO:
public fun Foo.bar(): Unit

 ExtensionReceiver.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/ExtensionReceiverEnd.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/ExtensionReceiverEnd.kt index 593158eb31be..27a9d4e9b843 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/ExtensionReceiverEnd.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/ExtensionReceiverEnd.kt @@ -7,6 +7,6 @@ fun Foo.bar() { foo(this) } -//K2_INFO:
public fun Foo.bar(): Unit
 ExtensionReceiverEnd.kt
+//K2_INFO:
public fun Foo.bar(): Unit
 ExtensionReceiverEnd.kt
-//INFO:
public fun Foo.bar(): Unit

 ExtensionReceiverEnd.kt
+//INFO:
public fun Foo.bar(): Unit

 ExtensionReceiverEnd.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/Formatting.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/Formatting.kt index 4c59a70009f2..7fd7829106b9 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/Formatting.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/Formatting.kt @@ -8,4 +8,4 @@ fun test() {} //INFO:
public fun test(): Unit

foo bar baz

//INFO:

quote line another quote line

-//INFO:
 Formatting.kt
+//INFO:
 Formatting.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/FromStdlib.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/FromStdlib.kt index d05808c58738..6773c91a5962 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/FromStdlib.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/FromStdlib.kt @@ -3,4 +3,4 @@ class Foo { override fun toString() = "dummy" } -//INFO:
public open fun toString(): String

Returns a string representation of the object.

 Foo
+//INFO:
public open fun toString(): String

Returns a string representation of the object.

 Foo
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/FunctionalReceiver.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/FunctionalReceiver.kt index bc201f548c2f..6346dfaf324f 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/FunctionalReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/FunctionalReceiver.kt @@ -2,8 +2,8 @@ fun ((X) -> Unit).funReceiver(p: X) = this(p) //K2_INFO:
public fun <X> ((X) -> Unit).funReceiver(
 //K2_INFO:     p: X
-//K2_INFO: ): Unit
 FunctionalReceiver.kt
+//K2_INFO: ): Unit
 FunctionalReceiver.kt
//INFO:
public fun <X> ((X) -> Unit).funReceiver(
 //INFO:     p: X
-//INFO: ): Unit

 FunctionalReceiver.kt
+//INFO: ): Unit

 FunctionalReceiver.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/IndentedCodeBlock.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/IndentedCodeBlock.kt index 40ec998142ba..35ece7586932 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/IndentedCodeBlock.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/IndentedCodeBlock.kt @@ -14,4 +14,4 @@ class A //INFO:
public final class A
val a = A()
println(a) // comment
<fenced>Code_block</fenced>
val b = B()
println(b)

some text content

-//INFO:
Indented code block with tab
Second line
 IndentedCodeBlock.kt
+//INFO:
Indented code block with tab
Second line
 IndentedCodeBlock.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/InlineClass.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/InlineClass.kt index 98333d7dec49..cd43af575d8d 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/InlineClass.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/InlineClass.kt @@ -1,3 +1,3 @@ inline class ClassModifierEInline(val p: Int) -//INFO:
public final inline class ClassModifierEInline
 InlineClass.kt
+//INFO:
public final inline class ClassModifierEInline
 InlineClass.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/InlineValueClass.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/InlineValueClass.kt index 25aef1590141..f33a3173273b 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/InlineValueClass.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/InlineValueClass.kt @@ -1,4 +1,4 @@ @JvmInline value class ClassModifierEValue(val p: Int) //INFO:
@JvmInline
-//INFO: public final value class ClassModifierEValue
 InlineValueClass.kt
+//INFO: public final value class ClassModifierEValue
 InlineValueClass.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/JavaDocFromOverridenClass.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/JavaDocFromOverridenClass.kt index e03aa34141b6..a36c2298f87e 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/JavaDocFromOverridenClass.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/JavaDocFromOverridenClass.kt @@ -6,4 +6,4 @@ class A : OverrideMe() { //INFO:
protected open fun overrideMe(): Unit

From class:

OverrideMe
//INFO: Some comment -//INFO:

Overrides:

overrideMe in class OverrideMe

 A
+//INFO:

Overrides:

overrideMe in class OverrideMe

 A
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/JavaDocFromOverridenInterface.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/JavaDocFromOverridenInterface.kt index 9a868a09e586..edb591686897 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/JavaDocFromOverridenInterface.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/JavaDocFromOverridenInterface.kt @@ -6,4 +6,4 @@ class A : OverrideMe { //INFO:
public open fun overrideMe(): Unit

From interface:

OverrideMe
//INFO: Some comment -//INFO:

Specified by:

overrideMe in interface OverrideMe

 A
+//INFO:

Specified by:

overrideMe in interface OverrideMe

 A
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/JvmFieldAnnotation.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/JvmFieldAnnotation.kt index b5033f0cea63..5fed1a7511d9 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/JvmFieldAnnotation.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/JvmFieldAnnotation.kt @@ -7,8 +7,8 @@ class JvmFieldContainerContainer { //K2_INFO:
@Anno
 //K2_INFO: @field:JvmField
-//K2_INFO: public final val jvmField: Int
+//K2_INFO: public final val jvmField: Int //INFO:
@Anno
-//INFO: @field:JvmField public final val jvmField: Int
+//INFO: @field:JvmField public final val jvmField: Int diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/KotlinClassUsedFromJava.java b/plugins/kotlin/idea/tests/testData/editor/quickDoc/KotlinClassUsedFromJava.java index 77c7ba37728e..4517246fb381 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/KotlinClassUsedFromJava.java +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/KotlinClassUsedFromJava.java @@ -6,4 +6,4 @@ class KotlinClassUsedFromJava { } } -//INFO:
public final class Test

Some comment

 testing
 KotlinClassUsedFromJava_Data.kt
+//INFO:
public final class Test

Some comment

 testing
 KotlinClassUsedFromJava_Data.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/LateinitName.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/LateinitName.kt index 53aca8dfa746..509c27fb9902 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/LateinitName.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/LateinitName.kt @@ -2,4 +2,4 @@ class Foo { val lateinit: String = "" } -//INFO:
public final val lateinit: String
 Foo
+//INFO:
public final val lateinit: String
 Foo
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/MethodFromStdLib.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/MethodFromStdLib.kt index 42c22f9a889b..452f54996b9f 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/MethodFromStdLib.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/MethodFromStdLib.kt @@ -4,4 +4,4 @@ fun test() { //INFO:
public inline fun <T> Iterable<T>.filter(
 //INFO:     predicate: (T) -> Boolean
-//INFO: ): List<T>

Returns a list containing only elements matching the given predicate.

Samples:

samples.collections.Collections.Filtering.filter

// Unresolved
 kotlin.collections
 _Collections.kt
+//INFO: ): List<T>

Returns a list containing only elements matching the given predicate.

Samples:

samples.collections.Collections.Filtering.filter

// Unresolved
 kotlin.collections
 _Collections.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnActualDeclaration.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnActualDeclaration.kt index 6d0807dc9892..cf6f6d1b4ce0 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnActualDeclaration.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnActualDeclaration.kt @@ -8,5 +8,5 @@ expect class Foo */ actual class Foo -//K2_INFO:
public actual final class Foo

Doc for actual class Foo

 OnActualDeclaration.kt
-//INFO:
public final actual class Foo

Doc for actual class Foo

 OnActualDeclaration.kt
+//K2_INFO:
public actual final class Foo

Doc for actual class Foo

 OnActualDeclaration.kt
+//INFO:
public final actual class Foo

Doc for actual class Foo

 OnActualDeclaration.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnActualDeclarationWithInheritedDoc.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnActualDeclarationWithInheritedDoc.kt index c398c9febefc..c38d55d10ec0 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnActualDeclarationWithInheritedDoc.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnActualDeclarationWithInheritedDoc.kt @@ -6,4 +6,4 @@ expect class Foo actual class Foo // IGNORE_K2 -//INFO:
public final actual class Foo

Doc for expected class Foo

 OnActualDeclarationWithInheritedDoc.kt
+//INFO:
public final actual class Foo

Doc for expected class Foo

 OnActualDeclarationWithInheritedDoc.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnClassDeclarationWithComplexKDoc.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnClassDeclarationWithComplexKDoc.kt index 38e265781123..c7ae391f8836 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnClassDeclarationWithComplexKDoc.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnClassDeclarationWithComplexKDoc.kt @@ -17,4 +17,4 @@ class Foo(val name: String) { fun howToUse() {} -//INFO:
public final class Foo

General Foo description

Params:

name - param description

Properties:

name - property description

Returns:

Foo instance

Throws:

NullPointerException - NPE description

Authors:

Duke

Since:

42

Suppress:

suppress

See Also:

Class

Samples:

howToUse

 OnClassDeclarationWithComplexKDoc.kt
+//INFO:
public final class Foo

General Foo description

Params:

name - param description

Properties:

name - property description

Returns:

Foo instance

Throws:

NullPointerException - NPE description

Authors:

Duke

Since:

42

Suppress:

suppress

See Also:

Class

Samples:

howToUse

 OnClassDeclarationWithComplexKDoc.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnClassDeclarationWithNoPackage.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnClassDeclarationWithNoPackage.kt index e725ff721c76..73040079d738 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnClassDeclarationWithNoPackage.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnClassDeclarationWithNoPackage.kt @@ -3,4 +3,4 @@ */ class Some -//INFO:
public final class Some

Useful comment

 OnClassDeclarationWithNoPackage.kt
+//INFO:
public final class Some

Useful comment

 OnClassDeclarationWithNoPackage.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnCompanionObject.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnCompanionObject.kt index c36902efe887..48ae2ecd4e48 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnCompanionObject.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnCompanionObject.kt @@ -2,5 +2,5 @@ class CompanionContainer { companion object } -//K2_INFO:
public companion object of CompanionContainer
-//INFO:
public companion object of CompanionContainer
+//K2_INFO:
public companion object of CompanionContainer
+//INFO:
public companion object of CompanionContainer
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnEmptySecondaryConstructor.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnEmptySecondaryConstructor.kt index bc72b6ea1aed..93bf3a210845 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnEmptySecondaryConstructor.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnEmptySecondaryConstructor.kt @@ -14,4 +14,4 @@ fun test() { } //INFO:
public constructor Foo(
 //INFO:     x: Int
-//INFO: )

Documentation is here.

 Foo
+//INFO: )

Documentation is here.

 Foo
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnEnumClassReference.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnEnumClassReference.kt index 4244db0c21e5..c3d77b582125 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnEnumClassReference.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnEnumClassReference.kt @@ -7,5 +7,5 @@ fun use() { SomeEnum::class } -//K2_INFO:
public final enum class SomeEnum

Useless one

 OnEnumClassReference.kt
-//INFO:
public final enum class SomeEnum

Useless one

 OnEnumClassReference.kt
+//K2_INFO:
public final enum class SomeEnum

Useless one

 OnEnumClassReference.kt
+//INFO:
public final enum class SomeEnum

Useless one

 OnEnumClassReference.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnEnumDeclaration.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnEnumDeclaration.kt index e7283afc91ef..019547e868de 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnEnumDeclaration.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnEnumDeclaration.kt @@ -3,5 +3,5 @@ */ enum class SomeEnum -//K2_INFO:
public final enum class SomeEnum

Useless one

 OnEnumDeclaration.kt
-//INFO:
public final enum class SomeEnum

Useless one

 OnEnumDeclaration.kt
+//K2_INFO:
public final enum class SomeEnum

Useless one

 OnEnumDeclaration.kt
+//INFO:
public final enum class SomeEnum

Useless one

 OnEnumDeclaration.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnEnumEntry.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnEnumEntry.kt index 6969e06e3556..fc809a6448b9 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnEnumEntry.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnEnumEntry.kt @@ -4,5 +4,5 @@ enum class TestEnum{ -//INFO:
enum entry C
// Enum constant ordinal: 2
-//K2_INFO:
public enum entry C
// Enum constant ordinal: 2
\ No newline at end of file +//INFO:
enum entry C
// Enum constant ordinal: 2
+//K2_INFO:
public enum entry C
// Enum constant ordinal: 2
\ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnEnumEntryUsage.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnEnumEntryUsage.kt index b1f2c0e659f0..9d60df0ed2b6 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnEnumEntryUsage.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnEnumEntryUsage.kt @@ -6,5 +6,5 @@ fun test() { TestEnum.C } -//INFO:
enum entry C
// Enum constant ordinal: 2
-//K2_INFO:
public enum entry C
// Enum constant ordinal: 2
+//INFO:
enum entry C
// Enum constant ordinal: 2
+//K2_INFO:
public enum entry C
// Enum constant ordinal: 2
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnEnumUsage.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnEnumUsage.kt index 9ca7fb7f9e27..4afe0893989c 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnEnumUsage.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnEnumUsage.kt @@ -9,5 +9,5 @@ fun use() { SomeEnum.One } -//K2_INFO:
public final enum class SomeEnum

Enum of 1, 2

 OnEnumUsage.kt
-//INFO:
public final enum class SomeEnum

Enum of 1, 2

 OnEnumUsage.kt
+//K2_INFO:
public final enum class SomeEnum

Enum of 1, 2

 OnEnumUsage.kt
+//INFO:
public final enum class SomeEnum

Enum of 1, 2

 OnEnumUsage.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnFunctionDeclarationWithGFMTable.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnFunctionDeclarationWithGFMTable.kt index 94ef361f6ca8..d750d1fb1b39 100755 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnFunctionDeclarationWithGFMTable.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnFunctionDeclarationWithGFMTable.kt @@ -14,4 +14,4 @@ */ fun testFun() = 12 -//INFO:
public fun testFun(): Int
left center right default
1 2 3 4
foo bar baz
1 2
3 4 5
header only
 OnFunctionDeclarationWithGFMTable.kt
+//INFO:
public fun testFun(): Int
left center right default
1 2 3 4
foo bar baz
1 2
3 4 5
header only
 OnFunctionDeclarationWithGFMTable.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnFunctionDeclarationWithPackage.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnFunctionDeclarationWithPackage.kt index c252cb0aa5e3..4c5032b00a97 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnFunctionDeclarationWithPackage.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnFunctionDeclarationWithPackage.kt @@ -15,4 +15,4 @@ fun testFun(first: String, second: Int) = 12 //INFO:
public fun testFun(
 //INFO:     first: String,
 //INFO:     second: Int
-//INFO: ): Int

Test function

Params:

first - Some

second - Other

 test
 OnFunctionDeclarationWithPackage.kt
+//INFO: ): Int

Test function

Params:

first - Some

second - Other

 test
 OnFunctionDeclarationWithPackage.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnInheritedMethodUsage.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnInheritedMethodUsage.kt index fffc7dd0ce9b..1ec0a6466cde 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnInheritedMethodUsage.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnInheritedMethodUsage.kt @@ -14,4 +14,4 @@ fun test() { D().foo() } -//INFO:
public open fun foo(): Int

This method returns zero.

 D
+//INFO:
public open fun foo(): Int

This method returns zero.

 D
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnInheritedPropertyUsage.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnInheritedPropertyUsage.kt index 148eba68eaf4..79c3bc8373e5 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnInheritedPropertyUsage.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnInheritedPropertyUsage.kt @@ -14,4 +14,4 @@ fun test() { D().foo } -//INFO:
public open val foo: Int

This property returns zero.

 D
+//INFO:
public open val foo: Int

This property returns zero.

 D
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsage.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsage.kt index 34d79a26c379..966199b5ee63 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsage.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsage.kt @@ -15,4 +15,4 @@ fun test() { //INFO:
public fun testMethod(
 //INFO:     a: Int,
 //INFO:     b: String = "default"
-//INFO: ): Unit

Some documentation

Params:

a - Some int

b - String

 OnMethodUsage.kt
+//INFO: ): Unit

Some documentation

Params:

a - Some int

b - String

 OnMethodUsage.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageInParen.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageInParen.kt index 317281785453..dc3bc2b7ce09 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageInParen.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageInParen.kt @@ -15,4 +15,4 @@ fun test() { //INFO:
public fun testMethod(
 //INFO:     a: Int,
 //INFO:     b: String
-//INFO: ): Unit

Some documentation

Params:

a - Some int

b - String

 OnMethodUsageInParen.kt
+//INFO: ): Unit

Some documentation

Params:

a - Some int

b - String

 OnMethodUsageInParen.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageMultiline.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageMultiline.kt index cb4c27473a9f..cd73aa7da9a1 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageMultiline.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageMultiline.kt @@ -10,4 +10,4 @@ fun test() { testMethod() } -//INFO:
public fun testMethod(): Unit

Some documentation on two lines.

 OnMethodUsageMultiline.kt
+//INFO:
public fun testMethod(): Unit

Some documentation on two lines.

 OnMethodUsageMultiline.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithBracketsInParam.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithBracketsInParam.kt index a2f0fcaefea8..ccfef623b4fe 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithBracketsInParam.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithBracketsInParam.kt @@ -15,4 +15,4 @@ fun test() { //INFO:
public fun testMethod(
 //INFO:     a: Int,
 //INFO:     b: String
-//INFO: ): Unit

Some documentation

Params:

a - Some int

b - String

 OnMethodUsageWithBracketsInParam.kt
+//INFO: ): Unit

Some documentation

Params:

a - Some int

b - String

 OnMethodUsageWithBracketsInParam.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithCodeBlock.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithCodeBlock.kt index 229c63aed7cf..630a9cc3412a 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithCodeBlock.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithCodeBlock.kt @@ -26,4 +26,4 @@ fun test() { //INFO:
public fun testMethod(): Unit

Some documentation.

//INFO:
Code block
Second line

Third line

Text between code blocks.

-//INFO:

Text after code block.

 OnMethodUsageWithCodeBlock.kt
+//INFO:

Text after code block.

 OnMethodUsageWithCodeBlock.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithMarkdown.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithMarkdown.kt index b4aff038e28b..eb229c77294b 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithMarkdown.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithMarkdown.kt @@ -33,4 +33,4 @@ fun test() { //INFO:

See this class

//INFO:

This is emphasized text but text_with_underscores has to preserve the underscores. Single stars embedded in a word like Embedded*Star have to be preserved as well.

//INFO:

Exclamation marks are also important! Also in code blocks!

-//INFO:

bt+ : prefix ` postfix backslash: \

 OnMethodUsageWithMarkdown.kt
+//INFO:

bt+ : prefix ` postfix backslash: \

 OnMethodUsageWithMarkdown.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithMultilineParam.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithMultilineParam.kt index 8f03a3b022bb..3738daff43f6 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithMultilineParam.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithMultilineParam.kt @@ -14,4 +14,4 @@ fun test() { //INFO:
public fun testMethod(
 //INFO:     test: String
-//INFO: ): Unit

Some documentation on two lines.

Params:

test - String on two lines

 OnMethodUsageWithMultilineParam.kt
+//INFO: ): Unit

Some documentation on two lines.

Params:

test - String on two lines

 OnMethodUsageWithMultilineParam.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithReceiver.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithReceiver.kt index 6becb24027c4..d6c8783dae02 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithReceiver.kt @@ -15,4 +15,4 @@ fun test() { //INFO:
public fun Int.testMethod(
 //INFO:     b: String
-//INFO: ): Unit

Some documentation

Receiver:

Some int

Params:

b - String

Returns:

Return a and nothing else
 OnMethodUsageWithReceiver.kt
+//INFO: ): Unit

Some documentation

Receiver:

Some int

Params:

b - String

Returns:

Return a and nothing else
 OnMethodUsageWithReceiver.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithReturnAndLink.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithReturnAndLink.kt index 980544caf673..a62d04ee380a 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithReturnAndLink.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithReturnAndLink.kt @@ -16,4 +16,4 @@ fun test() { //INFO:
public fun testMethod(
 //INFO:     a: Int,
 //INFO:     b: String
-//INFO: ): Unit

Some documentation

Params:

a - Some int

b - String

Returns:

Return a and nothing else
 OnMethodUsageWithReturnAndLink.kt
+//INFO: ): Unit

Some documentation

Params:

a - Some int

b - String

Returns:

Return a and nothing else
 OnMethodUsageWithReturnAndLink.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithReturnAndThrows.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithReturnAndThrows.kt index 7a62deca5612..1f0622c31392 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithReturnAndThrows.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithReturnAndThrows.kt @@ -17,4 +17,4 @@ fun test() { //INFO:
public fun testMethod(
 //INFO:     a: Int,
 //INFO:     b: String
-//INFO: ): Unit

Some documentation

Params:

a - Some int

b - String

Returns:

Return value

Throws:

IllegalArgumentException - if the weather is bad

 OnMethodUsageWithReturnAndThrows.kt
+//INFO: ): Unit

Some documentation

Params:

a - Some int

b - String

Returns:

Return value

Throws:

IllegalArgumentException - if the weather is bad

 OnMethodUsageWithReturnAndThrows.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithSee.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithSee.kt index 74a37bdee246..a4a2dac5fcb8 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithSee.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithSee.kt @@ -17,4 +17,4 @@ fun test() { testMethod(1, "value") } -//INFO:
public fun testMethod(): Unit

See Also:

C,
D,
kotlin
 OnMethodUsageWithSee.kt
+//INFO:
public fun testMethod(): Unit

See Also:

C,
D,
kotlin
 OnMethodUsageWithSee.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithTypeParameter.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithTypeParameter.kt index 0cd974d95758..300afb0ffa2e 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithTypeParameter.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithTypeParameter.kt @@ -16,4 +16,4 @@ fun test() { //INFO:
public fun <T> testMethod(
 //INFO:     a: Int,
 //INFO:     b: String
-//INFO: ): Unit

Some documentation

Params:

T - the type parameter

a - Some int

b - String

 OnMethodUsageWithTypeParameter.kt
+//INFO: ): Unit

Some documentation

Params:

T - the type parameter

a - Some int

b - String

 OnMethodUsageWithTypeParameter.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnPrimaryConstructorAnnotatedWithConstructorTag.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnPrimaryConstructorAnnotatedWithConstructorTag.kt index 70b0f2d30b6c..40d0dabaade5 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnPrimaryConstructorAnnotatedWithConstructorTag.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnPrimaryConstructorAnnotatedWithConstructorTag.kt @@ -16,9 +16,9 @@ fun usage() { //K2_INFO:
public constructor Foo(
 //K2_INFO:     public final val s: String
-//K2_INFO: )

constructor tag description

Params:

s - param description

Properties:

s - property description

 Foo
+//K2_INFO: )

constructor tag description

Params:

s - param description

Properties:

s - property description

 Foo
//INFO:
public constructor Foo(
 //INFO:     val s: String
-//INFO: )

constructor tag description

Params:

s - param description

Properties:

s - property description

 Foo
+//INFO: )

constructor tag description

Params:

s - param description

Properties:

s - property description

 Foo
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnPropertyUsageDocumentedWithPropertyTag.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnPropertyUsageDocumentedWithPropertyTag.kt index 9d4d85ac4de7..4493566eb407 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnPropertyUsageDocumentedWithPropertyTag.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/OnPropertyUsageDocumentedWithPropertyTag.kt @@ -9,4 +9,4 @@ fun usage() { Foo().bar } -//INFO:
public final val bar: String

bar property description should be taken from this tag

 Foo
+//INFO:
public final val bar: String

bar property description should be taken from this tag

 Foo
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/PropertiesInConstructor.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/PropertiesInConstructor.kt index 05abe63bc751..ab141c18c29a 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/PropertiesInConstructor.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/PropertiesInConstructor.kt @@ -2,8 +2,8 @@ class Foo(val p: String) //K2_INFO:
public constructor Foo(
 //K2_INFO:     public final val p: String
-//K2_INFO: )
 Foo
+//K2_INFO: )
 Foo
//INFO:
public constructor Foo(
 //INFO:     val p: String
-//INFO: )

 Foo
+//INFO: )

 Foo
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/QualifiedNameDocLink.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/QualifiedNameDocLink.kt index 5ee71d05ec01..6e6975a9aa2a 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/QualifiedNameDocLink.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/QualifiedNameDocLink.kt @@ -4,5 +4,5 @@ class AuxClassB { class TypeParams -//K2_INFO:
public final class TypeParams<X : AuxClassB.AuxClassC>
 QualifiedNameDocLink.kt
-//INFO:
public final class TypeParams<X : AuxClassB.AuxClassC>
 QualifiedNameDocLink.kt
+//K2_INFO:
public final class TypeParams<X : AuxClassB.AuxClassC>
 QualifiedNameDocLink.kt
+//INFO:
public final class TypeParams<X : AuxClassB.AuxClassC>
 QualifiedNameDocLink.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/Samples.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/Samples.kt index 36ff405c7973..f0977c06a21c 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/Samples.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/Samples.kt @@ -21,4 +21,4 @@ fun castTextSpell(spell: String) { //INFO:
public fun castTextSpell(
 //INFO:     spell: String
-//INFO: ): Unit

Samples:

Samples.sampleMagic

castTextSpell("[asd] [dse] [asz]")

sampleScroll

val reader = Scroll("[asd] [dse] [asz]").reader()
castTextSpell(reader.readAll())
 magic
 Samples.kt
+//INFO: ): Unit

Samples:

Samples.sampleMagic

castTextSpell("[asd] [dse] [asz]")

sampleScroll

val reader = Scroll("[asd] [dse] [asz]").reader()
castTextSpell(reader.readAll())
 magic
 Samples.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/SuperConstructorWithArgs.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/SuperConstructorWithArgs.kt index 1c2c6a74701e..bfda280e1784 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/SuperConstructorWithArgs.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/SuperConstructorWithArgs.kt @@ -2,6 +2,6 @@ interface AuxFaceA open class AuxClassD(afa: AuxFaceA) class DelegationSpecB : AuxClassD(object : AuxFaceA {}) -//K2_INFO:
public final class DelegationSpecB : AuxClassD
 SuperConstructorWithArgs.kt
+//K2_INFO:
public final class DelegationSpecB : AuxClassD
 SuperConstructorWithArgs.kt
//INFO:
public final class DelegationSpecB
-//INFO:     : AuxClassD
 SuperConstructorWithArgs.kt
+//INFO: : AuxClassD
 SuperConstructorWithArgs.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/TailrecFunction.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/TailrecFunction.kt index 3279e1306f42..6af952a87973 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/TailrecFunction.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/TailrecFunction.kt @@ -1,5 +1,5 @@ tailrec fun dummyTailrec() {} -//K2_INFO:
public tailrec fun dummyTailrec(): Unit
 TailrecFunction.kt
+//K2_INFO:
public tailrec fun dummyTailrec(): Unit
 TailrecFunction.kt
-//INFO:
public tailrec fun dummyTailrec(): Unit

 TailrecFunction.kt
+//INFO:
public tailrec fun dummyTailrec(): Unit

 TailrecFunction.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/TailrecName.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/TailrecName.kt index b2894f0d505d..a48a10a78ee7 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/TailrecName.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/TailrecName.kt @@ -2,4 +2,4 @@ class Foo { val tailrec: String = "" } -//INFO:
public final val tailrec: String
 Foo
+//INFO:
public final val tailrec: String
 Foo
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/TopLevelMethodFromJava.java b/plugins/kotlin/idea/tests/testData/editor/quickDoc/TopLevelMethodFromJava.java index 2a27f3fad205..7f3fddd32c9d 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/TopLevelMethodFromJava.java +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/TopLevelMethodFromJava.java @@ -10,4 +10,4 @@ class Testing { //INFO:
public fun foo(
 //INFO:     bar: Int
-//INFO: ): Unit

KDoc foo

 some
 TopLevelMethodFromJava_Data.kt
+//INFO: ): Unit

KDoc foo

 some
 TopLevelMethodFromJava_Data.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/TypeNamesFromStdLibNavigation.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/TypeNamesFromStdLibNavigation.kt index e5bd8abbe9ba..8c76d396acaa 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/TypeNamesFromStdLibNavigation.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/TypeNamesFromStdLibNavigation.kt @@ -10,9 +10,9 @@ fun main(args: Array) { //K2_INFO:
public fun foo(
 //K2_INFO:     x: A
-//K2_INFO: ): Unit
 TypeNamesFromStdLibNavigation.kt
+//K2_INFO: ): Unit
 TypeNamesFromStdLibNavigation.kt
//INFO:
public fun foo(
 //INFO:     x: A
-//INFO: ): Unit

 TypeNamesFromStdLibNavigation.kt
+//INFO: ): Unit

 TypeNamesFromStdLibNavigation.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/TypeParameterConstraints.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/TypeParameterConstraints.kt index 51a1af11e4dc..018720b3ab0f 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/TypeParameterConstraints.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/TypeParameterConstraints.kt @@ -4,6 +4,6 @@ fun bar() where T: I2 { } -//K2_INFO:
public fun <T> bar(): Unit where T : I1, T : I2
 TypeParameterConstraints.kt
+//K2_INFO:
public fun <T> bar(): Unit where T : I1, T : I2
 TypeParameterConstraints.kt
-//INFO:
public fun <T : I1> bar(): Unit where T : I2

 TypeParameterConstraints.kt
+//INFO:
public fun <T : I1> bar(): Unit where T : I2

 TypeParameterConstraints.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/UnresolvedAnnotation.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/UnresolvedAnnotation.kt index eaae478040bc..6205e1fb9e4e 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/UnresolvedAnnotation.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/UnresolvedAnnotation.kt @@ -2,8 +2,8 @@ class Annotated //K2_INFO:
@`<error>`
-//K2_INFO: public final class Annotated
 UnresolvedAnnotation.kt
+//K2_INFO: public final class Annotated
 UnresolvedAnnotation.kt
//INFO:
@[Error type: Unresolved type for Unresolved]
-//INFO: public final class Annotated
 UnresolvedAnnotation.kt
+//INFO: public final class Annotated
 UnresolvedAnnotation.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/multiplatform/OnActualClassWithConstructorFromExpect.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/multiplatform/OnActualClassWithConstructorFromExpect.kt index 33cbc408f591..54c4aa846d1f 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/multiplatform/OnActualClassWithConstructorFromExpect.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/multiplatform/OnActualClassWithConstructorFromExpect.kt @@ -12,4 +12,4 @@ actual class Foo actual constructor() -//INFO:
public actual constructor Foo()

Common Description

 Foo
\ No newline at end of file +//INFO:
public actual constructor Foo()

Common Description

 Foo
\ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/multiplatform/OnActualDeclarationWithDocWhenInheritedDocPresent.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/multiplatform/OnActualDeclarationWithDocWhenInheritedDocPresent.kt index 83ca5f3c8829..6b0371ae68aa 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/multiplatform/OnActualDeclarationWithDocWhenInheritedDocPresent.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/multiplatform/OnActualDeclarationWithDocWhenInheritedDocPresent.kt @@ -13,4 +13,4 @@ expect class Foo */ actual class Foo -//INFO:
public actual final class Foo

Doc for actual class Foo

 Foo.kt
+//INFO:
public actual final class Foo

Doc for actual class Foo

 Foo.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/multiplatform/OnActualDeclarationWithInheritedDoc.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/multiplatform/OnActualDeclarationWithInheritedDoc.kt index 87f22f7deade..33725093596a 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/multiplatform/OnActualDeclarationWithInheritedDoc.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/multiplatform/OnActualDeclarationWithInheritedDoc.kt @@ -10,4 +10,4 @@ expect class Foo // MAIN actual class Foo -//INFO:
public actual final class Foo

Doc for expected class Foo

 Foo.kt
+//INFO:
public actual final class Foo

Doc for expected class Foo

 Foo.kt
diff --git a/plugins/kotlin/idea/tests/testData/editor/quickDoc/renderAnnotatedExtensionFunctionType.kt b/plugins/kotlin/idea/tests/testData/editor/quickDoc/renderAnnotatedExtensionFunctionType.kt index 022d13f64fe4..9669fb6bb008 100644 --- a/plugins/kotlin/idea/tests/testData/editor/quickDoc/renderAnnotatedExtensionFunctionType.kt +++ b/plugins/kotlin/idea/tests/testData/editor/quickDoc/renderAnnotatedExtensionFunctionType.kt @@ -5,10 +5,10 @@ annotation class MyAnnotation //K2_INFO:
public fun myFun(
 //K2_INFO:     param: @MyAnnotation (String.() -> Unit)
-//K2_INFO: ): Unit
 renderAnnotatedExtensionFunctionType.kt
+//K2_INFO: ): Unit
 renderAnnotatedExtensionFunctionType.kt
//INFO:
public fun myFun(
 //INFO:     param: @MyAnnotation() (String.() -> Unit)
-//INFO: ): Unit

 renderAnnotatedExtensionFunctionType.kt
+//INFO: ): Unit

 renderAnnotatedExtensionFunctionType.kt
diff --git a/plugins/kotlin/idea/tests/testData/kdoc/multiModuleResolve/fqName/code/usage.kt b/plugins/kotlin/idea/tests/testData/kdoc/multiModuleResolve/fqName/code/usage.kt index f50360e20158..0106c89896be 100644 --- a/plugins/kotlin/idea/tests/testData/kdoc/multiModuleResolve/fqName/code/usage.kt +++ b/plugins/kotlin/idea/tests/testData/kdoc/multiModuleResolve/fqName/code/usage.kt @@ -9,4 +9,4 @@ fun some() { } -//INFO:
public fun some(): Unit

Samples:

samples.SampleGroup.mySample

println("Hello, world")

samples.megasamples.MegaSamplesGroup.megaSample

println("...---...")

samples.notindir.NotInDirSamples.sssample

println("location is samplesTest/")

smaplez.a.b.c.Samplez.sssample

// Unresolved
 usage.kt
+//INFO:
public fun some(): Unit

Samples:

samples.SampleGroup.mySample

println("Hello, world")

samples.megasamples.MegaSamplesGroup.megaSample

println("...---...")

samples.notindir.NotInDirSamples.sssample

println("location is samplesTest/")

smaplez.a.b.c.Samplez.sssample

// Unresolved
 usage.kt
diff --git a/plugins/kotlin/idea/tests/testData/kdoc/multiModuleResolve/simple/code/usage.kt b/plugins/kotlin/idea/tests/testData/kdoc/multiModuleResolve/simple/code/usage.kt index d476c2bd125b..782b3e5e686e 100644 --- a/plugins/kotlin/idea/tests/testData/kdoc/multiModuleResolve/simple/code/usage.kt +++ b/plugins/kotlin/idea/tests/testData/kdoc/multiModuleResolve/simple/code/usage.kt @@ -5,4 +5,4 @@ fun some() { } -//INFO:
public fun some(): Unit

Samples:

samples.sample

println("Hello, world")
 usage.kt
+//INFO:
public fun some(): Unit

Samples:

samples.sample

println("Hello, world")
 usage.kt
diff --git a/plugins/kotlin/idea/tests/testData/kdoc/multiModuleResolve/typeParameters/code/usageNestedTypeParameters.kt b/plugins/kotlin/idea/tests/testData/kdoc/multiModuleResolve/typeParameters/code/usageNestedTypeParameters.kt index e9fb24eb677b..ba0b6d8bd2a5 100644 --- a/plugins/kotlin/idea/tests/testData/kdoc/multiModuleResolve/typeParameters/code/usageNestedTypeParameters.kt +++ b/plugins/kotlin/idea/tests/testData/kdoc/multiModuleResolve/typeParameters/code/usageNestedTypeParameters.kt @@ -5,4 +5,4 @@ fun some() { } -//INFO:
public fun some(): Unit

Samples:

samples.nestedTypeParameter

val m = mapOf&lt;String, Pair&lt;Int, Long&gt;&gt;()
println(m)
 usageNestedTypeParameters.kt
+//INFO:
public fun some(): Unit

Samples:

samples.nestedTypeParameter

val m = mapOf&lt;String, Pair&lt;Int, Long&gt;&gt;()
println(m)
 usageNestedTypeParameters.kt
diff --git a/plugins/kotlin/idea/tests/testData/kdoc/multiModuleResolve/typeParameters/code/usageSingleTypeParameter.kt b/plugins/kotlin/idea/tests/testData/kdoc/multiModuleResolve/typeParameters/code/usageSingleTypeParameter.kt index a71ae24f52c1..72f401208f80 100644 --- a/plugins/kotlin/idea/tests/testData/kdoc/multiModuleResolve/typeParameters/code/usageSingleTypeParameter.kt +++ b/plugins/kotlin/idea/tests/testData/kdoc/multiModuleResolve/typeParameters/code/usageSingleTypeParameter.kt @@ -5,4 +5,4 @@ fun some() { } -//INFO:
public fun some(): Unit

Samples:

samples.singleTypeParameter

val l = listOf&lt;String&gt;()
println(l)
 usageSingleTypeParameter.kt
+//INFO:
public fun some(): Unit

Samples:

samples.singleTypeParameter

val l = listOf&lt;String&gt;()
println(l)
 usageSingleTypeParameter.kt