VS Code Extensions
K

KB Java Save Actions

by UmangPurwar

v1: module-aware save pipeline with a small, real, in-process cleanup engine for multi-module Java/Gradle workspaces.

Downloads

12

Rating

— (0)

Version

1.1.0

Last updated

Jun 25, 2026

Minimal, real, build-first VS Code extension for module-aware Java save cleanup. v1 deliberately implements only 3 narrow cleanups using a self-contained text-based engine — no OpenRewrite, no external JVM process — so the save pipeline and multi-module root detection can be proven correct before any heavier cleanup engine is introduced in v2.

What v1 proves

  • Java file saves are detected reliably.
  • The correct owning module is found by walking upward from the saved file, never by scanning the workspace, so sibling modules are never mistakenly selected.
  • A real (not fake/logged-only) text transformation runs and is applied back to the editor safely, with an active-editor-mismatch guard.

What v1 does NOT do

  • It does not use OpenRewrite or any other JVM-based cleanup engine.
  • It does not attempt anywhere near the full STS save-action list — only 3 cleanups, chosen specifically because they're safe to implement with plain text/regex logic.

Related extensions