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 239872 - Files are out of order in project tree
Summary: Files are out of order in project tree
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P2 normal with 5 votes (vote)
Assignee: Tomas Zezula
Depends on:
Reported: 2013-12-30 13:53 UTC by ecerichter
Modified: 2013-12-30 18:02 UTC (History)
0 users

See Also:
Exception Reporter:

Screenshot showing files out of order (10.85 KB, image/png)
2013-12-30 13:53 UTC, ecerichter

Note You need to log in before you can comment on or make changes to this bug.
Description ecerichter 2013-12-30 13:53:42 UTC
Created attachment 143518 [details]
Screenshot showing files out of order

In the "project" view and in "files" view, files appear out of order when having a combination of uppercase and lowercase files.
Seems that NetBeans is using case sensitive order (similar to ASCII, where uppercase letters come first), instead string case insensitive order (which is much more intuitive for the developers).

I've not tested if the same apply to package names (primarly because I don't use packages with upper case letters), but I suspect is the same.

I don't think it is something complicated: somewhere should be a sorter or comparator to set the files order in the tree - just need to tell it to be case insentitive in the comparision.


Comment 1 fortruth 2013-12-30 17:29:57 UTC
case in-sensitive look like more readable and smarter.
Comment 2 ecerichter 2013-12-30 18:02:04 UTC
(In reply to fortruth from comment #1)
> case in-sensitive look like more readable and smarter.

Perhaps, I fell more confortable to see everything in real order, no matter its case.

Also, as per Holger Stenzhorn (NetCat member) proposal, may we have a option to choose Case-sensitive or Case-insensitive?