Skip to content

Ghidra is a software reverse engineering (SRE) framework

Update VSCodeProjectScript.java

Peter Luciae6ed8da67961
diff --git a/Ghidra/Features/Base/ghidra_scripts/VSCodeProjectScript.java b/Ghidra/Features/Base/ghidra_scripts/VSCodeProjectScript.java
index 48682ba4a5..135bb060d2 100644
--- a/Ghidra/Features/Base/ghidra_scripts/VSCodeProjectScript.java
+++ b/Ghidra/Features/Base/ghidra_scripts/VSCodeProjectScript.java
@@ -114,6 +114,8 @@ public class VSCodeProjectScript extends GhidraScript {
json.addProperty("java.import.gradle.enabled", false);
json.addProperty("java.import.gradle.wrapper.enabled", false);
json.addProperty("java.import.gradle.version", gradleVersion);
+ json.addProperty("java.format.settings.url",
+ new File(installDir, "support/eclipse/GhidraEclipseFormatter.xml").getAbsolutePath());
JsonArray sourcePathArray = new JsonArray();
json.add("java.project.sourcePaths", sourcePathArray);