Up to date
This page is up to date for Godot 4.3
.
If you still find outdated information, please open an issue.
FileSystemDockΒΆ
Inherits: VBoxContainer < BoxContainer < Container < Control < CanvasItem < Node < Object
Godot 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 |
add_resource_tooltip_plugin(plugin: EditorResourceTooltipPlugin) |
void |
navigate_to_path(path: String) |
void |
remove_resource_tooltip_plugin(plugin: EditorResourceTooltipPlugin) |
SignalsΒΆ
display_mode_changed() π
Emitted when the user switches file display mode or split mode.
file_removed(file: String) π
Emitted when the given file
was removed.
files_moved(old_file: String, new_file: String) π
Emitted when a file is moved from old_file
path to new_file
path.
folder_color_changed() π
Emitted when folders change color.
folder_moved(old_folder: String, new_folder: String) π
Emitted when a folder is moved from old_folder
path to new_folder
path.
folder_removed(folder: String) π
Emitted when the given folder
was removed.
Emitted when a new scene is created that inherits the scene at file
path.
instantiate(files: PackedStringArray) π
Emitted when the given scenes are being instantiated in the editor.
resource_removed(resource: Resource) π
Emitted when an external resource
had its file removed.
Method DescriptionsΒΆ
void add_resource_tooltip_plugin(plugin: EditorResourceTooltipPlugin) π
Registers a new EditorResourceTooltipPlugin.
Sets the given path
as currently selected, ensuring that the selected file/directory is visible.
void remove_resource_tooltip_plugin(plugin: EditorResourceTooltipPlugin) π
Removes an EditorResourceTooltipPlugin. Fails if the plugin wasn't previously added.