How to get PSI element for module item in 'packages' tree
I called action on module in 'Packages' scope view (it is root tree item when enabled option 'Show modules').
Action event handled in method.
Call
actionEvent.getData(LangDataKeys.PSI_ELEMENT_ARRAY)
returns null.
But if I clicked on package, folder, or class then it will not be null.
请先登录再写评论。