Vscode-java: .class files

Created on 21 Sep 2017  路  3Comments  路  Source: redhat-developer/vscode-java

Does this extension open .class files?

I am getting the following error when I try to open a .class file: "The file will not be displayed in the editor because it is either binary, very large or uses an unsupported text encoding."

The file opens perfectly in Intellij Community.

Environment
  • Operating System: Windows 10
  • JDK version: jdk 1.8.0_144
  • Visual Studio Code version: 1.16.1
  • Java extension version: 0.10.0
Steps To Reproduce
  1. Download a .class file.
  2. Try to open it in VS Code.

Most helpful comment

Because we're a very tiny team and we're trying to focus on the Java editing experience.

Decompiler support can be (actually is) provided by 3rd party extensions. See the vscode java decompiler extension and https://github.com/dgileadi/vscode-java-decompiler/issues/3

All 3 comments

No, this extension doesn't help to decompile class files

Why not?

Because we're a very tiny team and we're trying to focus on the Java editing experience.

Decompiler support can be (actually is) provided by 3rd party extensions. See the vscode java decompiler extension and https://github.com/dgileadi/vscode-java-decompiler/issues/3

Was this page helpful?
0 / 5 - 0 ratings