Community
Participate
Working Groups
We have "Show selected type only" feature (which is both loved and hated ;) I suggest this feature is enhanced with the option of when you click on this element and the underlying text is part of the extends or implements then it should not show the complete class; but only the methods that originates from the extended class or implemented interface. Then it suddenly becomes *really* usable since you can look at a class in the perspective of the interface/class contract.
*** Bug 140115 has been marked as a duplicate of this bug. ***
Please provide more details. Are you talking about "Show Selected Element Only" button which is in the tool bar, or something different?
yes, show selected element only. What does "Resolved remind" mean ?
We usually use this when we need more info. e.g., what does "... when you click on this element" mean? Where? What element?
Ok, now with details: Imagine opening e.g. JavaEditor that has the following signature/declaration: public abstract class JavaEditor extends AbstractDecoratedTextEditor implements IViewPartInputProvider { ... Then today when your cursor is on the declaration it will just show the complete class. What I suggest is that if the cursor is on "AbstractDecoratedTextEditor" then show the class; but only with the AbstractDecoratedTextEditor inherited methods and similar for IViewPartInputProvider if the cursor was on "IViewPartInputProvider"
.
To summarize: when the 'Show Selected Element Only' tool bar button is pressed it should not show the enclosing element if the caret/selection is on a type declaration's superclass or interface but instead show the members define by the selected superclass/interface.
Correct.
correcting owner to jdt.text