多行TODO:Eclipse中的注释

Wil*_*son 22 eclipse comments

这里有一个相当直接的问题.有没有人想出如何做一个TODO:在Eclipse中跨越多行的评论?我不能为我的生活得到它的工作.

the*_*der 9

我为TODO分配了一个简短的标题/解释.此标题将由您的IDE选取并放入任务列表以供参考.然后在下面我详细描述了我的TODO.

第一行将在您的代码中突出显示,因此您也可以轻松识别您的待办事项内联.

/**
*   TODO: Short explanatory title
*   Here I start a more lengthy description.
*   This can consist of as many lines as you want.
*/
Run Code Online (Sandbox Code Playgroud)


Vis*_*kia 5

请尝试使用以下几行,

    /**
     * <pre>
     * TODO : You can write very long line here, which will not truncate in task desc.
     * </pre>
     */
Run Code Online (Sandbox Code Playgroud)