Fix unload lifecycle, widget cleanup, and plugin removal handling
- Rename GodotHandler to GDScriptHandler in LSP client - Fix unload() method naming in nanoesq_temp_buffer plugin - Return manifest_meta in manifest_manager for manual launch plugins - Properly destroy tabs_widget, viewport, and scrolled_win on unload - Refactor plugin removal to search all manifest lists and fix cleanup order - Fix widget reference in plugins_ui (use child instead of box)
This commit is contained in:
@@ -11,7 +11,7 @@ from libs.event_factory import Event_Factory, Code_Event_Types
|
||||
|
||||
from plugins.plugin_types import PluginCode
|
||||
|
||||
from .response_handler import GodotHandler
|
||||
from .response_handler import GDScriptHandler
|
||||
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ class Plugin(PluginCode):
|
||||
event = Event_Factory.create_event("register_lsp_client",
|
||||
lang_id = "gdscript",
|
||||
lang_config = config,
|
||||
handler = GodotHandler
|
||||
handler = GDScriptHandler
|
||||
)
|
||||
self.emit_to("lsp_manager", event)
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
from .python import PythonHandler
|
||||
from .gdscript import GDScriptHandler
|
||||
@@ -7,6 +7,6 @@ from lsp_manager.response_handlers.default import DefaultHandler
|
||||
|
||||
|
||||
|
||||
class GodotHandler(DefaultHandler):
|
||||
class GDScriptHandler(DefaultHandler):
|
||||
"""Uses default handling, can override if Godot needs special logic."""
|
||||
...
|
||||
Reference in New Issue
Block a user