dgileadi / vscode-java-decompiler

Decompiler extension for Java in Visual Studio Code
Eclipse Public License 2.0
51 stars 20 forks source link

Support showing formatted byte code mnemonics instead of reconstructed Java source #5

Open oakad opened 6 years ago

oakad commented 6 years ago

Properly formatted byte code is invaluable when addressing non trivial issues and when dealing with generated classes. It will be nice to have a toggle for this (Netbeans has one).

dgileadi commented 6 years ago

I'm not likely to implement this. There aren't many places in vscode where you can put your own UI except for the status bar, and I personally hate extensions that put UI there. In addition, the JDT Language Server project doesn't have a method for specifying a particular disassembler/decompiler on a per-file basis, so I'm not even sure how I'd go about trying.

oakad commented 6 years ago

What about allowing it as a global backend option (slightly annoying, but still quite usable)? Procyon has an option for this, and good old javap is also decent (especially if the output can be slightly hyper-linked to allow "go to source" to work for class references).