Page 1 of 1

Project files: Open order

Posted: Sat Aug 23, 2014 4:39 pm
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.

Re: Project files: Open order

Posted: Sat Aug 23, 2014 4:49 pm
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.

Re: Project files: Open order

Posted: Thu Sep 17, 2015 5:54 pm
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).

Re: Project files: Open order

Posted: Sat Sep 10, 2016 9:11 am
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:

Re: Project files: Open order

Posted: Sun Sep 11, 2016 7:40 am
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? :|

Re: Project files: Open order

Posted: Mon Sep 12, 2016 5:18 am
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?

Re: Project files: Open order

Posted: Mon Sep 12, 2016 6:51 am
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)

Re: Project files: Open order

Posted: Mon Sep 12, 2016 8:19 pm
by Torp
All like Marc but the possibility to reorder files would be a nice thing.