Skip to content

Latest commit

 

History

History
18 lines (10 loc) · 1.33 KB

README.md

File metadata and controls

18 lines (10 loc) · 1.33 KB

Decompiler for Java™ in Visual Studio Code

This extension allows you to decompile Java class files. It requires Language Support for Java™ by Red Hat, version 0.12.0 or greater.

To see the decompiler in action, right-click on a Java symbol for which you don't have the source code, and choose Go to Definition (or simply command/ctrl+click on the symbol). You will see the decompiled code.

The Java source code is available in the https://github.com/dgileadi/dg.jdt.ls.decompiler repo.

Requirements

Language Support for Java™ by Red Hat, version 0.12.0 or greater. This extension does not work with older versions.

Extension Settings

You can use the following settings to customize the decompiler:

  • java.contentProvider.preferred (settings.json only): the ID of a decompiler to use. Currently, fernflower, cfr and procyon are supported. Defaults to fernflower.
  • java.decompiler.[id] (replace [id] with the ID of the decompiler you wish to configure): additional configuration to provide to the decompiler. The format depends on the chosen decompiler. Use the autocomplete functionality of Visual Studio Code's settings to view the possible options and their descriptions.