Java 用于在工作区中搜索单词的 Eclipse 快捷方式
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2958215/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Eclipse shortcut for searching word in workspace
提问by aks
Possible Duplicate:
searching files in eclipse
可能的重复:
在 Eclipse 中搜索文件
How to search for a particular word in entire workspace in Eclipse?
如何在 Eclipse 的整个工作区中搜索特定单词?
回答by DJClayworth
In the "Search" menu there is a "File" option, which brings up a dialog. Fill in the word you are looking for and a pattern to restrict which files to search.
在“搜索”菜单中有一个“文件”选项,它会弹出一个对话框。填写您要查找的单词和限制要搜索的文件的模式。
Entering "Search" into the help system would have got you this.
在帮助系统中输入“搜索”会让你得到这个。
回答by sushil bharwani
select workspace and press Ctrl+H
选择工作区并按Ctrl+H
回答by Andreas Dolk
Select the workspace in the package explorer, open the File Search dialog, enter the particular world and *
as a file wildcard, restrict the search to the selection.
在包资源管理器中选择工作区,打开文件搜索对话框,输入特定的世界并*
作为文件通配符,将搜索限制为选择。