English | 中文
🫙 Browse, decompile, edit, and rebuild JAR files — right inside VS Code. No unzipping, no command line, just open and edit.
This extension is based on VSCode. If you are using JetBrains, check out my other project: https://github.com/Liubsyy/JarEditor
| Feature | Description |
|---|---|
| 📦 Browse | Explore JAR contents in the Explorer sidebar — just like a file tree |
| ☕ Decompile | Open .class entries as readable Java source code via CFR |
| ✏️ Edit | Modify text resources and Java source directly, no extraction needed |
| 🔨 Recompile | Save edited .class source and compile it back automatically |
| 🆕 Add | Create files, directories, or empty .class entries via right-click |
| 🗑️ Delete | Remove individual files or entire directories from the archive |
| 🚀 Build Jar | Merge all edits back into the original JAR with a single click |
-
Open a workspace containing one or more
.jarfiles. -
Expand the JarEditor view in the Explorer sidebar to browse the archive tree.
-
Click any entry to open it — text files open directly,
.classfiles open as decompiled Java source. -
Edit the content, click Save (
.classfiles are compiled automatically), then click Build Jar to write all changes back into the original JAR.
-
Use Add / Delete from the right-click context menu as needed.
Search for JarEditor in the Extensions panel and click Install.
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.
Join QQ group 724877463, or submit issues for discussion and feedback.

