clean up and simplify

This commit is contained in:
2026-05-06 02:58:18 +01:00
parent 14d4751f9a
commit 41f2c804a0
26 changed files with 497 additions and 1141 deletions
@@ -6,8 +6,6 @@ import p.studio.lsp.api.LspServerLifecycle;
import p.studio.lsp.events.StudioEventBus;
import p.studio.lsp.events.StudioPackerEventAdapter;
import p.studio.lsp.services.LspServerLifecycleImpl;
import p.studio.lsp.services.compiler.CompilerLanguageServiceBridge;
import p.studio.lsp.services.host.TcpLspServerHostFactory;
import p.studio.utilities.ThemeService;
import p.studio.utilities.i18n.I18nService;
@@ -34,9 +32,7 @@ public final class AppContainer implements Container {
this.backgroundTasks = new StudioBackgroundTasks(backgroundExecutor);
final Packer packer = Packer.bootstrap(this.mapper, new StudioPackerEventAdapter(studioEventBus));
this.embeddedPacker = new EmbeddedPacker(packer.workspaceService(), packer::close);
this.lspServerLifecycle = new LspServerLifecycleImpl(
new TcpLspServerHostFactory(),
new CompilerLanguageServiceBridge());
this.lspServerLifecycle = new LspServerLifecycleImpl();
}
@Override