Class reference

FileSystemDock

Inherits VBoxContainer

Redot editor's dock for managing files in the project.

Description

This class is available only in EditorPlugins and can't be instantiated. You can access it using EditorInterface.get_file_system_dock(). While FileSystemDock doesn't expose any methods for file manipulation, it can listen for various file-related signals.

Methods

void navigate_to_path(String path)

Sets the given path as currently selected, ensuring that the selected file/directory is visible.

Signals

display_mode_changed()

Emitted when the user switches file display mode or split mode.

file_removed(String file)

Emitted when the given file was removed.

files_moved(String old_file, String new_file)

Emitted when a file is moved from old_file path to new_file path.

folder_color_changed()

Emitted when folders change color.

folder_moved(String old_folder, String new_folder)

Emitted when a folder is moved from old_folder path to new_folder path.

folder_removed(String folder)

Emitted when the given folder was removed.

inherit(String file)

Emitted when a new scene is created that inherits the scene at file path.

instantiate(PackedStringArray files)

Emitted when the given scenes are being instantiated in the editor.

resource_removed(Resource resource)

Emitted when an external resource had its file removed.

Source revision 4f5b14abade2
Connection interrupted. Reload×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.