Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 501342

Summary: [navigation] Quick Outline should use matching with "contains" logic instead of "startwith"
Product: [Eclipse Project] JDT Reporter: Lars Vogel <Lars.Vogel>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: markus.kell.r, stephan.herrmann
Version: 4.7   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: stalebug

Description Lars Vogel CLA 2016-09-13 10:39:43 EDT
Currently if I search for a method in Quick Outline containing "maximize" I have to type "*maximize*". 

I think with subwords completion in the JDT editor, we should also match based on the String.contains logic. This is IMHO nicer for the user. 

Please note that we do this for almost every dialog in PDE which allows you to search for a plug-in or feature, if you find one which does not add automatically * that would be a bug in the PDE dialog.
Comment 1 Markus Keller CLA 2016-09-14 10:25:10 EDT
I agree we should investigate this, but it needs more thought than simply adding a "*" at the beginning. In PDE, that was an acceptable shortcut because most bundle names start with the same "org." or "com." anyway, and these words are rarely used as sole filter.

Java Content Assist required more changes to ensure that prefix completion proposals stay on top of the list. In Quick Outline, this also needs changes in all sorting modes.
Comment 2 Eclipse Genie CLA 2020-04-28 19:13:40 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.