Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add file exclusion to Find In Files #11548

Closed
monxa opened this issue Jan 13, 2025 · 1 comment
Closed

Add file exclusion to Find In Files #11548

monxa opened this issue Jan 13, 2025 · 1 comment

Comments

@monxa
Copy link

monxa commented Jan 13, 2025

Describe the project you are working on

Godot all day.

Describe the problem or limitation you are having in your project

The Find in Files dialogue misses an option to exclude files and directories. A common use-case might be the exclusion of res://addons

Describe the feature / enhancement and how it helps to overcome the problem or limitation

As the most straightforward solution, I propose a regex search box entry to exclude any parts of paths in the Find In Files dialogue.

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

  • FindInFiles: Setter, regex logic.
  • FindInFilesDialog: Exclude label, lineedit,
  • FindInFilesPanel: Display exclude in the header.
  • ScriptEditorPlugin controller glue adjustements.

If this enhancement will not be used often, can it be worked around with a few lines of script?

Core

Is there a reason why this should be core and not an add-on in the asset library?

Metal core.

@Calinou
Copy link
Member

Calinou commented Jan 13, 2025

Thanks for the proposal! Consolidating in #8384.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants