Skip to content

Expose methods to add/remove format queries in EditorFileSystem#116755

Open
GabCoolDude wants to merge 1 commit intogodotengine:masterfrom
GabCoolDude:expose-format-support-query
Open

Expose methods to add/remove format queries in EditorFileSystem#116755
GabCoolDude wants to merge 1 commit intogodotengine:masterfrom
GabCoolDude:expose-format-support-query

Conversation

@GabCoolDude
Copy link
Contributor

EditorFileSystemImportFormatSupportQuery is a class exposed to scripting, however for it to work properly, it needs to be added to EditorFileSystem using EditorFileSystem::add_import_format_support_query, which is a method that is not exposed. This fixes that by exposing both the methods to add and remove format queries.

@GabCoolDude GabCoolDude requested a review from a team as a code owner February 25, 2026 12:57
@AThousandShips AThousandShips added this to the 4.x milestone Feb 25, 2026
@GabCoolDude GabCoolDude force-pushed the expose-format-support-query branch from 8ae2cba to c7be4aa Compare February 25, 2026 13:22
@GabCoolDude GabCoolDude requested a review from a team as a code owner February 25, 2026 13:22
@KoBeWi
Copy link
Member

KoBeWi commented Feb 25, 2026

The description of EditorFileSystemImportFormatSupportQuery should mention how to add queries (i.e. link to the new add method).

This is required for `EditorFileSystemImportFormatSupportQuery` to work
@GabCoolDude GabCoolDude force-pushed the expose-format-support-query branch from c7be4aa to c94059b Compare February 25, 2026 13:40
@GabCoolDude
Copy link
Contributor Author

The description of EditorFileSystemImportFormatSupportQuery should mention how to add queries (i.e. link to the new add method).

Change has been made.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants