Major completion provider overhaul; pluigin load and pattern improvements; css overhaul/cleanup; source view state modes added

This commit is contained in:
2026-02-14 21:36:06 -06:00
parent 5df23abb10
commit 80a4620724
157 changed files with 3121 additions and 650 deletions
+14 -4
View File
@@ -24,11 +24,13 @@ class BaseController(IPCSignalsMixin, KeyboardSignalsMixin, BaseControllerMixin)
def __init__(self):
self._setup_controller_data()
self._load_plugins_and_files(is_pre = True)
self._setup_styling()
self._setup_signals()
self._subscribe_to_events()
self._load_controllers()
self._load_plugins_and_files()
self._load_plugins_and_files(is_pre = False)
logger.info(f"Made it past {self.__class__} loading...")
settings_manager.set_end_load_time()
@@ -63,13 +65,21 @@ class BaseController(IPCSignalsMixin, KeyboardSignalsMixin, BaseControllerMixin)
def _load_controllers(self):
BridgeController()
def _load_plugins_and_files(self):
def _load_plugins_and_files(self, is_pre: bool):
args, unknownargs = settings_manager.get_starting_args()
if args.no_plugins == "true": return
if args.no_plugins == "false":
if is_pre:
self.plugins_controller.pre_launch_plugins()
return
if not is_pre:
self.plugins_controller.post_launch_plugins()
return
def _load_files(self):
for file in settings_manager.get_starting_files():
event_system.emit("post-file-to-ipc", file)
def _tggl_top_main_menubar(self):
logger.debug("_tggl_top_main_menubar > stub...")