The following are pre setup directory structures to simplify working with Ghidra plugins and scripts in vscode.
- Ghidra
- Java 11
- Gradle
- VSCode
- VSCode Java Extension Pack
- Copy the skeleton directory of your choice to another destination.
- Rename directory accordingly.
- For Extensions/Plugins set the project name in
.project
and in.vscode/launch.json
. If the names do not match the debugger will fail to launch. - For Scripts the
ghidra_script
directory must still be added via Ghidra's Script Manager.
- For Extensions/Plugins set the project name in
- Open your terminal in the project directory and execute
gradle wrapper
and thengradle eclipse
. - Open VSCode in the project directory.
- Let the Java Language Server finish initializing and get to work.
- Java Plugins/Extensions
- Java Ghidra Scripts
- Python Ghidra Scripts
- Ghidra Processor Projects