Plugins

JVM Class Quick Viewer

Decompiles and previews Java class files using Vineflower.

Version 1.0.4 Official plugin Released 116 downloads

Install it from Commander: Plugins → Manage, or drop the signed bundle into the plugins/ directory.

What this bundle provides

One download, 1 plugin.

JVM Class Quick Viewer

dev.nuclr.plugin.core.quickviewer.jvm

Decompiles and previews Java .class files using Vineflower.

QuickView Apache-2.0

About

🔎 JVM Class Quick Viewer

Rich quick preview for Java .class files inside Nuclr Commander, powered by Vineflower decompilation and a syntax-highlighted Swing viewer.

✨ What It Does

When a .class file is selected, the plugin decompiles it and renders readable Java source in a dedicated quick-view panel — no need to open a full decompiler or IDE.

  • ⚡ Instant quick preview for compiled .class files
  • 🌿 Integrated Vineflower decompilation
  • 🎨 Syntax-highlighted Java rendering with RSyntaxTextArea
  • 🔢 Line numbers and code folding for easier navigation
  • 🧭 Read-only panel designed for inspection, not editing
  • 🌓 Theme-aware UI updates through Nuclr plugin events
  • 🛡️ Graceful fallback messages when decompilation fails or produces no output
  • ⛔ Cancellation-aware — switching files cancels the in-flight decompilation

🧩 Supported Formats

ExtensionFormat
.classCompiled Java bytecode

🖼️ Screenshot

JVM Class Quick Viewer screenshot

🧩 How It Works

  1. The provider checks whether the selected item has the .class extension.
  2. The class bytes are copied to a temporary file.
  3. Vineflower decompiles the class into Java source.
  4. The result is displayed in a syntax-highlighted, read-only RSyntaxTextArea panel.
  5. Theme updates from Nuclr Commander are applied to the viewer automatically.
  6. Temporary decompilation artifacts are cleaned up after each preview.

🖼️ Thumbnail

The decompiled class as a page of source, starting at its declaration - the banner comment, package and imports are the same on every class and are skipped.

It implements the platform SDK 6.0.0 thumbnail methods, so plugins that want a picture of a file - attachment chips in AI Projects, for one - get it through Commander.

📥 Installation

Copy the signed plugin archive and detached signature into the Nuclr Commander plugins/ directory:

quick-view-jvm-<version>.zip
quick-view-jvm-<version>.zip.sig

Nuclr Commander verifies the RSA-SHA256 signature against nuclr-cert.pem on load. The plugin becomes available immediately without a restart.

🗂️ Source Layout

src/main/java/dev/nuclr/plugin/core/quick/viewer/jvm/
├── ClassQuickViewPlugin.java     plugin entry point
└── ClassQuickViewPanel.java      Swing panel, decompilation, syntax highlighting

📚 Dependencies

LibraryVersionPurpose
dev.nuclr:platform-sdk6.0.0Nuclr platform interfaces
vineflower1.11.2Java bytecode decompiler
rsyntaxtextarea3.6.1Syntax-highlighted text rendering

📄 License

Licensed under the Apache License 2.0.

Releases

Version Released Size Download
1.0.4 2.9 MB Download
1.0.3 2.9 MB Download
1.0.2 2.9 MB Download
1.0.1 2.9 MB Download
1.0.0 2.9 MB Download

Details

Plugin ID
dev.nuclr.plugin.core.quickviewer.jvm
Repository
nuclrdev/plugin-quick-viewer-jvm
Platform SDK
6.0.0
SHA-256
d933ebb48a8a9372b1c69f360f64601ac2143934c42de752b6d9d0b9f1478121