[Implemented] Proper Project Handling (.pbp?)

Got an idea for enhancing PureBasic? New command(s) you'd like to see?

Would you also like to have proper project handling (like in VC/VB/...)?

Yes
11
29%
Yes
11
29%
No
4
11%
No
4
11%
Maybe
4
11%
Maybe
4
11%
 
Total votes: 38

V2
User
User
Posts: 53
Joined: Wed Oct 15, 2003 4:53 pm

[Implemented] Proper Project Handling (.pbp?)

Post by V2 »

Hi,

my big wish is that a new file extension is added to PB just for projects. I would suggest .pbp as extension (PurePasic Project). The file itself should contain all includes, resources, version counter, etc. - so if I would open the .pbp file my complete project is loaded to the editor. The next wish (according to the project handling) would be a comfortable 'Project Explorer', like a Treeview where you can:
1, add new files, resources, etc. to the project
2, view procedures, global variables, etc
I think it's nothing new because VC/VB/Jbuilder/etc. are using project files - but in PB it's really missing!!!

I would like to see proper project handling in v4.0 if possible :)

What do you think about this?
V2
Froggerprogger
Enthusiast
Enthusiast
Posts: 423
Joined: Fri Apr 25, 2003 5:22 pm
Contact:

Post by Froggerprogger »

Did you already have a look at GPI's jaPB-Editor ?
It improves most of the functionality of the standard-PB-editor (e.g. Procedurefolding, fileformats:PB-Include, PB-FileList (same as a 'project'), and much more)

viewtopic.php?t=8421&highlight=japbe
%1>>1+1*1/1-1!1|1&1<<$1=1
V2
User
User
Posts: 53
Joined: Wed Oct 15, 2003 4:53 pm

Post by V2 »

Hi Froggerprogger,

I use JaPBe as my standard editor - it is quite nice but it's not as handy as a 'real editor' should be (especially when you're handling projects -the current editors remind me of some advanced copies of Editplus and not a real developing environment) - i got used to the project handling from Vc/Vb/JBuilder/etc and it's a lot nicer and faster to work with. It's just a _small thing_ to implement but it saves you a lot of time. I like the option 'New -> Project' (also maybe a thing to think about is something like 'New -> Windowed Hello World' or 'New -> Console Program', which would be quite handy in some cases).
V2
freedimension
Enthusiast
Enthusiast
Posts: 613
Joined: Tue May 06, 2003 2:50 pm
Location: Germany
Contact:

Post by freedimension »

It's just a _small thing_ to implement but it saves you a lot of time.
:twisted: Hehe, than go ahead, download the source of jaPBe, implement it and send the result to GPI. I'm sure he will include your changes in the next version if they make sense and are easy to use. :D
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Post by GPI »

>resources, version counter,

About Resources & Versioncounter:
I work for a solution for jaPBe.

>1, add new files,

When i start a bigger Project, i always create a common.pbi with all Structures, Constants, Global Variables and Includes.

I think, this is the best and the most useable solution. So you see, what you have include and what now. Also there is a big problem:
My Strucutres must be declared before any procedure is included. So i must set the order of include manual and then this option is nearly the only good solution. And no, i don't want to remove the "includeBinary" and "IncludeFile"-Commands (otherwise the project-include-settings don't make sense or really big problems can happen)

>2, view procedures, global variables, etc

That isn't so easy. What is, when somebody modify one include-Source? So all files of a project must be loaded to check this. (And this could be very slow; i nearly never change any byte of the about-dialog, so i nearly never open it)
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

I am in total accordance with GPI.

So i repeat again what he wrote about add new files :)
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

Projects support for the IDE is on my TODO list..
Thomas
Enthusiast
Enthusiast
Posts: 112
Joined: Sat Apr 26, 2003 8:45 pm

Post by Thomas »

Must be a huge list.
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Post by Num3 »

Thomas wrote:Must be a huge list.
Image
Post Reply