oracle / javavscode

Java platform support for Visual Studio Code for full featured Java development (edit-compile-debug & test cycle)
Apache License 2.0
205 stars 14 forks source link

java decompiler doesn't decompile #61

Open robaho opened 8 months ago

robaho commented 8 months ago

As compared to the redhat extension, the java class file decompiler returns unhelpful results, e.g.:

image

robaho commented 8 months ago

I think the underlying issue, is the the "class file" is automatically mapped to a ".java" file in the Java Projects pane. the prevents another extension being installed for .class files that would decompile things differently/better.

I suggest not mapping the class file to a temporary decompiled java file directly. Decouple this in the extension to reduce the scope of the extension.