Looking for a better PB IDE
- Rook Zimbabwe
- Addict
- Posts: 4322
- Joined: Tue Jan 02, 2007 8:16 pm
- Location: Cypress TX
- Contact:
-
- Enthusiast
- Posts: 339
- Joined: Tue Jan 30, 2007 5:47 am
- Location: Hong Kong
That's assuming that this 39,000 line source file isn't broken down. It is! It's just a project with a large code base. There are a number of other source code files as well.
While I *could* break this file down into a potentially infinite number of smaller files, doing so would only slow things down. Without any sort of "project" collection (Delphi or Visual Studio), using text editors and search features gets tedious when you're trying to locate a function or variable! That tedium is only increased if you have to not only search 39,000 lines of code, but 39,000 lines of code spread out over 10 different files.
Breaking up source into multiple files provides no inherent benefits except maybe to speed up the coloring stuff, but again, I've taken care of the problem by just using a different editor
While I *could* break this file down into a potentially infinite number of smaller files, doing so would only slow things down. Without any sort of "project" collection (Delphi or Visual Studio), using text editors and search features gets tedious when you're trying to locate a function or variable! That tedium is only increased if you have to not only search 39,000 lines of code, but 39,000 lines of code spread out over 10 different files.
Breaking up source into multiple files provides no inherent benefits except maybe to speed up the coloring stuff, but again, I've taken care of the problem by just using a different editor

-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Yep, but it's still slower than having what you're looking for in front of you 

-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
- Kaeru Gaman
- Addict
- Posts: 4826
- Joined: Sun Mar 19, 2006 1:57 pm
- Location: Germany
interesting point.akj wrote:I've noticed this slowness problem on Windows Me and in my experience the more chunks of code that are folded, the slower the loading. So with my large programs, I always unfold everything before finally saving the source code to disc. This definitely seems to help.
I think it should be confirmed on other Win-versions, too,
and then perhaps the funktionallity of the IDE should be changed e.g. that way,
that when re-opening the IDE with files opened all of them are completely unfold by default,
or change the algorythm to speed folding up.
does jaPBe open up more performant even with all chunks folded?
btw: this topic is not a "coding question", but should be moved to "The PureBasic Editor"
oh... and have a nice day.
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Re: Looking for a better PB IDE
I still use the 'old' jaPBe (2.5.4.22) for my PureFORM project writen in PB3.94 (only 21000 lines though), and it only takes 18 s to load on an old PII-300 !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?
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
UEStudio6 has full PureBasic Support (Projectmanagement, Compile and so on)
but i have not tested with 40000 lines code.
but i have not tested with 40000 lines code.
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

The last GPL Version of the PB-IDE was 3.93 (not scintilla based and slowDerek wrote:Is there anywhere that I can download the source for the PBeditor?
I'm sure I saw it once but can't remember where.

http://ts-soft.eu/dl/editorsource_3.93.zip
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

- Psychophanta
- Always Here
- Posts: 5153
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Anare
- Contact:
I found about 1 bug per each about 300 lines i coded.
How is possible that Karbon (and others) didn't find not even 1 per each about 3000 lines? What kind of code do you do? do you repeat 9.9 of each 10 lines you write? or maybe... why don't you posted in the forum the bugs you found?
2nd: however, I hope this thread is useful for Freak to take it as a request
How is possible that Karbon (and others) didn't find not even 1 per each about 3000 lines? What kind of code do you do? do you repeat 9.9 of each 10 lines you write? or maybe... why don't you posted in the forum the bugs you found?
2nd: however, I hope this thread is useful for Freak to take it as a request

Ok. Thanks, will have a look at it anyway.ts-soft wrote:The last GPL Version of the PB-IDE was 3.93 (not scintilla based and slowDerek wrote:Is there anywhere that I can download the source for the PBeditor?
I'm sure I saw it once but can't remember where.)
http://ts-soft.eu/dl/editorsource_3.93.zip