How to search in all scripts?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Zylann
:warning: Old Version Published before Godot 3 was released.

This is usually available with the shortcut Ctrl+Shift+F, but in Godot it is already bound to something else.
Is it possible to search text in all script files instead of just the current one?

:bust_in_silhouette: Reply From: Zylann

Woops, not possible yet Search through all currently opened scripts · Issue #2592 · godotengine/godot · GitHub
(if this issue is closed as you read this, you should give it a try :p)

:bust_in_silhouette: Reply From: duke_meister

For that I use Notepad++ :slight_smile:

Curious about this. Is autocomplete for Godot supported on Notepad++ ?

ericdl | 2016-06-16 01:52

Not that I know of but Atom does. I just haven’t managed to get it to work.

duke_meister | 2016-06-16 04:15

:bust_in_silhouette: Reply From: timoschwarzer

If you are using Linux and have all scripts saved separately or saved all scenes as *.tscn, you can currently only stick to grep -rI <search term>

:bust_in_silhouette: Reply From: lootie

This is now possible in Godot. Ctrl + Shift + F, or CMD + Shift + F for Mac OS. I know this is a little bit late but this answer is still #1 in Google search when I search for this question.

For sure I know, I implemented it :smiley:

Zylann | 2020-04-21 22:30

I am trying this on WIndows, Godot version 3.4.4, but is not working…

Is there a menu to achieve this, or only a shortcut?


johnbernardsson | 2022-07-27 14:50

:bust_in_silhouette: Reply From: JulSams

Go to Project → Project Settings and under Application → Editor → Search In File Extensions → PoolStringArray (size 2)

Increase the size and add “tscn” to search in scenes.

Credit to KoBeWi for this knowledge