在Eclipse中搜索JavaDoc [英] Search JavaDoc in Eclipse
本文介绍了在Eclipse中搜索JavaDoc的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我只想在javadoc注释中查找文本...
解决方案
我想到的唯一方法是要使用 Eclipse文件搜索对话框,请使用此正则表达式作为输入:
(一个或多个:?/ \ * \ *([^ \ *] | \ * [^ /])* ### INPUT ### * \ *?。? /)
,将### INPUT ###替换为您正在搜索的内容。 / p>
请参阅其他问题关于这个正则表达式。
Is there a way to search in javadoc comments only (via Eclipse)? I just want to find text within a javadoc comment...
解决方案
The only way I can think of is to use Eclipse File Search dialog for all .java files and use this regular expression as input:
"(?s:/\*\*([^\*]|\*[^/])*?###INPUT###.*?\*/)"
and replace the ###INPUT### with what you are searching for.
See this other question about this regex.
这篇关于在Eclipse中搜索JavaDoc的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文