Skip to content

This is a Godot 4 plugin that provides a quick and easy way to search for scripts with custom search parameters. You can blacklist certain directories and specify allowed extensions.

License

Notifications You must be signed in to change notification settings

bruno-br/script-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Script Search

This is a Godot 4 plugin that provides a quick and easy way to search for scripts.

Preview Image

How to Use

Searching

Press Ctrl+P to open the Search Window. (You can change this shortcut)

Write part of the file name and the search results will be filtered.

Search Window

Navigate with Up / Down Arrows and press Enter to select a file. The file will open in the script editor.

Special Characters

  • : - Use a colon as the first character to match only the file base name, ignoring the rest of the path.

    For example, searching :weapon would match weapon.gd but not weapon/sword.gd.

  • , - Use a comma between terms to perform a multi-term search.

    For example, searching test, weapon would only match files containing both test and weapon in their names or paths.

Changing the Configurations

You can easily edit the Configurations by clicking the config button on the Search Window:

Config Button

This will open the Configuration Window, where you can change the parameters:

  • Allowed Extensions: What extensions should be included in the search.

    Default: ["gd", "gdshader"]

  • Directory Blacklist: What directories should not be included in the search.

    Default: ["res://.godot", "res://addons"]

  • Case Sensitive: When enabled, differentiates upper and lower case text.

    Default: false

Configuration Menu

Click the Save button to apply the changes made to the configurations.

Changing the shortcut

To modify the default shortcut, navigate to Project > Project Settings.

In the Input Map tab, add a new action called addon_script_search_open and assign an event to it, with the desired key combination:

Changing default shortcut

Reload the plugin, and the new shortcut should take effect.

Assets

Icons from Onscreen Controls by Kenney.

About

This is a Godot 4 plugin that provides a quick and easy way to search for scripts with custom search parameters. You can blacklist certain directories and specify allowed extensions.

Resources

License

Stars

Watchers

Forks

Packages

No packages published