de28a41caa
* Show function docs when cursor is in args of the function call * Show constructor docs when cursor is in args of the constructor call * Show function docs when cursor is in args of the kt function call * Add some tests * Use JavaDocumentationProvider to fetch java method document * Support caret in params #KT-32163 fixed
19 lines
569 B
Kotlin
Vendored
19 lines
569 B
Kotlin
Vendored
/**
|
|
Some documentation
|
|
|
|
* @param a Some int
|
|
* @param b String
|
|
*/
|
|
fun testMethod(a: Int, b: String) {
|
|
|
|
}
|
|
|
|
fun test() {
|
|
testMethod(<caret>1, "value")
|
|
}
|
|
|
|
//INFO: <div class='definition'><pre><font color="808080"><i>OnMethodUsageInParen.kt</i></font><br>public fun <b>testMethod</b>(
|
|
//INFO: a: Int,
|
|
//INFO: b: String
|
|
//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>
|