mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 10:49:34 +02:00
Update VSCodeProjectScript.java
Pre-populate VSCodeProject settings with Ghidra formatter preferences.
This commit is contained in:
parent
8e3aaf0304
commit
e6ed8da679
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue