This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 268943 - "Go to Type" should treat numbers like upper-case letters
Summary: "Go to Type" should treat numbers like upper-case letters
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Navigator (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Jan Peska
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-11 18:02 UTC by airdrik
Modified: 2016-11-11 18:02 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description airdrik 2016-11-11 18:02:15 UTC
All too often I go to search for a class which has a number in the name.  I type in the upper-case letters and numbers from the class name and when the class I'm looking for doesn't show up I have to go back and delete the numbers to get it to show up (along with all of the other files which have the same upper-case letters and may or may not have other numbers).  I include the numbers because when I'm thinking about what to type to look up a given class it is easy for me to just type in all of the full-size characters (excluding tall lower-case letters like t, h, l, etc. as not being "full-size").  Also numbers are often the only major distinguishing characters between similar classes.

For example, say I have the following classes:
* Report1Generator
* Report1Controller
* Report2Generator
* Report2Controller

If I want to look up classes associated with Report 1, I would expect to be able to type "R1" and have it pull up Report1Generator and Report1Controller, or "R1G" to look up specifically the Report1Generator.
Instead the search treats the 1 as other lower-case letters, searching for types which have the upper-case R immediately followed by the number 1.

Therefore I propose to change the Go to Type dialog to treat numbers like upper-case letters.


I suppose an extension to this would be to just treat all of the letters typed the same - I'm looking for types which have these letters in this order, but none of them have to be consecutive (but having more consecutive letters or whose upper-case (and numbers) match exactly would increase the weighting when ordering the results).