You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Smart-Doc should automatically merge the following line(s) that are indented and directly follow @PARAM , treating them as the continuation of the description.
For example:
@param userId
employee id for user
@param orgID
orgnization id for user
Current Behavior (当前结果,社区已开启国际化推广,请用文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)
ERROR: Unable to find javadoc @PARAM for actual param "userId" in method xxxx
Steps to Reproduce (Bug产生步骤,请尽量提供用例代码。社区已开启国际化推广,请用文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)
just comment with this javadoc
/**
* get user detail by user id
*
* @param userId
* employee id for user ###### NOTE: description is new line
* @return user details
*/
Contact Details
www.402645063@gmail.com
Version
latest
Plugin
smart-doc-maven-plugin
Build tool version
maven 3.9.10
Jdk version
21
Describe the bug (Bug描述,社区已开启国际化推广,请用千问、星火等免费大模型工具辅助翻译成英文,减少社区开发者的工作)
When using the Eclipse Javadoc formatter, the formatter automatically wraps
@paramdescriptions into multiple lines with indentation.In this case, Smart-Doc fails to recognize the parameter description, resulting in error :
This issue makes it impossible for teams that enforce Eclipse-style formatting rules to use Smart-Doc without patching or reformatting the source.
Expected Behavior (您期望的结果,社区已开启国际化推广,请用千问、星火等免费大模型工具辅助翻译成英文,减少社区开发者的工作)
Smart-Doc should automatically merge the following line(s) that are indented and directly follow @PARAM , treating them as the continuation of the description.
For example:
Current Behavior (当前结果,社区已开启国际化推广,请用文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)
ERROR: Unable to find javadoc @PARAM for actual param "userId" in method xxxx
Steps to Reproduce (Bug产生步骤,请尽量提供用例代码。社区已开启国际化推广,请用文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)
mvn -Dfile.encoding=UTF-8 smart-doc:torna-restPossible Solution (Bug解决建议,社区已开启国际化推广,请用文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)
No response
Context (Bug影响描述,社区已开启国际化推广,请用文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)
No response
Validations