I have been working for some time on conversion of inherited code for web app from Xojo2018 to Xojo2024. One of the problems that I see has to do with IDE I think. The app has folder called FileDefs that has different classes, all created at different point it time (I think) and as a result they are listed “as is” rather than sorted in alphabetical order. I have put some effort yesterday to re-order them and saved. Much to my amazement/surprice and frustration the classes are showing as before, not ordered.
This has been the same in Xojo2018 and it is the same in Xojo2024.
Is there a hidden option/trick available to gurus only that allows poor developer to have some comfort and see things ordered properly? Is it a bug or a feature?
Has anyone ever complained about this?
Note:
the “git status” shows the change after I quit/save Xojo but when I relaunch Xojo there is no visual change at all
OK, so it looks like all Xojo developers are either too shy or to busy making money to complain about this (I know I am sarcastic but it is happy Friday today after all).
Btw, I am still smiling and enjoying life despite all these inconveniences.
Various versions, but Xojo 2014r2, Xojo 2017r3 & Xojo 2019r1 are the ones I use on a regular basis.
The feature is definitely buggy as there are times when I have rearranged the class order, closed then re-opened the folder and found that it wasn’t how I arranged things.
Creating additional folders is not the solution, the issue will not go away.
Please keep in mind that dealing with legacy code made by “free spirited” developers is one issue. The other issue is getting other people coming and taking over the code.
There used to be an option “use your own sort order” or something like that. I’ve never had the IDE to use alphabetical sort. But I can’t find anything - at first glance - in the prefs.
Are you saving in binary format or in xojo_project format?
I just reorder one folder, saved, load it again and the order was kept. I see the manifest updated and moved the contents according to how I moved them. I’m using xojo_project format.
Going all the way back to the original poster’s question…
When moving items within the same folder, check and see if those moves are undoable. If they’re not, they don’t mark the project manifest as being dirty enough to be saved again.
Good morning Greg, I have tried your suggestions, it makes no difference. There is clearly a problem. One could argue that it is about old code converted to new Xojo2024R3 but regardless it is not working.
Perhaps this is something that will be fixed in the upcoming release or some other time, I just hope that I will still be around working with Xojo. Until then I will simply accept the fact and move on. Thanks everybody for showing interest and sharing.
Try with a different Machine / user (to check against a now buggy IDE. If it works, uninstall the current Xojo application and install it from a fresh copy.
Checking the hard disk can be a good idea too. Same as the previous §.