Description
Enhancement Description
When I try navigating a command through the plugin's pop-up, it's not very clear what is what.
It would be great to show in the class name where the command is handled. Currently it seems it's only showing the command name itself (which we don't really care about as that's what we're clicking on).
More globally I think you can greatly improve what is shown in this popup for a command. Currently a ctrl+click give much better details. Maybe it would be nice to show both the method name and the class name. Also I'm wondering in case of classic use of the on
method name if you could fetch the first parameter class of that method to show it.
Here is an example
Class1 {
void myMethodName(String str){
send(MyCommand(str))
}
}
Class2 {
void on(SomeEvent evt) {
send(MyCommand(evt.getStr()))
}
}
Class3 {
void handle(MyCommand cmd) {
...
}
}
would give something like that
> handle (Class3)
< myMethodName (Class1)
< on SomeEvent (Class2)
Do note that the behavior seems to be different when depending on where you trigger that pop-up. It seem data is missing when you trigger it from the command class itself.