diff --git a/common/src/main/java/net/neoforged/gradle/common/runs/ide/IdeRunIntegrationManager.java b/common/src/main/java/net/neoforged/gradle/common/runs/ide/IdeRunIntegrationManager.java index 110662acb..434f568d2 100644 --- a/common/src/main/java/net/neoforged/gradle/common/runs/ide/IdeRunIntegrationManager.java +++ b/common/src/main/java/net/neoforged/gradle/common/runs/ide/IdeRunIntegrationManager.java @@ -244,7 +244,7 @@ public void vscode(Project project, EclipseModel eclipse) .withEnvironmentVariables(adaptEnvironment(runImpl, RunsUtil::buildRunWithEclipseModClasses)) .withShortenCommandLine(ShortCmdBehaviour.ARGUMENT_FILE) .withMainClass(runImpl.getMainClass().get()) - .withProjectName(project.getName()) + .withProjectName(eclipse.getProject().getName()) .withName(runName); if (IdeManagementExtension.isVscodePluginImport(project))