Skip to content

Liubsyy/jar-editor-vscode

Repository files navigation

JarEditor

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

JarEditor main view


✨ Features

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

📖 Usage

  1. Open a workspace containing one or more .jar files.

  2. Expand the JarEditor view in the Explorer sidebar to browse the archive tree.

  3. Click any entry to open it — text files open directly, .class files open as decompiled Java source.

  4. Edit the content, click Save (.class files are compiled automatically), then click Build Jar to write all changes back into the original JAR. JarEditor demo

  5. Use Add / Delete from the right-click context menu as needed.

JarEditor add and delete


📦 Installation & Running

1. Install from VSCode Marketplace

Search for JarEditor in the Extensions panel and click Install.

2. Build from Source

npm install
npm run build

Open this project in VS Code and press F5 to launch an Extension Development Host.


📄 License

Released under the Apache License 2.0.


💬 Communication & Feedback

Join QQ group 724877463, or submit issues for discussion and feedback.

About

VSCode extension for browsing and editing JAR files directly in Explorer.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors