IntelliJ IDEA全球搜索 [英] IntelliJ IDEA global search
问题描述
我想跨项目搜索变量用法,或者至少是字符串。我有 IndexYourFiles ,它适用于文本搜索,但我必须不时重新编制索引,并且想要一个集成的解决方案。
I would like to search across projects for variable usages, or at least for strings. I've got IndexYourFiles which works well for text searches, but I have to re-index every now and then and would like an integrated solution.
有什么方法可以在IntelliJ IDEA中的项目中搜索?到目前为止,我只能在当前打开的项目中进行搜索。我猜IntelliJ本身不能这样做;有没有什么插件支持这一点?
Is there any way that I can search across projects in IntelliJ IDEA? So far I have only been able to search within the currently-open project. I'm guessing IntelliJ can't do this natively; are there any plug-ins out there to support this?
谢谢。
推荐答案
IntelliJ是基于项目的,因此您只能在打开的项目中使用 Ctrl + Shift + F (Windows)或
IntelliJ is project based so you can only search within the open project using Ctrl + Shift + F(Windows) or Cmd + Shift + F(Mac).
当我需要搜索整个我使用的一组项目代理Ransack
When I need to search across a set of projects I use Agent Ransack
这篇关于IntelliJ IDEA全球搜索的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!