From c6e4025a0f831626bb677d413ea77b593d872e7b Mon Sep 17 00:00:00 2001 From: modmuss50 Date: Wed, 9 Oct 2024 09:32:15 +0100 Subject: [PATCH] Fix #1186 Incorrect location of launch.json for vscode task --- src/main/java/net/fabricmc/loom/task/GenVsCodeProjectTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/fabricmc/loom/task/GenVsCodeProjectTask.java b/src/main/java/net/fabricmc/loom/task/GenVsCodeProjectTask.java index 444f7e579..6684e5ce4 100644 --- a/src/main/java/net/fabricmc/loom/task/GenVsCodeProjectTask.java +++ b/src/main/java/net/fabricmc/loom/task/GenVsCodeProjectTask.java @@ -73,7 +73,7 @@ public abstract class GenVsCodeProjectTask extends AbstractLoomTask { public GenVsCodeProjectTask() { setGroup(Constants.TaskGroup.IDE); getLaunchConfigurations().set(getProject().provider(this::getConfigurations)); - getLaunchJson().convention(getProject().getRootProject().getLayout().getProjectDirectory().file("vscode/launch.json")); + getLaunchJson().convention(getProject().getRootProject().getLayout().getProjectDirectory().file(".vscode/launch.json")); } private List getConfigurations() {