Project files: Open order

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Tenaja
Addict
Addict
Posts: 1959
Joined: Tue Nov 09, 2010 10:15 pm

Project files: Open order

Post by Tenaja »

An update or two ago, a change was made so the project files are now sorted alphabetically, rather than in the order I added them to the project. One side effect is that they do NOT open in the correct order. In addition, I can no longer edit the PRJ file and put them in the order I want them in.

I HATE THIS!!!

Wish: I want the files to reopen in the order they are when I close the IDE.


Alphabetically, "project file Z.pb" comes BEFORE "project file.pb", the actual main project file.

Not only are my files out of order in the Project list, but also--and even worses--they do not open in the correct order. I like to have the main files open first, with a couple files I am heavily editing immediately following, then some support files (i.e. header files) I occasionally reference. Ever since this change in their sort order, I now have to manually reposition every time I open PB.

Can you please please give us a way to control the open order? Or, at the least, please make "Project file" come before "Project file Z", so the main file opens first?

I cannot even rely on the Preferences "Auto-reload last open sources" option, because the Project option over-rides the Preferences setting...so any project files that were open are not opened next time.

For me, adding the "feature" to alphabetically sort the project files was a big step backwards. Not only the project-file list, but also in the order they open in the IDE.
User avatar
luis
Addict
Addict
Posts: 3894
Joined: Wed Aug 31, 2005 11:09 pm
Location: Italy

Re: Project files: Open order

Post by luis »

An update or two ago, a change was made so the project files are now sorted alphabetically, rather than in the order I added them to the project. One side effect is that they do NOT open in the correct order. In addition, I can no longer edit the PRJ file and put them in the order I want them in.
It's some time since I've used a project because while a promising addition they were in reality giving me more headaches then advantages (some bugs and some things working in a way I didn't like), so I didn't know about the sorting you are mentioning here.
Previously I was editing the project file manually as you said.

Instead of simply KEEPING the original order, I think it would be better to have the ability to change the order at any time.

http://www.purebasic.fr/english/viewtop ... =3&t=53091

This too was/is another limitation for me -> http://www.purebasic.fr/english/viewtop ... =3&t=54683

Hopefully when (if) these will be available I'll give projects another try to see what's changed in the meantime.
"Have you tried turning it off and on again ?"
A little PureBasic review
c4s
Addict
Addict
Posts: 1981
Joined: Thu Nov 01, 2007 5:37 pm
Location: Germany

Re: Project files: Open order

Post by c4s »

+1

I really hate that the project files are not opened in the order of the project's file list. Also reordering them via drag'n'drop would be handy (the mouse cursor already changes accordingly, but instead after release the file is opened which is weird).
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
#NULL
Addict
Addict
Posts: 1497
Joined: Thu Aug 30, 2007 11:54 pm
Location: right here

Re: Project files: Open order

Post by #NULL »

with pb5.50 i still have the problem that the tabs are ordered alphabetically. now we have the drag'n'drop to reorder tabs but the order is always writen back to the project file as alphabetical. currently i put numbers in the filenames to force an order :cry:
es_91
Enthusiast
Enthusiast
Posts: 298
Joined: Thu Jan 27, 2011 12:00 pm
Location: DE

Re: Project files: Open order

Post by es_91 »

Fred? You made somebody cry. (and i don't love this habit of PB IDE neither) could it please be corrected, soon? :|
:mrgreen:
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Project files: Open order

Post by IdeasVacuum »

I just couldn't find an advantage in Project files over manual management. I suspect that most PB'ers do not use Project Files?
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
Marc56us
Addict
Addict
Posts: 1600
Joined: Sat Feb 08, 2014 3:26 pm

Re: Project files: Open order

Post by Marc56us »

I just couldn't find an advantage in Project files over manual management. I suspect that most PB'ers do not use Project Files?
For 2 years (about 7 I use PB) Once there is more than one source file in the same program I always use the Project Manager.

The project manager allows me to:
  • Store once and for all all parameters compilations for all versions (x32 and x64)
  • Compile all versions in one time. (Compiler > Build all targets)
  • Manage auto-completion sets of all files (even closed files)
  • View all files in the Project panel (thus eliminating the need to load them all)
  • Automatically save all files in the project before compiling.
(I always use the From Designer whenever a window contains more than 5 gadgets)

The Project Manager and FD works very well, I'm very happy with this tool (Simple and functional)

What I do without brain strom with these tools ? (Project manager and PB): This

8)
Torp
User
User
Posts: 82
Joined: Fri Apr 01, 2005 11:29 am

Re: Project files: Open order

Post by Torp »

All like Marc but the possibility to reorder files would be a nice thing.
Post Reply