[Implemented] Auto Source Formatting in PB Editor
[Implemented] Auto Source Formatting in PB Editor
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!
Thanks in advance!
Re: Auto Source Formatting in PB Editor
Only when you combine both sourcecode to one sourcecode.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!
use japbe
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
( The path to enlightenment and the PureBasic Survival Guide right here... )
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.blueznl wrote:use japbe
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.
you can turn of auto saving, can't you?
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
( The path to enlightenment and the PureBasic Survival Guide right here... )
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.einander wrote:No.
GPI says that in JapBe the compiler needs the current file previously saved.
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.
> 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.
> 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.
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
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