最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

java - No Javadoc completion for records - Stack Overflow

programmeradmin1浏览0评论

For unknown reasons I don't get a pre-filled javadoc from eclipse for record types if I type /** and press enter.

If I type /** above a record in eclipse and press enter I would expect to get an autocompleted javadoc for all parameters of my record.

I would expect to get this:

/**
 * @param id 
 * @param test
 */
record Test (int id, String test) { 
}

But all I got is an empty javadoc like this:

/**
 * 
 */
record Test (int id, String test) { 
}

I've exactly the same problem as described here: .jdt.ls/issues/1396 But on github .jdt.ls/pull/1398 this should be fixed since years in Eclipse. As I have version 2024-12 (4.34.0) of Eclipse there must be something missing in my settings but I don't know where to look at.

发布评论

评论列表(0)

  1. 暂无评论