mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
It is now possible after IJPL-43721 was fixed ^KTIJ-29428 Fixed GitOrigin-RevId: e63a910e998b45fcb78209255401399d0a345166
30 lines
1.1 KiB
Kotlin
30 lines
1.1 KiB
Kotlin
/**
|
|
* Some documentation.
|
|
*
|
|
* ```
|
|
* Code block
|
|
* Second line
|
|
*
|
|
* Third line
|
|
* ```
|
|
*
|
|
* Text between code blocks.
|
|
* ```
|
|
* ```
|
|
* Text after code block.
|
|
*/
|
|
fun testMethod() {
|
|
|
|
}
|
|
|
|
class C {
|
|
}
|
|
|
|
fun test() {
|
|
<caret>testMethod(1, "value")
|
|
}
|
|
|
|
//INFO: <div class='definition'><pre><span style="color:#000080;font-weight:bold;">public</span> <span style="color:#000080;font-weight:bold;">fun</span> <span style="color:#000000;">testMethod</span>()<span style="">: </span><span style="color:#000000;"><a href="psi_element://kotlin.Unit">Unit</a></span></pre></div><div class='content'><p style='margin-top:0;padding-top:0;'>Some documentation.</p>
|
|
//INFO: <pre><code><span style="">Code block<br></span><span style="">    Second line<br></span><span style=""><br></span><span style="">Third line</span></code></pre><p>Text between code blocks.</p>
|
|
//INFO: <pre><code></code></pre><p>Text after code block.</p></div><table class='sections'></table><div class='bottom'><icon src="KotlinBaseResourcesIcons.Kotlin_file"/> OnMethodUsageWithCodeBlock.kt<br/></div>
|