Files
kotlin-fork/idea/testData/editor/quickDoc/OnMethodUsage.kt
T
Toshiaki Kameyama 2162c39ab3 Quick doc: show default parameter value
#KT-19069 Fixed
2020-06-24 16:20:21 +02:00

19 lines
586 B
Kotlin
Vendored

/**
Some documentation
* @param a Some int
* @param b String
*/
fun testMethod(a: Int, b: String = "default") {
}
fun test() {
<caret>testMethod(1, "value")
}
//INFO: <div class='definition'><pre><font color="808080"><i>OnMethodUsage.kt</i></font><br>public fun <b>testMethod</b>(
//INFO: a: Int,
//INFO: b: String = "default"
//INFO: ): Unit</pre></div><div class='content'><p>Some documentation</p></div><table class='sections'><tr><td valign='top' class='section'><p>Params:</td><td valign='top'><p><code>a</code> - Some int<p><code>b</code> - String</td></table>