Page 33 of 104
Posted: Wed Aug 09, 2006 7:13 pm
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 ...
... 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

Posted: Thu Aug 10, 2006 7:52 am
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.
Posted: Thu Aug 10, 2006 11:03 pm
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.
Posted: Fri Aug 11, 2006 4:16 am
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

Posted: Fri Aug 11, 2006 7:39 am
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

When I have some time ; I add it to the todo list ...
Posted: Fri Aug 11, 2006 7:44 am
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"
Posted: Sat Aug 12, 2006 9:04 am
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

Posted: Tue Aug 15, 2006 8:28 am
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.
Posted: Tue Aug 15, 2006 4:43 pm
by Shannara
Perhaps you misunderstood. This happens on old projects as well.
Posted: Wed Aug 16, 2006 8:49 am
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.
Posted: Wed Aug 16, 2006 9:48 pm
by fsw
Downloaded the jaPBe sources and tried to compile jaPBe...
It's not possible to compile it with the official PB Editor
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.
Posted: Wed Aug 16, 2006 10:36 pm
by Flype
Yes, as jaPBe is still coded in PureBasic 3.94.
Posted: Wed Aug 16, 2006 10:53 pm
by fsw
Thanks, didn't know that.
Posted: Sat Sep 30, 2006 8:34 am
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.
Posted: Sat Sep 30, 2006 10:14 am
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!
Thank you
Kukulkan