我使用 IntelliJ Idea。 是否可以在不使用 Javadocs 的情况下在 TODO 中添加超链接?
示例:
//todo maybe we have to delete this method,
//have another method now {someMethodByDTO} <-link to method
public Object someMethod(){
// method body
}
最佳答案
不可以,您不能在评论中添加方法链接。 您只能创建可点击的评论来引用某些网址。
可点击评论
If a documentation comment contains a hyperlink, you can make it clickable.
To do that, do one of the following:
Keep the Ctrl key pressed and hover your mouse pointer over the hyperlink. Press Ctrl+B.
参见here
关于java - 是否可以在 TODO IntelliJ Idea 中添加超链接?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44626862/