IntelliJ IDEA 全局搜索 [英] IntelliJ IDEA global search

查看:43
本文介绍了IntelliJ IDEA 全局搜索的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在项目中搜索变量用法,或者至少搜索字符串.我有 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 + <在打开的项目中进行搜索kbd>F(Windows) 或 Cmd + Shift + F(Mac).

IntelliJ is project based so you can only search within the open project using Ctrl + Shift + F(Windows) or Cmd + Shift + F(Mac).

当我需要搜索一组项目时,我使用 Agent Ransack

When I need to search across a set of projects I use Agent Ransack

这篇关于IntelliJ IDEA 全局搜索的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆