Page 1 of 1
[Implemented] Auto Source Formatting in PB Editor
Posted: Tue Nov 18, 2003 4:16 pm
by einander
Is possible to add Bericko's Source Formatting as an option in the PB editor, so when it's enabled you get each line formatted as you enter it?
Thanks in advance!
Re: Auto Source Formatting in PB Editor
Posted: Tue Nov 18, 2003 4:22 pm
by GPI
einander wrote:Is possible to add Bericko's Source Formatting as an option in the PB editor, so when it's enabled you get each line formatted as you enter it?
Thanks in advance!
Only when you combine both sourcecode to one sourcecode.
Posted: Tue Nov 18, 2003 5:19 pm
by blueznl
use japbe
Posted: Tue Nov 18, 2003 7:28 pm
by einander
blueznl wrote:use japbe
Yeah, I've used JapBe for a while, and I like it, but Auto Save before compiling is not for me. And finding auto bakups is slow.
For me, as a musician, programming is like composing music: can't play with an instrument that plays notes I dont need.
PB Editor is not a Stradivarius, but is a very good fiddle!
(And I'm not a programmer Paganini!)
Auto Indent is the only PB Editor feature that I'm missing.
Posted: Tue Nov 18, 2003 8:24 pm
by blueznl
you can turn of auto saving, can't you?
Posted: Tue Nov 18, 2003 8:35 pm
by einander
No.
GPI says that in JapBe the compiler needs the current file previously saved.
Posted: Tue Nov 18, 2003 8:47 pm
by GPI
einander wrote:No.
GPI says that in JapBe the compiler needs the current file previously saved.
It is always a good idea to save your code before compile, because when the editor crash or hangs (Remember the Structure-Viewer-Hang-Problem?) your source is lost.
In the next release of japbe will include a load Backup command. A list with all Backups + Date will be list and you can select it.
Posted: Tue Nov 18, 2003 9:45 pm
by einander
That sounds great! I would find that very useful

Posted: Wed Nov 19, 2003 2:34 am
by PB
> It is always a good idea to save your code before compile, because
> when the editor crash or hangs [...] your source is lost.
Which can be fine. I like to open my sources, change a few things, hit
compile, and see the results. I can then exit and know that the changes
weren't saved -- because if I did like the results, I'd have saved it anyway.
Posted: Wed Nov 19, 2003 10:17 am
by GPI
Thats why you can activate Backups... (And it is always a good idea to make also manual backups (for example) on CD; So when your HDD crash, you don't lost all your sources.
Posted: Wed Nov 19, 2003 7:17 pm
by GPI
Ok, new version of jaPBe with open Backup (alt+o)
Posted: Fri Nov 28, 2003 8:34 pm
by Guimauve
If you want to have a Source Formatting in PureBasic you can go to Le Soldat Inconnu's website and download a small program called PBSyntax. This program just work fine. You have all information about how to intergrate it into PB
Go here:
http://perso.wanadoo.fr/lesoldatinconnu ... ebasic.htm
Or download here :
http://perso.wanadoo.fr/lesoldatinconnu ... Syntax.exe
Try it and give some feedback.
Regards
Posted: Fri Nov 28, 2003 8:48 pm
by einander
Guimauve:
Im starting to work with this source formatting tool.
With a 200 lines file, very unformatted, the last 20 lines vanishing!
With shorter files, it seems to work ok.
Nice tool!

Regards
Einander