Added suffix and path filters for quickopen #142
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello,
I’ve become completely reliant on this plugin during my time using Godot.
The reason for this PR is that I foolishly added over 30,000 png and svg assets into my assets folder.
As a result, whenever I use Quick Open, unless I select a filter for scenes or GDScript files, every single keystroke causes a delay of two to three seconds — which is quite painful.
To solve this, I added a filtering feature that allows users to exclude certain file extensions or directory paths.

Users can configure this in res://addons/script-ide/quickopen/filter_config.tres.
By default, the .import suffix and .godot directory are included as examples for users to follow, even though Godot already filters them out at the engine level.
I also added two switches to enable or disable these filters.
All of the changes take effect immediately — there’s no need to restart the plugin or the engine.
These improvements make a noticeable difference when dealing with tens of thousands of assets files,
though I fully admit that adding so many files to a game project is quite a foolish thing to do.
Here are a few example screenshots:
Default state

Filtered out the “素材 (assets)” path

Filtered out .md extension

Filters kept but switches turned off
