Page 1 of 2

Looking for a better PB IDE

Posted: Sat Mar 03, 2007 6:11 pm
by Karbon
So I just tried to open kBilling's source code files with the default PB editor that comes with the latest 4X version and it's *still* loading, 10 minutes later.. Apparently a 39,000 line file is just too much for it to handle.

I have jaPBE for 3.9X, but understand it's not in development anymore.. Or is it?

If it's not, can someone suggest something else to use? I might just go back to TextPad or Notepad++, but I'd rather have a "Real" PB editor designed specifically for PB..

Any pointers?

Posted: Sat Mar 03, 2007 6:35 pm
by Pupil
For me Ultraedit have always worked just fine..

Posted: Sat Mar 03, 2007 6:53 pm
by Kaeru Gaman
is it your own code?

just to remark:
39.000lines is a huge load, you should think about using include-files.

If I imagine to scroll though it instead of jumping between blocks using the PanelTabs, I think I will go bananas straightaway...

better devide you code in different files and use include.

Posted: Sat Mar 03, 2007 6:56 pm
by Karbon
Yes, it's all my code. And 39,000 isn't big. Are you crazy? :-)

Posted: Sat Mar 03, 2007 7:03 pm
by Fluid Byte
If I imagine to scroll though it instead of jumping between blocks using the PanelTabs, I think I will go bananas straightaway...
Agreed!

Scrolling 39,000 lines of code is... Image

Posted: Sat Mar 03, 2007 7:13 pm
by Karbon
Why would you scroll through it? The procedure browser coupled with the search function leaves little scrolling :-)

Re: Looking for a better PB IDE

Posted: Sat Mar 03, 2007 7:13 pm
by Konne
Karbon wrote:So I just tried to open kBilling's source code files with the default PB editor that comes with the latest 4X version and it's *still* loading, 10 minutes later.. Apparently a 39,000 line file is just too much for it to handle.

I have jaPBE for 3.9X, but understand it's not in development anymore.. Or is it?

If it's not, can someone suggest something else to use? I might just go back to TextPad or Notepad++, but I'd rather have a "Real" PB editor designed specifically for PB..

Any pointers?
I have code with that many lines but there is no loading problem at all (let's say 10 sec).

And scrolling that much of code is no problem using folding and
; [ Comments

Re: Looking for a better PB IDE

Posted: Sat Mar 03, 2007 7:17 pm
by zikitrake
Karbon wrote:...I have jaPBE for 3.9X, but understand it's not in development anymore.. Or is it?...
Gnozal continues updating JaPBe http://www.purebasic.fr/english/viewtopic.php?t=19335.

... And... 39000 are not too many lines :D

Posted: Sat Mar 03, 2007 7:47 pm
by Rook Zimbabwe
39,000 isn't too much but it is a lot.

My question is what else do you have running on your desktop. All that crud in the system tray takes memory and system cycle resources...

If you have a messenger it will hog time and memory like nothing else... What is your overhead?

Also how much memory do you have? :)

Posted: Sat Mar 03, 2007 8:00 pm
by Karbon
It's a core 2 duo 6600 at 2.40 GHz, 4 gigs of RAM. Virtually nothing running except the PB editor.

It only seems to do it when I start the PB editor and it does the initial load. If I close all files and exit the PB editor then open the files up one by one it's not nearly as slow..

No worries, though, I found the jaPBE that woks with 4.0 :-)

Posted: Sat Mar 03, 2007 8:48 pm
by Fluid Byte
Karbon wrote:It only seems to do it when I start the PB editor and it does the initial load. If I close all files and exit the PB editor then open the files up one by one it's not nearly as slow.
Perfectly normal since it has to be loaded into memory first. I doubt jaPBE is significantly faster on initial load.

Posted: Sat Mar 03, 2007 8:59 pm
by Karbon
Normal to take more than a second or two to load a 900KB file?

On a system with 4 gigs of memory I'd expect a 900k file to load pretty darn quick :-)

jaPBE loads it instantly...

Posted: Sat Mar 03, 2007 9:02 pm
by Trond
3 seconds to load an 1mb file with 160 000 lines here.

Posted: Sat Mar 03, 2007 9:08 pm
by Karbon
Yea, on an initial load with the standard IDE it takes about 9 minutes. Bizarre. Must be something screwy here.. No worries though, I'll just use jaPBE :-)

Posted: Sat Mar 03, 2007 9:24 pm
by Fluid Byte
Karbon wrote:Yea, on an initial load with the standard IDE it takes about 9 minutes. Bizarre. Must be something screwy here.. No worries though, I'll just use jaPBE :-)
I guess it's the syntax coloring technique. I just tested the default PB IDE with a 50,000 lines test file and it loaded immideatly with syntax coloring turned off.