Summary: | [open type] Open Type dialog should ignore leading/trailing whitespace | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Andreas Sewe <sewe> |
Component: | UI | Assignee: | JDT-UI-Inbox <jdt-ui-inbox> |
Status: | ASSIGNED --- | QA Contact: | |
Severity: | enhancement | ||
Priority: | P5 | CC: | daniel_megert, frank.rene.benoit, lukas.eder |
Version: | 4.7 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: |
Description
Andreas Sewe
2017-04-07 05:34:15 EDT
Note that a trailing space has a meaning: it prevents the automatic prefix matching. Did you try Navigate > Open from Clipboard (Ctrl+Shift+V)? This does what you want and even more. It can e.g. also open methods and understands stack trace entries, e.g. MessageDialog.openConfirm(Shell, String, String) (In reply to Dani Megert from comment #1) > Note that a trailing space has a meaning: it prevents the automatic prefix > matching. Didn't know that. "Enter type name prefix or pattern (*, ?, or camel case)" doesn't communicate this. I have no idea how to rephrase this such that it does, unfortunately. If JDT would use well-known anchor characters like ^ or $, a terse description along the lines of "*, ?, or camel case", which relies on the developer's experience with globs, might work, but $ is obviously a bad anchor character in Java code. > Did you try Navigate > Open from Clipboard (Ctrl+Shift+V)? This does what > you want and even more. It can e.g. also open methods and understands stack > trace entries, e.g. > MessageDialog.openConfirm(Shell, String, String) No, I went straight for Open Type (Ctrl+Shift+T), as I knew I had copy and pasted a type name. *** Bug 520292 has been marked as a duplicate of this bug. *** *** Bug 565866 has been marked as a duplicate of this bug. *** |