package moving

This commit is contained in:
2026-05-06 00:25:23 +01:00
parent 7415b70d1b
commit 14d4751f9a
3 changed files with 10 additions and 8 deletions
@@ -2,9 +2,10 @@ package p.studio;
import com.fasterxml.jackson.databind.ObjectMapper;
import p.packer.Packer;
import p.studio.lsp.api.LspServerLifecycle;
import p.studio.lsp.events.StudioEventBus;
import p.studio.lsp.events.StudioPackerEventAdapter;
import p.studio.lsp.services.LspServerLifecycle;
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;
@@ -22,7 +23,7 @@ public final class AppContainer implements Container {
private final ObjectMapper mapper;
private final EmbeddedPacker embeddedPacker;
private final StudioBackgroundTasks backgroundTasks;
private final p.studio.lsp.api.LspServerLifecycle lspServerLifecycle;
private final LspServerLifecycle lspServerLifecycle;
public AppContainer() {
this.i18nService = new I18nService();
@@ -33,7 +34,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 LspServerLifecycle(
this.lspServerLifecycle = new LspServerLifecycleImpl(
new TcpLspServerHostFactory(),
new CompilerLanguageServiceBridge());
}