Support for showing rendered doc comments in editor

Fixed #KT-37361
This commit is contained in:
Igor Yakovlev
2020-03-20 23:20:15 +03:00
parent d620802a18
commit a71fd0e6d9
21 changed files with 419 additions and 131 deletions
@@ -37,6 +37,6 @@ class KDocElementFactory(val project: Project) {
val section = kdoc.getDefaultSection()
val tag = section.findTagByName("param")
val link = tag?.getSubjectLink() ?: throw IllegalArgumentException("Cannot find subject link in doc comment '$kdocText'")
return link.getChildOfType<KDocName>()!!
return link.getChildOfType()!!
}
}