-
Notifications
You must be signed in to change notification settings - Fork 417
Add code action: Generate Delegate Methods... #1046
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add code action: Generate Delegate Methods... #1046
Conversation
Signed-off-by: Jinbo Wang <[email protected]>
test this please |
Works pretty well, but like in Eclipse, we should be able to select delegate methods from different sources, so instead of selecting one delegate, we should have a multiple selection instead in the 1st step, and eventually be able to cherry pick which methods from any/all delegate to implement. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please allow selection of multiple delegates
I have tried to allow multiple selection at 1st step, but i didn't find a good way to handle the method name conflicts at 2st step. For example, if you select two fields with the same class type at 1st, then select all at 2st step, eclipse adds some validation at the dialog, and disable the Keep it as single selection at 1st step, that could avoid the method conflict. Actually this is also the Intellij IDEA behavior. |
test this please |
Ok fair enough. I can live with that for a bit. private Runnable runner;
public void run() {
runner.run();
} It says |
already updated the client side PR for the error message. |
test this please |
Signed-off-by: Jinbo Wang [email protected]
Close #1042