Community
Participate
Working Groups
Created attachment 285200 [details] Example for wrong sorting As you can see in the attached screenshot these elements are not sorted consistently. This started in 2020-09 I believe, maybe even 2020-06. Used to be correct before. I constructed these file names to be sorted in a certain way by infixing some dashes. And I expect these "make---" elements to be grouped together.
Please check if https://www.eclipse.org/eclipse/news/4.18/jdt.php#package-explorer-lib-sortedbydefault option is applicable to your case. If not, please try out a few release builds and provide the build ids where it was working and where it started happening. Also, attach a sample project with steps to reproduce the issue.
The Sort library option did not change anything here. I will send you an example project later.
Created attachment 285206 [details] Example project As you can see in the example project the files with dashes are sorted as if the dashes did not exist in the filename while the files with underscores are sorted reflecting these characters. The files with underscores are sorted as expected. Well, of couse I could simply switch to ugly underscores. But in the end this is still a big, isn't it?
@Noopur, you tagged with "needinfo". What info do you need?
(In reply to Noopur Gupta from comment #1) > If not, please try out a few release builds and provide the build ids where > it was working and where it started happening. This info would be helpful.
(In reply to Noopur Gupta from comment #1) > If not, please try out a few release builds and provide the build ids where > it was working and where it started happening. I understand, that you need info. But trying out multiple builds would be inadequate for this kind of bug. I assume, you know your code the best. And with the provided test project you can easily reproduce the issue. Don't you think, this is good for you to find and fix the bug?
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.