This extension works as a plugin of Language Support for Java by Red Hat. It provides the ability to import Eclipse PDE projects and set up the correct target platforms.
npm install
gulp full_build-
If you want to enable the PDE extension for your project, it requires you to create a
javaConfig.jsonin your workspace root. This config file is used to tell the PDE extension about the locations of the sub projects and specify the target platform.- You can specify the target platform by setting
targetPlatformto a.targetfile:
{ "projects": [ "./pde/org.eclipse.jdt.ls.importer.pde" ], "targetPlatform": "./pde/target.target" }- Or, you can specify the target platform by setting
eclipseInstallationto an Eclipse installation:
{ "projects": [ "./org.eclipse.jdt.core", "./org.eclipse.jdt.core.compiler.batch" ], "eclipseInstallation": "/home/davthomp/eclipse/2025-09" }- Or, you can specify both, if you need the contents of your Eclipse installation as well as additional bundles:
{ "projects": [ "./org.eclipse.jdt.core", "./org.eclipse.jdt.core.compiler.batch", "./org.eclipse.jdt.core.compiler.test" ], "eclipseInstallation": "/home/davthomp/eclipse/2025-09", "targetPlatform": "jdt.core.target" }Notice: The relative paths used in this file are relative to the workspace root.
- You can specify the target platform by setting
-
When you right click the *.target file, it will show "Reload Target Platform" context menu. This command will trigger a job to reload the target platform. The progress of the reload job will be showed in the status bar. Anytime your local *.target file is changed, you must manually run this command to refresh the target platform.
-
When you right click an Eclipse *.launch file, it will show "Debug PDE application" context menu. This command will calculate the launch parameters of the PDE application first, then persist them into launch.json, and finally trigger Java Debugger to launch your PDE application. Notice: to support this feature, you need leverage Eclipse to generate a debug configuration for your PDE application first, and then export the debug config as a .launch file.
-
This extension registered menus to the Test Explorer, and allow you to Run/Debug a JUnit Plug-in Test.
This extension is orginally developed by Gorkem Ercan (@gorkem) and Martin Aeschlimann (@aeschli)



