使用 Eclipse,如何在 Content Assist 中隐藏超类方法?
例如,我有:
JPanel pan = new JPanel();
然后我做“平移”。并且 eclipse 显示内容辅助。 在此内容帮助中,有 JPanel 类中的所有方法以及所有 JPanel 超类中的所有方法(很多)。我希望 Eclipse 只向我显示 JPanel 类的方法,而不是其超类的方法。
怎么办?
For example, I have:
JPanel pan = new JPanel();
then I do "pan." and eclipse shows Content Assist.
In this content assist, there are all methods in JPanel class and all methods in all JPanel superclasses (a lots). I want that eclipse shows me only the methods of the JPanel class, not the methods of its superclasses.
how to do that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它不是内容辅助,但您可以使用 Ctrl + O 查看没有超类的类的所有方法。
Its not content assist, but you can use Ctrl + O to see all methods of class without superclass.