Global Search IntelliJ IDEA

I would like to look for projects for use variables, or at least for strings. I have IndexYourFiles that works well for text searches, but I have to index it periodically and would like an integrated solution,

Is there any way to search in IntelliJ IDEA projects? So far, I was able to perform a search only within the framework of an open project. I assume IntelliJ cannot do this initially; are there any plugins to support this?

Thank.

+44
intellij-idea search full-text-search
Feb 08 '11 at 19:07
source share
5 answers

IntelliJ is project-based, so you can only search in an open project using Ctrl + Shift + F (Windows) or Cmd + Shift + F (Mac).

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

+71
Feb 28 2018-11-21T00:
source share

IntelliJ 13 (at least) has "Edit / Find / Find in Path ...".
It has a Scope parameter that can be installed in the directory, so if all projects are in the same directory (for example, IdeaProjects), it will search for all projects.

+10
Dec 06 '13 at 8:15
source share

Use grep .

In the terminal, go to the root directory of your project and enter grep -r my_string_here . .

You can add color to your search with --color (just add alias grep='grep --color' to your .bash_profile , and add -i` to make your query case insensitive.

+4
May 19 '13 at 15:59
source share

In the end, my workplace set up Atlassian Fisheye , which allows us to search for code or specific files in all of our projects, and it works well.

+1
Nov 21 '13 at 16:37
source share

IntelliJ is now very easy to find anything in just two clicks and perform a search on the panel.

Double-click shift and enter a keyword in the search bar.
I am using ubuntu which found a shortcut.

0
May 22 '17 at 7:35 a.m.
source share



All Articles