Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>KB Java Save ActionsNew to Visual Studio Code? Get it now.
KB Java Save Actions

KB Java Save Actions

Umang Purwar

| (0) | Free
v1: module-aware save pipeline with a small, real, in-process cleanup engine for multi-module Java/Gradle workspaces.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

kb-java-save-actions (v1)

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.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft