Closed zicohip closed 4 months ago
Call vim.lsp.buf.code_action()
and choose "Generate Getters and Setters".
You can also mark the fields in visual mode and call code action then, to only create them for a subset of fields.
Also: Use java records and don't make stuff mutable if it doesn't need to be. record Department(long id, String name)
.
Problem Statement
my code
i want to make like this code
Ideas or possible solutions
No response