【发布时间】:2018-09-08 13:51:41
【问题描述】:
假设我们有这样的记录字符串
/** retrieve a state of the service
* <br/> HTTP code 200 - normal state
* <br/> HTTP code 403 - some recoverable state:
const val SERVICE_STATE = "servicestate" */
这里有几个<br/>,我以前用它换行,就像我在java中一样,但是AndroidStudio的输出(在中似乎相同InteliJIdea) 是
使用 java 可以正确解析和显示:
/** retrieve a state of the service
* <br/> HTTP code 200 - normal state
* <br/> HTTP code 403 - some recoverable state */
public static final String SERVICE_STATE = "servicestate";
我可以用 kotlin 和 IntelijIdea 以某种方式实现相同的效果吗,也许 kotlin 有另一种选择来打破 KDoc 中的界限?
【问题讨论】:
标签: android-studio intellij-idea kotlin kdoc