Extensions Editor
Editor window for enabling and disabling editor extensions. Allows safe-mode recovery when an extension causes problems.
Editor window for enabling and disabling editor extensions. Allows safe-mode recovery when an extension causes problems.
Overview
editor_extensionsEditor displays a scrollable table of all editor extension names with toggle icons. Clicking the icon toggles the extension's disabled state in editor.extensionsSettings. Changes require a Lua reload (Ctrl+L) to take effect. The editor can be started in safe mode (Ctrl+F11) to access this tool when a broken extension prevents normal startup.
Public Functions
| Function | Description |
|---|---|
M.onEditorInitialized() | Registers window (915×600) and menu item |
M.onEditorGui() | Draws the extensions table with enable/disable icons |
M.onEditorRegisterPreferences(prefsRegistry) | Placeholder |
M.onEditorPreferenceValueChanged(path, value) | Placeholder |
UI Behavior
- Green checkmark (
doneicon) = extension enabled - Red icon (
do_not_disturb_alt) = extension disabled - Clicking toggles state and calls
editor.saveExtensionsSettings() - Lists all entries from
editor.allExtensionNames
Usage Example
-- Access via editor menu: Extensions Editor
-- Toggle an extension:
editor.extensionsSettings["editor_someExtension"] = { disabled = true }
editor.saveExtensionsSettings()
-- Then reload Lua with Ctrl+LSee Also
- Editor AI Tests - Related reference
- Editor AI Visualization - Related reference
- Editor – Assembly Spline Tool - Related reference
- World Editor Guide - Guide
Extensions Debug
Editor window that displays all loaded extensions as an expandable tree, showing their functions, values, and internal structure for debugging purposes.
FFI Pointer Leak Test
Disabled test extension for verifying FFI pointer types (bool, float, float2, string) and ImGui image rendering. Not active in normal builds.