Inheritance #

FileSystemDock
Table of contents

FileSystemDock #

Node, editor, not_builtin_classes

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

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.

Members #

Methods #

func add_resource_tooltip_plugin(plugin: EditorResourceTooltipPlugin) -> void#

Registers a new EditorResourceTooltipPlugin.

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

func remove_resource_tooltip_plugin(plugin: EditorResourceTooltipPlugin) -> void#

Removes an EditorResourceTooltipPlugin. Fails if the plugin wasn't previously added.

Annotations #

Constants #

Constructors #

Enums #

Operators #

Signals #

signal display_mode_changed()#

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

signal file_removed(file: String)#

Emitted when the given file was removed.

signal files_moved(new_file: String)#

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

signal folder_color_changed()#

Emitted when folders change color.

signal folder_moved(new_folder: String)#

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

signal folder_removed(folder: String)#

Emitted when the given folder was removed.

signal inherit(file: String)#

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

signal instantiate(files: PackedStringArray)#

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

signal resource_removed(resource: Resource)#

Emitted when an external resource had its file removed.

Theme Items #

Tutorials #