| Summary: | CDT Quick Outline: After typing C++ method name, first matching method should already be highlighted | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Mike Morearty <mike> | ||||
| Component: | cdt-source-nav | Assignee: | Markus Schorn <mschorn.eclipse> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Markus Schorn <mschorn.eclipse> | ||||
| Severity: | minor | ||||||
| Priority: | P3 | ||||||
| Version: | 6.0 | ||||||
| Target Milestone: | 7.0 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Created attachment 169103 [details]
fix
Good observation!
Fixed in 7.0 > 20100519. *** cdt cvs genie on behalf of mschorn *** Bug 312515: Fix selection for qualified names in info control. [*] AbstractInformationControl.java 1.12 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt-core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/AbstractInformationControl.java?root=Tools_Project&r1=1.11&r2=1.12 |
Build Identifier: 20090920-1017 If a C++ file contains methods "MyClass::foo()" and "MyClass::bar()", you can just type "f" to match MyClass::foo(). That's great, but you then have to press some extra keys to select MyClass::foo() before you can press Enter. On Mac, you have to press down-arrow twice; on Windows, you have to press down-arrow followed by spacebar. It would be preferable if the behavior was the same as it is in other scenarios, such as when just matching regular functions (not methods) like "foo()": The first matching entry should already be highlighted, so that e.g. just typing "f" followed by the Enter key is all that's necessary. Reproducible: Always Steps to Reproduce: 1. New C++ project 2. Add this to a .cpp file: void MyClass::foo() { } void MyClass::bar() { } 3. Ctrl-O (or Cmd-O on Mac) for Quick Outline 4. Type "f" Actual result: MyClass::foo() is shown, but is not selected. To jump to that function, you now have to press several more keys to select MyClass::foo() before you can press Enter. Expected result: MyClass::foo() is shown and is selected. If you just press Enter, the editor will jump to it.