refactor(lsp-manager): replace handler architecture with response registry and modular providers
* Remove legacy handlers system (BaseHandler, DefaultHandler, JavaHandler, PythonHandler, HandlerRegistry) * Introduce response_handlers module with ResponseRegistry for LSP response routing * Replace HandlerRegistry usage in LSPManager with ResponseRegistry * Convert LSPManagerUI client lifecycle to GObject signals * Remove GLib.idle_add usage in LSP client event dispatch * Move completion request logic into LSPServerEventsMixin * Replace provider.py and provider_response_cache.py with modular provider/ package * Simplify plugin wiring via response_registry.set_event_hub() This refactor decouples response handling, simplifies event flow, and prepares the LSP manager for easier language-specific extensions.
This commit is contained in:
12
plugins/code/ui/lsp_manager/response_handlers/python.py
Normal file
12
plugins/code/ui/lsp_manager/response_handlers/python.py
Normal file
@@ -0,0 +1,12 @@
|
||||
# Python imports
|
||||
|
||||
# Lib imports
|
||||
|
||||
# Application imports
|
||||
from .default import DefaultHandler
|
||||
|
||||
|
||||
|
||||
class PythonHandler(DefaultHandler):
|
||||
"""Uses default handling, can override if Python needs special logic."""
|
||||
...
|
||||
Reference in New Issue
Block a user