VS Code Extensions
GenerateAllSetter

GenerateAllSetter

by gejun123456

Generate all setter calls for a Java entity variable, similar to IntelliJ IDEA's GenerateAllSetter plugin.

Downloads

19

Rating

— (0)

Version

0.0.5

Last updated

Jun 03, 2026

A VSCode extension that generates all setter calls for a Java entity variable in one click, inspired by the IntelliJ IDEA plugin of the same name.

Features

  • Detects Java variable declarations and provides a CodeLens above the line.
  • Click generate all setter call to insert all setXxx(...) invocations of the variable's type below the declaration.
  • Also shows a per-method CodeLens with the method's line count.

Requirements

Usage

  1. Open a .java file.
  2. Declare a variable, e.g. User user = new User();
  3. A generate all setter call CodeLens appears above the line. Click it.
  4. All setter calls on user are inserted on the following lines.

Known Issues

  • Detection relies on a regex over the line text, so unusual formatting may not be recognized.

Release Notes

0.0.1

Initial release.

Related extensions