coc-java icon indicating copy to clipboard operation
coc-java copied to clipboard

Generate getter + setter more intuitive control

Open jacksonludwig opened this issue 5 years ago • 1 comments

I was confused as to actually generate getters/setters that I wanted with the associated code action.

Currently it seems you can only escape out of the menu to confirm your selection, but I think it would make much more sense if there was an extra option added, something like "Confirm" to this list: image or maybe that an empty selection confirms your previous selection and escape cancels instead of the way it is now.

Thanks a lot for this extension.

jacksonludwig avatar Oct 17 '20 16:10 jacksonludwig

How did you get those options to appear?

Ec2coder avatar Feb 19 '21 03:02 Ec2coder

I was confused as to actually generate getters/setters that I wanted with the associated code action.

Currently it seems you can only escape out of the menu to confirm your selection, but I think it would make much more sense if there was an extra option added, something like "Confirm" to this list: image or maybe that an empty selection confirms your previous selection and escape cancels instead of the way it is now.

Thanks a lot for this extension.

Wow thanks so much for this info, until now I thought that it was just bugged and the only way to use these generators was to select all and then delete the unneeded ones afterwards. Indeed it is very unintuitive the way it works now.

How did you get those options to appear?

If you use the config from the coc.nvim readme.md you will have a keybinding for code actions set as <leaader>-c-a

bertin0 avatar Nov 06 '22 15:11 bertin0

Should be fixed on recent version of coc-java, try upgrade coc.nvim to latest release and coc-java to version 1.14.0.

Multiple selection is support with latest coc-java and coc.nvim.

chemzqm avatar Jan 29 '23 09:01 chemzqm