jaPBe 3.13.4 [IDE for PB 4 and PB 5]
Moderator: gnozal
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Update (Build 677)
Changes :
- fixed : sometimes an incorrect tooltip was displayed for user procedures [not defined arguments but current arguments were shown]
For example :
Procedure Test(first.l, second.l) ; Test
EndProcedure
Test(a|, b) ; | is carret -> Tooltip was 'Test(a, b)' instead of 'Test(first.l, second.l) ; Test'
Changes :
- fixed : sometimes an incorrect tooltip was displayed for user procedures [not defined arguments but current arguments were shown]
For example :
Procedure Test(first.l, second.l) ; Test
EndProcedure
Test(a|, b) ; | is carret -> Tooltip was 'Test(a, b)' instead of 'Test(first.l, second.l) ; Test'
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Undesirable indent effect
I know the easy fix for what I'm going to mention is don't do that, but here goes. If I start off a comment at the end of an indented line by typing a Equals sign after the semi-colon it un-indents the line by 1 position (2 spaces).
For this example type each line and press Enter.
It starts of with an indent, then removes it after pressing Enter. Sometimes it will remove the indent when a Space is entered immiediately after the Equals sign without ever pressing Enter.
Since I like to use comments in this fashion I am in the habit of correcting the indent after each comment. I imagine it is a simple fix and it would help save me from constant frustration.
For this example type each line and press Enter.
Code: Select all
If started = 0
Break ;=haven't started
EndIf
Since I like to use comments in this fashion I am in the habit of correcting the indent after each comment. I imagine it is a simple fix and it would help save me from constant frustration.

-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Re: Undesirable indent effect
Sorry but ';=' is a reserved jaPBe comment (see manual or help tab) ...Demivec wrote:I know the easy fix for what I'm going to mention is don't do that, but here goes. If I start off a comment at the end of an indented line by typing a Equals sign after the semi-colon it un-indents the line by 1 position (2 spaces).
It goes with ';>' and ;<' like here :
Code: Select all
CompilerIf #Something = #True ;>
DoThis()
CompilerElse ;=
DoThat()
CompilerEndIf ;<
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Thanks for the quick response. It at least explains the wacky behavior, the other two comments I also were frustrated with. I thought I was going crazy. 
@Edit:
I still would like to make a respectful request that the three special comments ";=" , ";<" , ";>" be modified to require a space after them for their intended effect. Making them match ";= " , ";< " , ";> " . If it couldn't be done without changing the other reserved comments to follow the same pattern I would still be in favor of it. I use each of the other reserved comment types frequently with additional text on the line following them.
This would make their use as follows:

@Edit:
I still would like to make a respectful request that the three special comments ";=" , ";<" , ";>" be modified to require a space after them for their intended effect. Making them match ";= " , ";< " , ";> " . If it couldn't be done without changing the other reserved comments to follow the same pattern I would still be in favor of it. I use each of the other reserved comment types frequently with additional text on the line following them.
This would make their use as follows:
Code: Select all
compilerif #debug ;> additional comment
dothis()
compilerelse ;= additional comment
dothat
compilerendif ;<
If starting=0
Break ;=haven't started
EndIf
One feature request that would fix a problem that has bitten me. When running from jaPBE the temp exe is created in the temp directory, breaking any bindings made with the DLL importer since it looks for the DLLs in the current directory. The new PB IDE has a "create temporary DLLs in source directory" option so I've had to switch to it for now with 4.10.
-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
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Did you try to run jaPBe with /LOCAL switch ?Karbon wrote:One feature request that would fix a problem that has bitten me. When running from jaPBE the temp exe is created in the temp directory, breaking any bindings made with the DLL importer since it looks for the DLLs in the current directory. The new PB IDE has a "create temporary DLLs in source directory" option so I've had to switch to it for now with 4.10.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Works here ...Hurga wrote:When I add a custom keyword for folding, (I used compilerif and compilerendif), then it folds, but it doesnt show a white triangle at the start of the line
Settings I used :
CompilerIf 1 0 0 "" 0
CompilerEndIf -1 0 0 "" 0
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
No, I didn't know about the /LOCAL switch, I'll try it. Just run the IDE with that parameter?
-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
2gnozal:
hi.
i save PB on my flash drive, and try to learn it sometime when have some free time.
in preferences i set "Purebasic path" not absolute, but relative (e.g. "..\purebasic\").
and so i have that "Compile/Debug (F6)" doesnt work. :-\
now i manually change this field before run japbe.exe, but it is not good.
hi.
i save PB on my flash drive, and try to learn it sometime when have some free time.
in preferences i set "Purebasic path" not absolute, but relative (e.g. "..\purebasic\").
and so i have that "Compile/Debug (F6)" doesnt work. :-\
now i manually change this field before run japbe.exe, but it is not good.
--- no signal
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Yes : jaPBe /LOCALKarbon wrote:No, I didn't know about the /LOCAL switch, I'll try it. Just run the IDE with that parameter?
http://www.purebasic.fr/english/viewtop ... &start=809
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
And like this : '\Purebasic\' (assuming your purebasic directory is in %FlashDrive%\Purebasic\) ?unhappy wrote:2gnozal:
hi.
i save PB on my flash drive, and try to learn it sometime when have some free time.
in preferences i set "Purebasic path" not absolute, but relative (e.g. "..\purebasic").
and so i have that "Compile/Debug (F6)" doesnt work. :-\
now i manually change this field before run japbe.exe, but it is not good.
You may have to set the current directory of your project [F8] to '\Purebasic\' too because of the external PBDebugger.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).