Skip to content

Add support for .class files #2679

@FileOfName

Description

@FileOfName

Currently, you can't open .class files in vscode. To be clear I don't mean the "Go To Definition" action I mean plain .class files. If you try and open one then it'll give you a warning. I've found two extensions that sound like they solved the problem but don't:

  1. Java Decompiler on "Go To Definition" decompiles the file if it's not already.
  2. Java CFR Decompiler decompiles the file into a new .java file but doesn't open it in a read-only editor which means I can edit it and every time I want to close it I get a popup saying "Do you want to save changes?".

The conclusion is that there is no convenient way of opening a decompiled .class file in vscode.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

✅ Done

Relationships

None yet

Development

No branches or pull requests

Issue actions