jaPBe 3.13.4 [IDE for PB 4 and PB 5]

All PureFORM, JaPBe, Libs and useful code maintained by gnozal

Moderator: gnozal

Xombie
Addict
Addict
Posts: 898
Joined: Thu Jul 01, 2004 2:51 am
Location: Tacoma, WA
Contact:

Post by Xombie »

I'd like to make a suggestion although I'm not sure how complex it would be.

I'd like to see a japbe specific command to make the variables within a PB file autocomplete only for that pb file. How to explain... well, like if I use a *.pbi file that has their own variable names - I don't want those names trying to autocomplete within my main program. Their procedure names and everything I would still like to show up but I would like to exclude their variable names from the main variable list within japbe. Maybe some thing like ...

Code: Select all

;AutoCompleteOff
;AutoCompleteOn
... or something like that?

Or - is there another way to do this? Maybe some feature of japbe that I'm not aware of that will take care of this?

Also - (and this is just another little minor thing) - is there any way to force all open documents to use a certain kind of capitalization? You know how you select a word and press F-2 and it will make the capitalization stick? It doesn't seem to work all the time. Not sure of the logic behind it so I can't offer suggestions.

Anyway, both of these are not major. Just little things that bother me some times. Japbe is great :)
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Xombie wrote:I'd like to see a japbe specific command to make the variables within a PB file autocomplete only for that pb file. How to explain... well, like if I use a *.pbi file that has their own variable names - I don't want those names trying to autocomplete within my main program. Their procedure names and everything I would still like to show up but I would like to exclude their variable names from the main variable list within japbe.
IIRC, jaPBe does not add the included files [XIncludeFile "My.pbi"] to autocompletion list unless you also open the included files in jaPBe.
To only keep autocompletion for the main file, close the pbi file(s), hit 'Clear' in Sync Lists [Alt+L] and 'Refresh List' : you only have autocompletion for the opened file, i.e. the main file.
Xombie wrote:Also - (and this is just another little minor thing) - is there any way to force all open documents to use a certain kind of capitalization?
It is not possible at the moment.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
Flype
Addict
Addict
Posts: 1542
Joined: Tue Jul 22, 2003 5:02 pm
Location: In a long distant galaxy

Post by Flype »

hello,

there's a bug when specifying an icon in the compiler options panel :

When compiling, look at the generated _jaPBe_.rc :

Code: Select all

LANGUAGE 0x0, 0x0
1 MANIFEST xp.res
1 Icon "C:\\MyProgram\\gear.ico"
note the 'double' backslash.
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
chen
Enthusiast
Enthusiast
Posts: 338
Joined: Fri Dec 23, 2005 2:20 pm
Location: Quebec, Canada
Contact:

Post by chen »

gnozal:

Talking about Constants Explorer:

- Could yu allow us to resize it? Its very useful for API constants, but like
in my case I need to know what every Api command is for, it is cumbersome
to go with the scrollbar.

- Is it possible start the look up of a command when I key in the first letter,
look up again when the second letter in typed and so on?

love jaPBe
:wink:
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

chen wrote:gnozal:

Talking about Constants Explorer:

- Could yu allow us to resize it? Its very useful for API constants, but like
in my case I need to know what every Api command is for, it is cumbersome
to go with the scrollbar.

- Is it possible start the look up of a command when I key in the first letter,
look up again when the second letter in typed and so on?

love jaPBe
:wink:
When I have some time ; I add it to the todo list ...
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Flype wrote:hello,

there's a bug when specifying an icon in the compiler options panel :

When compiling, look at the generated _jaPBe_.rc :

Code: Select all

LANGUAGE 0x0, 0x0
1 MANIFEST xp.res
1 Icon "C:\\MyProgram\\gear.ico"
note the 'double' backslash.
Is it wrong ?
The PB IDE does the same :
PureBasic.rc wrote:1 ICON "C:\\PureBasic400\\Examples\\Sources\\Data\\CdPlayer.ico"
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post by Shannara »

Found another bug :)

Load any source file, go into Project -> Options, change threadsafe to off, save the file, exit out and reload it. Go and check the threadsafe settings .. japbe never saves the setting. When looking at the PB file in notepad, there is no mention of the threadsafe setting ...

What happens is, whatever settings you set in the preferences will force every single project to be! Ouch. :) I found this out because during my tests, I realized that PB4 is not threadsafe yet, and if one were to enable threadsafe in project options under preferences would be in for a nasty suprise :)
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Shannara wrote:Found another bug :)
Load any source file, go into Project -> Options, change threadsafe to off, save the file, exit out and reload it. Go and check the threadsafe settings .. japbe never saves the setting. When looking at the PB file in notepad, there is no mention of the threadsafe setting ...
No bug here ...
Shannara wrote:What happens is, whatever settings you set in the preferences will force every single project to be!
Whatever settings you set in the preferences will force every new project to be! That's the purpose of preferences.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post by Shannara »

Perhaps you misunderstood. This happens on old projects as well.
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Shannara wrote:Perhaps you misunderstood. This happens on old projects as well.
I tested with an old project. I did not see any problem : the project preferences (F8) were not changed by the default settings (Ctrl+P).
But maybe I misunderstood the problem.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

Post by fsw »

Downloaded the jaPBe sources and tried to compile jaPBe...

It's not possible to compile it with the official PB Editor :cry:


jaPBeForPB400 is not compiling with jaPBe as Editor either.
The error message:

---------------------------
jaPBe - Compiler error
---------------------------
Error: Line 11 - in included file '.\jaPBeForPB400\System.pbi'
Line 164 - WindowID(): Incorrect number of parameters.
---------------------------
OK
---------------------------

Since PB4 WindowID() needs the Window # as parameter. Suppose the code was never really compiled with PB4 or old code found his way into the package :roll:

Haven't tried any further, because I suppose there is something wrong with the source.
User avatar
Flype
Addict
Addict
Posts: 1542
Joined: Tue Jul 22, 2003 5:02 pm
Location: In a long distant galaxy

Post by Flype »

Yes, as jaPBe is still coded in PureBasic 3.94.
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

Post by fsw »

Thanks, didn't know that.
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Update

Changes :
- added option 'Load constants from residents' in Preferences/Definitions [language file entry 532] ; the constant names are extracted from the *.res files.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
Kukulkan
Addict
Addict
Posts: 1396
Joined: Mon Jun 06, 2005 2:35 pm
Location: germany
Contact:

Post by Kukulkan »

Hi gnozal,

I only want to remark, that JaPBE is the BEST IDE for PureBasic ever! I use your new version for PB4 very much. Never want to go back to the original IDE! :D

Thank you :!:

Kukulkan
Post Reply