Bug 457966 - "Open type": Filter out ".java" file extension
Summary: "Open type": Filter out ".java" file extension
Status: CLOSED DUPLICATE of bug 447798
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.5   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: ui, usability
Depends on:
Blocks:
 
Reported: 2015-01-20 12:00 EST by Patrick Julian CLA
Modified: 2015-01-21 00:58 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Julian CLA 2015-01-20 12:00:33 EST
If you open up Eclipse Luna, and press Ctrl+Shift+T, the familiar "open type" dialog opens.
If you work anything similar to me, you'll find many times that it yields no results if you investigate projects a lot and happen to paste a class name that still contains the .java file extension.

In most cases, copied file names will even contain ".java   " (i.e. include some spaces thereafter).

Proposed change:
- "Open type" would be even more helpful if it could specifically discard the ".java" suffix (and trim the search term - ain't no spaces in a class name anyway)
- For performance reasons, one might consider that this change could also be applied only when the initial search yields zero results.
Comment 1 Noopur Gupta CLA 2015-01-21 00:58:10 EST

*** This bug has been marked as a duplicate of bug 447798 ***