This extension is based on VSCode. If you are looking for a JetBrains-based version, see my other project: https://github.com/Liubsyy/JarEditor
JarEditor is a VS Code extension for browsing and editing JAR files directly from Explorer.
It is built for the common workflow of inspecting archive contents, editing text resources, decompiling .class files into Java source, recompiling changes, and writing the result back into the original JAR.
- Browse JAR contents in the
JarEditorview - Open and edit text entries inside a JAR
- Open
.classentries as decompiled Java source - Save modified
.classfiles and recompile them - Add new files, classes, or directories from Explorer
- Delete files or directories from a JAR
- Build edited output back into the original archive
- Open a workspace that contains JAR files.
- Find the
JarEditorview in Explorer. - Expand a JAR and open any entry you want to inspect or edit.
- Save changes to a
.classentry to trigger recompilation. - Use
Build Jarto merge edited output back into the source JAR.
If you want to edit .class files, make sure a JDK is available. You can configure jarEditor.javaHome, or choose a JDK from the editor toolbar.
Use the Explorer context menu to add files, classes, directories, or delete existing entries.
Search for JarEditor in the VS Code Extensions view and install it from the Marketplace.
npm install npm run buildOpen this project in VS Code and press F5 to launch an Extension Development Host.
Released under the Apache License 2.0.


