get IDEA to ignore specific warning (parsely use case)
How can I get IDEA to ignore this:
message is not used?
[MessageHandler]
public function onLogout(message:Logout):void {
nameTI.text = '';
}
Please sign in to leave a comment.
Why do you need to have message parameter in method signature?
(By the way this is 'information' level highlighting, not a warning)
It is specific to the parsely framework (lots of flexers use it)
Please create a request with this example and link to documentation where to look for all similar cases: http://youtrack.jetbrains.net
P.S. There's already a request not to highlight annotated methods as unused (http://youtrack.jetbrains.net/issue/IDEA-66215)
in this case the problem also exists that the method does not count the class use EditUserRequest
[MessageHandler]
public function updateUser(message:EditUserRequest):void {
as used in the project ctl + alt + f7 , when in fact it does, the parsely IOC container looks for the class in the method params
If this parameter declaration is the only usage of EditUserRequest then Ctrl+Alt+F7 navigates to this only usage without showing popup. It doesn't mean that usages are not found. Does Alt+F7 show usage in tool window?