mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-24 21:21:56 +00:00
Update VSCodeProjectScript.java
Pre-populate VSCodeProject settings with Ghidra formatter preferences.
This commit is contained in:
parent
8e3aaf0304
commit
e6ed8da679
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user