Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在为 IDEA 开发插件。它需要选择不带参数的公共抽象方法,并允许用户选择它们的子集。我找到了 MemberChooser 对话框,但看不到类似的方法。
因此,如果我有 List<PsiMethod> 如何显示选择它们子集的对话框?
您可以MemberChooser.selectElements与您的列表一起使用。
MemberChooser.selectElements
也就是说,如果您PsiMethodMember从每个PsiMethod.
PsiMethodMember
PsiMethod