diff --git a/idea/testData/editor/quickDoc/AnonymousObjectLocalVariable.kt b/idea/testData/editor/quickDoc/AnonymousObjectLocalVariable.kt index fc577cc24e8..ed026abe4b1 100644 --- a/idea/testData/editor/quickDoc/AnonymousObjectLocalVariable.kt +++ b/idea/testData/editor/quickDoc/AnonymousObjectLocalVariable.kt @@ -6,4 +6,4 @@ fun context() { v } -//INFO:
val v: <anonymous object : OurClass, OurFace>
+//INFO:
val v: <anonymous object : OurClass, OurFace>
diff --git a/idea/testData/editor/quickDoc/AtConstantWithUnderscore.kt b/idea/testData/editor/quickDoc/AtConstantWithUnderscore.kt index 3b28d50a7b3..90a7c6c4e82 100644 --- a/idea/testData/editor/quickDoc/AtConstantWithUnderscore.kt +++ b/idea/testData/editor/quickDoc/AtConstantWithUnderscore.kt @@ -9,4 +9,4 @@ class C { } } -//INFO:
C
public final fun foo(): Unit

Use SOME_REFERENCED_VAL to do something

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

Use SOME_REFERENCED_VAL to do something

diff --git a/idea/testData/editor/quickDoc/AtFunctionParameter.kt b/idea/testData/editor/quickDoc/AtFunctionParameter.kt index c90d6e5aca8..17508ebbb5b 100644 --- a/idea/testData/editor/quickDoc/AtFunctionParameter.kt +++ b/idea/testData/editor/quickDoc/AtFunctionParameter.kt @@ -1,3 +1,3 @@ fun some(f: (Int) -> String) : String? = null -//INFO:
value-parameter f: (Int) → String
+//INFO:
value-parameter f: (Int) → String
diff --git a/idea/testData/editor/quickDoc/AtImplicitLambdaParametEnd.kt b/idea/testData/editor/quickDoc/AtImplicitLambdaParametEnd.kt index 21125859356..bbe47305015 100644 --- a/idea/testData/editor/quickDoc/AtImplicitLambdaParametEnd.kt +++ b/idea/testData/editor/quickDoc/AtImplicitLambdaParametEnd.kt @@ -4,4 +4,4 @@ fun foo() { } } -//INFO:
value-parameter it: Int
+//INFO:
value-parameter it: Int
diff --git a/idea/testData/editor/quickDoc/AtImplicitLambdaParameter.kt b/idea/testData/editor/quickDoc/AtImplicitLambdaParameter.kt index e048e424361..2bde4ae23da 100644 --- a/idea/testData/editor/quickDoc/AtImplicitLambdaParameter.kt +++ b/idea/testData/editor/quickDoc/AtImplicitLambdaParameter.kt @@ -4,4 +4,4 @@ fun foo() { } } -//INFO:
value-parameter it: Int
+//INFO:
value-parameter it: Int
diff --git a/idea/testData/editor/quickDoc/AtLocalFunction.kt b/idea/testData/editor/quickDoc/AtLocalFunction.kt index 20f1dfd8fa4..503c4a05e6b 100644 --- a/idea/testData/editor/quickDoc/AtLocalFunction.kt +++ b/idea/testData/editor/quickDoc/AtLocalFunction.kt @@ -6,4 +6,4 @@ fun context() { local() } -//INFO:
local final fun local(): Unit
+//INFO:
local final fun local(): Unit
diff --git a/idea/testData/editor/quickDoc/AtTypeParameter.kt b/idea/testData/editor/quickDoc/AtTypeParameter.kt index c33e03fe483..d61f28f4890 100644 --- a/idea/testData/editor/quickDoc/AtTypeParameter.kt +++ b/idea/testData/editor/quickDoc/AtTypeParameter.kt @@ -2,4 +2,4 @@ interface Base class Some<T: Base> -//INFO:
Some
<T : Base>
+//INFO:
Some
<T : Base>
diff --git a/idea/testData/editor/quickDoc/AtVariableDeclaration.kt b/idea/testData/editor/quickDoc/AtVariableDeclaration.kt index 31e16420680..c07ce30eae2 100644 --- a/idea/testData/editor/quickDoc/AtVariableDeclaration.kt +++ b/idea/testData/editor/quickDoc/AtVariableDeclaration.kt @@ -5,4 +5,4 @@ fun test() { } -//INFO:
val test: String?
+//INFO:
val test: String?
diff --git a/idea/testData/editor/quickDoc/ConstructorVarParameter.kt b/idea/testData/editor/quickDoc/ConstructorVarParameter.kt index ab046aaf085..7d73a1c1524 100644 --- a/idea/testData/editor/quickDoc/ConstructorVarParameter.kt +++ b/idea/testData/editor/quickDoc/ConstructorVarParameter.kt @@ -4,4 +4,4 @@ class C(var v: Int) { } } -//INFO:
C
public final var v: Int
+//INFO:
C
public final var v: Int
diff --git a/idea/testData/editor/quickDoc/EscapeHtmlInsideCodeBlocks.kt b/idea/testData/editor/quickDoc/EscapeHtmlInsideCodeBlocks.kt index aa0da4305b9..a199d790623 100644 --- a/idea/testData/editor/quickDoc/EscapeHtmlInsideCodeBlocks.kt +++ b/idea/testData/editor/quickDoc/EscapeHtmlInsideCodeBlocks.kt @@ -8,7 +8,7 @@ */ class A -//INFO:
(EscapeHtmlInsideCodeBlocks.kt)
public final class A<T>

Code block:

+//INFO:
EscapeHtmlInsideCodeBlocks.kt
public final class A<T>

Code block:

//INFO:

 //INFO: A<T>
 //INFO: 

Code span: <T> is type parameter

diff --git a/idea/testData/editor/quickDoc/ExtensionReceiver.kt b/idea/testData/editor/quickDoc/ExtensionReceiver.kt index 3a8854c7673..a097528ec1f 100644 --- a/idea/testData/editor/quickDoc/ExtensionReceiver.kt +++ b/idea/testData/editor/quickDoc/ExtensionReceiver.kt @@ -7,4 +7,4 @@ fun Foo.bar() { foo(this) } -//INFO:
(ExtensionReceiver.kt)
public fun Foo.bar(): Unit

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

diff --git a/idea/testData/editor/quickDoc/ExtensionReceiverEnd.kt b/idea/testData/editor/quickDoc/ExtensionReceiverEnd.kt index 366a4be94c3..d4c63a01cdd 100644 --- a/idea/testData/editor/quickDoc/ExtensionReceiverEnd.kt +++ b/idea/testData/editor/quickDoc/ExtensionReceiverEnd.kt @@ -7,4 +7,4 @@ fun Foo.bar() { foo(this) } -//INFO:
(ExtensionReceiverEnd.kt)
public fun Foo.bar(): Unit

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

diff --git a/idea/testData/editor/quickDoc/IndentedCodeBlock.kt b/idea/testData/editor/quickDoc/IndentedCodeBlock.kt index 2c0dcb79631..5a43298140f 100644 --- a/idea/testData/editor/quickDoc/IndentedCodeBlock.kt +++ b/idea/testData/editor/quickDoc/IndentedCodeBlock.kt @@ -13,7 +13,7 @@ */ class A -//INFO:
(IndentedCodeBlock.kt)
public final class A
val a = A()
+//INFO: 
IndentedCodeBlock.kt
public final class A
val a = A()
 //INFO: println(a) // comment

 //INFO: <fenced>Code_block</fenced>
 //INFO: 
val b = B()
diff --git a/idea/testData/editor/quickDoc/JavaDocFromOverridenClass.kt b/idea/testData/editor/quickDoc/JavaDocFromOverridenClass.kt
index 6a81ea79084..6cb3af1c474 100644
--- a/idea/testData/editor/quickDoc/JavaDocFromOverridenClass.kt
+++ b/idea/testData/editor/quickDoc/JavaDocFromOverridenClass.kt
@@ -4,6 +4,6 @@ class A : OverrideMe() {
 }
 
 
-//INFO: 
A
protected open fun overrideMe(): Unit

Description copied from class:

OverrideMe
+//INFO:

A
protected open fun overrideMe(): Unit

Description copied from class:

OverrideMe
//INFO: Some comment //INFO:

Overrides:

overrideMe in class OverrideMe

diff --git a/idea/testData/editor/quickDoc/JavaDocFromOverridenInterface.kt b/idea/testData/editor/quickDoc/JavaDocFromOverridenInterface.kt index bb95ef2e1a2..b2a033087c4 100644 --- a/idea/testData/editor/quickDoc/JavaDocFromOverridenInterface.kt +++ b/idea/testData/editor/quickDoc/JavaDocFromOverridenInterface.kt @@ -4,6 +4,6 @@ class A : OverrideMe { } -//INFO:
A
public open fun overrideMe(): Unit

Description copied from interface:

OverrideMe
+//INFO:

A
public open fun overrideMe(): Unit

Description copied from interface:

OverrideMe
//INFO: Some comment //INFO:

Specified by:

overrideMe in interface OverrideMe

diff --git a/idea/testData/editor/quickDoc/KotlinClassUsedFromJava.java b/idea/testData/editor/quickDoc/KotlinClassUsedFromJava.java index 1295353800b..e5270c0b60c 100644 --- a/idea/testData/editor/quickDoc/KotlinClassUsedFromJava.java +++ b/idea/testData/editor/quickDoc/KotlinClassUsedFromJava.java @@ -6,4 +6,4 @@ class KotlinClassUsedFromJava { } } -//INFO:
testing (KotlinClassUsedFromJava_Data.kt)
public final class Test

Some comment

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

Some comment

diff --git a/idea/testData/editor/quickDoc/MethodFromStdLib.kt b/idea/testData/editor/quickDoc/MethodFromStdLib.kt index 72cc41bdad9..7e70d5cdd1f 100644 --- a/idea/testData/editor/quickDoc/MethodFromStdLib.kt +++ b/idea/testData/editor/quickDoc/MethodFromStdLib.kt @@ -2,6 +2,6 @@ fun test() { listOf(1, 2, 4).filter { it > 0 } } -//INFO:
kotlin.collections (CollectionsKt.class)
public inline fun <T> Iterable<T>.filter( +//INFO:
kotlin.collections CollectionsKt.class
public inline fun <T> Iterable<T>.filter( //INFO: predicate: (T) → Boolean //INFO: ): List<T>

Returns a list containing only elements matching the given predicate.

diff --git a/idea/testData/editor/quickDoc/OnClassDeclarationWithNoPackage.kt b/idea/testData/editor/quickDoc/OnClassDeclarationWithNoPackage.kt index 46988352a30..e733e0260ba 100644 --- a/idea/testData/editor/quickDoc/OnClassDeclarationWithNoPackage.kt +++ b/idea/testData/editor/quickDoc/OnClassDeclarationWithNoPackage.kt @@ -3,4 +3,4 @@ */ class Some -//INFO:
(OnClassDeclarationWithNoPackage.kt)
public final class Some

Usefull comment

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

Usefull comment

diff --git a/idea/testData/editor/quickDoc/OnEnumClassReference.kt b/idea/testData/editor/quickDoc/OnEnumClassReference.kt index 06838dfbae5..d05559e6607 100644 --- a/idea/testData/editor/quickDoc/OnEnumClassReference.kt +++ b/idea/testData/editor/quickDoc/OnEnumClassReference.kt @@ -7,4 +7,4 @@ fun use() { SomeEnum::class } -//INFO:
(OnEnumClassReference.kt)
public final enum class SomeEnum : Enum<SomeEnum>

Useless one

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

Useless one

diff --git a/idea/testData/editor/quickDoc/OnEnumDeclaration.kt b/idea/testData/editor/quickDoc/OnEnumDeclaration.kt index 5e31e14f0bc..90fa6cf29e3 100644 --- a/idea/testData/editor/quickDoc/OnEnumDeclaration.kt +++ b/idea/testData/editor/quickDoc/OnEnumDeclaration.kt @@ -3,4 +3,4 @@ */ enum class SomeEnum -//INFO:
(OnEnumDeclaration.kt)
public final enum class SomeEnum : Enum<SomeEnum>

Useless one

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

Useless one

diff --git a/idea/testData/editor/quickDoc/OnEnumEntry.kt b/idea/testData/editor/quickDoc/OnEnumEntry.kt index c9ad9f209c1..24354fbabdf 100644 --- a/idea/testData/editor/quickDoc/OnEnumEntry.kt +++ b/idea/testData/editor/quickDoc/OnEnumEntry.kt @@ -4,4 +4,4 @@ enum class TestEnum{ -//INFO:
TestEnum
enum entry CEnum constant ordinal: 2
+//INFO:
TestEnum
enum entry CEnum constant ordinal: 2
diff --git a/idea/testData/editor/quickDoc/OnEnumEntryUsage.kt b/idea/testData/editor/quickDoc/OnEnumEntryUsage.kt index fd840ff70aa..e29c4b66efa 100644 --- a/idea/testData/editor/quickDoc/OnEnumEntryUsage.kt +++ b/idea/testData/editor/quickDoc/OnEnumEntryUsage.kt @@ -6,4 +6,4 @@ fun test() { TestEnum.C } -//INFO:
TestEnum
enum entry CEnum constant ordinal: 2
+//INFO:
TestEnum
enum entry CEnum constant ordinal: 2
diff --git a/idea/testData/editor/quickDoc/OnEnumUsage.kt b/idea/testData/editor/quickDoc/OnEnumUsage.kt index 56936f2af3d..2b2dc6ea528 100644 --- a/idea/testData/editor/quickDoc/OnEnumUsage.kt +++ b/idea/testData/editor/quickDoc/OnEnumUsage.kt @@ -9,4 +9,4 @@ fun use() { SomeEnum.One } -//INFO:
(OnEnumUsage.kt)
public final enum class SomeEnum : Enum<SomeEnum>

Enum of 1, 2

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

Enum of 1, 2

diff --git a/idea/testData/editor/quickDoc/OnEnumValueOfFunction.kt b/idea/testData/editor/quickDoc/OnEnumValueOfFunction.kt index dcec5e8cc1e..d8ce65d9d5a 100644 --- a/idea/testData/editor/quickDoc/OnEnumValueOfFunction.kt +++ b/idea/testData/editor/quickDoc/OnEnumValueOfFunction.kt @@ -7,6 +7,6 @@ fun use() { } -//INFO:
E
public final fun valueOf( +//INFO:
E
public final fun valueOf( //INFO: value: String -//INFO: ): E

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws

IllegalArgumentException - if this enum type has no constant with the specified name

+//INFO: ): E

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws:

IllegalArgumentException - if this enum type has no constant with the specified name

diff --git a/idea/testData/editor/quickDoc/OnEnumValuesFunction.kt b/idea/testData/editor/quickDoc/OnEnumValuesFunction.kt index 9f90fa39274..58933a8f2ad 100644 --- a/idea/testData/editor/quickDoc/OnEnumValuesFunction.kt +++ b/idea/testData/editor/quickDoc/OnEnumValuesFunction.kt @@ -6,4 +6,4 @@ fun use() { E.values() } -//INFO:
E
public final fun values(): Array<E>

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.

+//INFO:
E
public final fun values(): Array<E>

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.

diff --git a/idea/testData/editor/quickDoc/OnFunctionDeclarationWithPackage.kt b/idea/testData/editor/quickDoc/OnFunctionDeclarationWithPackage.kt index b7e727cbbf2..8d41702eade 100644 --- a/idea/testData/editor/quickDoc/OnFunctionDeclarationWithPackage.kt +++ b/idea/testData/editor/quickDoc/OnFunctionDeclarationWithPackage.kt @@ -12,7 +12,7 @@ package test */ fun testFun(first: String, second: Int) = 12 -//INFO:
test (OnFunctionDeclarationWithPackage.kt)
public fun testFun( +//INFO:
test OnFunctionDeclarationWithPackage.kt
public fun testFun( //INFO: first: String, //INFO: second: Int -//INFO: ): Int

Test function

Parameters

first - Some

second - Other

+//INFO: ): Int

Test function

Params:

first - Some

second - Other

diff --git a/idea/testData/editor/quickDoc/OnInheritedMethodUsage.kt b/idea/testData/editor/quickDoc/OnInheritedMethodUsage.kt index 5faaa98db62..82df2d05232 100644 --- a/idea/testData/editor/quickDoc/OnInheritedMethodUsage.kt +++ b/idea/testData/editor/quickDoc/OnInheritedMethodUsage.kt @@ -14,4 +14,4 @@ fun test() { D().foo() } -//INFO:
D
public open fun foo(): Int

This method returns zero.

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

This method returns zero.

diff --git a/idea/testData/editor/quickDoc/OnInheritedPropertyUsage.kt b/idea/testData/editor/quickDoc/OnInheritedPropertyUsage.kt index 45591e12057..c01dc9042ee 100644 --- a/idea/testData/editor/quickDoc/OnInheritedPropertyUsage.kt +++ b/idea/testData/editor/quickDoc/OnInheritedPropertyUsage.kt @@ -14,4 +14,4 @@ fun test() { D().foo } -//INFO:
D
public open val foo: Int

This property returns zero.

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

This property returns zero.

diff --git a/idea/testData/editor/quickDoc/OnMethodUsage.kt b/idea/testData/editor/quickDoc/OnMethodUsage.kt index 19ee0d0a5b9..aa3e96d39bc 100644 --- a/idea/testData/editor/quickDoc/OnMethodUsage.kt +++ b/idea/testData/editor/quickDoc/OnMethodUsage.kt @@ -12,7 +12,7 @@ fun test() { testMethod(1, "value") } -//INFO:
(OnMethodUsage.kt)
public fun testMethod( +//INFO:
OnMethodUsage.kt
public fun testMethod( //INFO: a: Int, //INFO: b: String -//INFO: ): Unit

Some documentation

Parameters

a - Some int

b - String

+//INFO: ): Unit

Some documentation

Params:

a - Some int

b - String

diff --git a/idea/testData/editor/quickDoc/OnMethodUsageMultiline.kt b/idea/testData/editor/quickDoc/OnMethodUsageMultiline.kt index 80768ad4f60..241a7866e94 100644 --- a/idea/testData/editor/quickDoc/OnMethodUsageMultiline.kt +++ b/idea/testData/editor/quickDoc/OnMethodUsageMultiline.kt @@ -10,4 +10,4 @@ fun test() { testMethod() } -//INFO:
(OnMethodUsageMultiline.kt)
public fun testMethod(): Unit

Some documentation on two lines.

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

Some documentation on two lines.

diff --git a/idea/testData/editor/quickDoc/OnMethodUsageWithBracketsInParam.kt b/idea/testData/editor/quickDoc/OnMethodUsageWithBracketsInParam.kt index 00397f67b14..06514ff6314 100644 --- a/idea/testData/editor/quickDoc/OnMethodUsageWithBracketsInParam.kt +++ b/idea/testData/editor/quickDoc/OnMethodUsageWithBracketsInParam.kt @@ -12,7 +12,7 @@ fun test() { testMethod(1, "value") } -//INFO:
(OnMethodUsageWithBracketsInParam.kt)
public fun testMethod( +//INFO:
OnMethodUsageWithBracketsInParam.kt
public fun testMethod( //INFO: a: Int, //INFO: b: String -//INFO: ): Unit

Some documentation

Parameters

a - Some int

b - String

+//INFO: ): Unit

Some documentation

Params:

a - Some int

b - String

diff --git a/idea/testData/editor/quickDoc/OnMethodUsageWithCodeBlock.kt b/idea/testData/editor/quickDoc/OnMethodUsageWithCodeBlock.kt index 465ae88d53e..df173b43caa 100644 --- a/idea/testData/editor/quickDoc/OnMethodUsageWithCodeBlock.kt +++ b/idea/testData/editor/quickDoc/OnMethodUsageWithCodeBlock.kt @@ -24,7 +24,7 @@ fun test() { testMethod(1, "value") } -//INFO:
(OnMethodUsageWithCodeBlock.kt)
public fun testMethod(): Unit

Some documentation.

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

Some documentation.

//INFO:

 //INFO: Code block
 //INFO:     Second line
diff --git a/idea/testData/editor/quickDoc/OnMethodUsageWithMarkdown.kt b/idea/testData/editor/quickDoc/OnMethodUsageWithMarkdown.kt
index 52b324b7411..d49a8b1512b 100644
--- a/idea/testData/editor/quickDoc/OnMethodUsageWithMarkdown.kt
+++ b/idea/testData/editor/quickDoc/OnMethodUsageWithMarkdown.kt
@@ -27,7 +27,7 @@ fun test() {
     testMethod(1, "value")
 }
 
-//INFO: 
(OnMethodUsageWithMarkdown.kt)
public fun testMethod(): Unit

Some documentation. Bold underline code foo: bar (baz) quux 'apos'

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

Some documentation. Bold underline code foo: bar (baz) quux 'apos'

//INFO:

Kotlin abd kas

//INFO:

C

//INFO:

See this class

diff --git a/idea/testData/editor/quickDoc/OnMethodUsageWithMultilineParam.kt b/idea/testData/editor/quickDoc/OnMethodUsageWithMultilineParam.kt index fff2d1d0c64..e998be01014 100644 --- a/idea/testData/editor/quickDoc/OnMethodUsageWithMultilineParam.kt +++ b/idea/testData/editor/quickDoc/OnMethodUsageWithMultilineParam.kt @@ -12,6 +12,6 @@ fun test() { testMethod("") } -//INFO:
(OnMethodUsageWithMultilineParam.kt)
public fun testMethod( +//INFO:
OnMethodUsageWithMultilineParam.kt
public fun testMethod( //INFO: test: String -//INFO: ): Unit

Some documentation on two lines.

Parameters

test - String on two lines

+//INFO: ): Unit

Some documentation on two lines.

Params:

test - String on two lines

diff --git a/idea/testData/editor/quickDoc/OnMethodUsageWithReceiver.kt b/idea/testData/editor/quickDoc/OnMethodUsageWithReceiver.kt index 20eb4e17913..5714d922cd4 100644 --- a/idea/testData/editor/quickDoc/OnMethodUsageWithReceiver.kt +++ b/idea/testData/editor/quickDoc/OnMethodUsageWithReceiver.kt @@ -13,6 +13,6 @@ fun test() { 1.testMethod("value") } -//INFO:
(OnMethodUsageWithReceiver.kt)
public fun Int.testMethod( +//INFO:
OnMethodUsageWithReceiver.kt
public fun Int.testMethod( //INFO: b: String -//INFO: ): Unit

Some documentation

Receiver

Parameters

b - String

Returns

+//INFO: ): Unit

Some documentation

Receiver:

Some int

Params:

b - String

Returns:

Return a and nothing else
diff --git a/idea/testData/editor/quickDoc/OnMethodUsageWithReturnAndLink.kt b/idea/testData/editor/quickDoc/OnMethodUsageWithReturnAndLink.kt index a656178ac22..d3486f55442 100644 --- a/idea/testData/editor/quickDoc/OnMethodUsageWithReturnAndLink.kt +++ b/idea/testData/editor/quickDoc/OnMethodUsageWithReturnAndLink.kt @@ -13,7 +13,7 @@ fun test() { testMethod(1, "value") } -//INFO:
(OnMethodUsageWithReturnAndLink.kt)
public fun testMethod( +//INFO:
OnMethodUsageWithReturnAndLink.kt
public fun testMethod( //INFO: a: Int, //INFO: b: String -//INFO: ): Unit

Some documentation

Parameters

a - Some int

b - String

Returns

+//INFO: ): Unit

Some documentation

Params:

a - Some int

b - String

Returns:

Return a and nothing else
diff --git a/idea/testData/editor/quickDoc/OnMethodUsageWithReturnAndThrows.kt b/idea/testData/editor/quickDoc/OnMethodUsageWithReturnAndThrows.kt index 267808aeb0a..910718215c6 100644 --- a/idea/testData/editor/quickDoc/OnMethodUsageWithReturnAndThrows.kt +++ b/idea/testData/editor/quickDoc/OnMethodUsageWithReturnAndThrows.kt @@ -14,7 +14,7 @@ fun test() { testMethod(1, "value") } -//INFO:
(OnMethodUsageWithReturnAndThrows.kt)
public fun testMethod( +//INFO:
OnMethodUsageWithReturnAndThrows.kt
public fun testMethod( //INFO: a: Int, //INFO: b: String -//INFO: ): Unit

Some documentation

Parameters

a - Some int

b - String

Returns

Throws

IllegalArgumentException - if the weather is bad

+//INFO: ): Unit

Some documentation

Params:

a - Some int

b - String

Returns:

Return value

Throws:

IllegalArgumentException - if the weather is bad

diff --git a/idea/testData/editor/quickDoc/OnMethodUsageWithSee.kt b/idea/testData/editor/quickDoc/OnMethodUsageWithSee.kt index c7cfbf0a944..c0489661507 100644 --- a/idea/testData/editor/quickDoc/OnMethodUsageWithSee.kt +++ b/idea/testData/editor/quickDoc/OnMethodUsageWithSee.kt @@ -17,4 +17,4 @@ fun test() { testMethod(1, "value") } -//INFO:
(OnMethodUsageWithSee.kt)
public fun testMethod(): Unit

See Also

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

See Also:

C, D, kotlin
diff --git a/idea/testData/editor/quickDoc/OnMethodUsageWithTypeParameter.kt b/idea/testData/editor/quickDoc/OnMethodUsageWithTypeParameter.kt index 557406ed6fd..05920c5e641 100644 --- a/idea/testData/editor/quickDoc/OnMethodUsageWithTypeParameter.kt +++ b/idea/testData/editor/quickDoc/OnMethodUsageWithTypeParameter.kt @@ -13,7 +13,7 @@ fun test() { testMethod(1, "value") } -//INFO:
(OnMethodUsageWithTypeParameter.kt)
public fun <T> testMethod( +//INFO:
OnMethodUsageWithTypeParameter.kt
public fun <T> testMethod( //INFO: a: Int, //INFO: b: String -//INFO: ): Unit

Some documentation

Parameters

T - the type parameter

a - Some int

b - String

+//INFO: ): Unit

Some documentation

Params:

T - the type parameter

a - Some int

b - String

diff --git a/idea/testData/editor/quickDoc/Samples.kt b/idea/testData/editor/quickDoc/Samples.kt index 62933c31fee..9ac8dbc7cb1 100644 --- a/idea/testData/editor/quickDoc/Samples.kt +++ b/idea/testData/editor/quickDoc/Samples.kt @@ -19,9 +19,9 @@ fun castTextSpell(spell: String) { throw SecurityException("Magic prohibited outside Hogwarts") } -//INFO:
magic (Samples.kt)
public fun castTextSpell( +//INFO:
magic Samples.kt
public fun castTextSpell( //INFO: spell: String -//INFO: ): Unit

Samples

Samples.sampleMagic


+//INFO: ): Unit

Samples:

Samples.sampleMagic


 //INFO: castTextSpell("[asd] [dse] [asz]")
 //INFO: 

sampleScroll


 //INFO: val reader = Scroll("[asd] [dse] [asz]").reader()
diff --git a/idea/testData/editor/quickDoc/TopLevelMethodFromJava.java b/idea/testData/editor/quickDoc/TopLevelMethodFromJava.java
index 33265cdcabd..1840ef404cf 100644
--- a/idea/testData/editor/quickDoc/TopLevelMethodFromJava.java
+++ b/idea/testData/editor/quickDoc/TopLevelMethodFromJava.java
@@ -8,6 +8,6 @@ class Testing {
     }
 }
 
-//INFO: 
some (TopLevelMethodFromJava_Data.kt)
public fun foo( +//INFO:
some TopLevelMethodFromJava_Data.kt
public fun foo( //INFO: bar: Int //INFO: ): Unit

KDoc foo

diff --git a/idea/testData/editor/quickDoc/TypeNamesFromStdLibNavigation.kt b/idea/testData/editor/quickDoc/TypeNamesFromStdLibNavigation.kt index 45c28d9db75..aa2474ddb65 100644 --- a/idea/testData/editor/quickDoc/TypeNamesFromStdLibNavigation.kt +++ b/idea/testData/editor/quickDoc/TypeNamesFromStdLibNavigation.kt @@ -8,6 +8,6 @@ fun main(args: Array) { foo() } -//INFO:
(TypeNamesFromStdLibNavigation.kt)
public fun foo( +//INFO:
TypeNamesFromStdLibNavigation.kt
public fun foo( //INFO: x: A //INFO: ): Unit