jaPBe 3.13.4 [IDE for PB 4 and PB 5]

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

Moderator: gnozal

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

Re: jaPBe Features Request & Wishlist ;-)

Post by gnozal »

Hurga wrote:An easy way to include own snippets. With "project settings" there is "include" where some predefinded and written functions can be easy included. It would be nice if this section can be "user-defined", would say that I can add my own functions.
Hi, could you elaborate a bit ?
What do you mean with user-defined : define a 'user include directory' for each project, so there would be a global directory [%jaPBe%\Include] and a local directory [user specified for each project] ?
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Hurga
Enthusiast
Enthusiast
Posts: 148
Joined: Thu Jul 17, 2003 2:53 pm
Contact:

Post by Hurga »

Ok, lets try (my english is not the best, sorry for that in advance)

Ok, with jaPBe - Projectsettings I can click for examle "Gadget plus". This will inlcude the file "gadget plus.pbi" from the jaPBe- subdir "include".

These functions are written mostly by GPI AFAIK.


Now my idea...
I code and I write a nice Procedure. And I think: "Cool, this one will be useful in other projects for me as well." Then I mark the Proc, press a key oder a select menu-item and get a small dialog, where I can...
... put the code as a new Includefile (and give it a name)
... add it to an existing include file
and press ok.

So I can easy build up my own "procedure-framework" ;-)

I think that will be useful...
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Hurga wrote:Ok, lets try (my english is not the best, sorry for that in advance)...
Ah, you want something like the PB IDE templates ?
Ok, I will put it on the todo list. Maybe as plugin.
Btw, do you know my PureTemplate plugin ? I use it as template plugin, my source files are all included in zip archives. The plugin can directly use the code archive zip from PureArea. Should I add some features ?
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
RichardL
Enthusiast
Enthusiast
Posts: 532
Joined: Sat Sep 11, 2004 11:54 am
Location: UK

Difficulty Including in-line assembler

Post by RichardL »

This is from a long time jaPBe + PureBasic user... but an absolute new boy with assembler on PC. (But I wrote assemblers for other processors and know what they are about)

Simply put, this simple snippet works:

Code: Select all

Declare ToggleWatchDog(TimeOut)

T.l = ToggleWatchDog(6)
Debug T.l

Procedure ToggleWatchDog(TimeOut)
  INC TimeOut
  MOV Eax, TimeOut
  ProcedureReturn 
EndProcedure
BUT... when I copy and paste it into a larger program using the same jaPBe editor it:

(a) Does not highlight the op-codes
(b) Will not compile
(c) Behaves the same when I copy the whole thing into PB's own editor.

Yes... it is declared in the large program.
Yes... ASM support is enabled.

I must be doing something really stupid; please can anyone suggest what?

Best regards
RichardL
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Hurga
Enthusiast
Enthusiast
Posts: 148
Joined: Thu Jul 17, 2003 2:53 pm
Contact:

Post by Hurga »

I didnt work with the PB IDE, so I have no idea of that.

Your Plugin ... It helps keeping the overview of my snippets. A good code viewer :D

The include-thing idea is IMO a bit different.

Template... I can put all code (.. maybe useable sometimes later.. ) in.
Include ... I can create some kind of modules which I can include with just one click.
This is also possible to make it "manually", Make a .pbi file from it an copy it to the jaPBE include-folder. With a bit a "native" support, its just easier...
Foz
Addict
Addict
Posts: 1359
Joined: Tue Nov 13, 2007 12:42 pm
Location: Manchester, UK

Post by Foz »

Is there a reason why "EnableExplicit" colours up as a variable?
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Foz wrote:Is there a reason why "EnableExplicit" colours up as a variable?
'EnableExplicit' is highlighted correctly here (like 'For', 'Next', 'EnableDebugger', etc...), with or without custom keywords enabled.
What jaPBe / PB version are you using ?
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Foz
Addict
Addict
Posts: 1359
Joined: Tue Nov 13, 2007 12:42 pm
Location: Manchester, UK

Post by Foz »

Version 2.5.4.22

It was a brand new install, so I got the original version, installed that, and then unzipped the one from your site over it.

As I was messing around with the colour schemes, I just noticed that EnableExplicit was coloured as that.
Foz
Addict
Addict
Posts: 1359
Joined: Tue Nov 13, 2007 12:42 pm
Location: Manchester, UK

Post by Foz »

No worries, all sorted now. I was having much trouble, so I deleted *everything* in the jaPBe folder and then unzipped the zip from your website. It's fixed all of my issues and the version listed is 3.8.6.710.

I advise that you remove the comment about installing the original version first on a new install. :)
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Version 2.5.4.22 is for PB3.9x, and EnableExplicit is a PB4.x keyword.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
zxtunes.com
Enthusiast
Enthusiast
Posts: 375
Joined: Wed Apr 23, 2008 7:51 am
Location: Saint-Petersburg, Russia
Contact:

Post by zxtunes.com »

As create new language?

I run "Translator" and select "<New>" translated text, pressed save, but file cant created. I again select "<New>" and my translated text was deleted. Shit. :cry:

What to do?

I have understood.

But "translated.exe" it is realized not so cleverly.
djk
New User
New User
Posts: 2
Joined: Tue Oct 25, 2005 2:20 pm
Location: On a dirt road in the USA

Post by djk »

Thanks for all the updates - haven't used it in quite some time and I was surprised by all the work done. The manual update is reallly appreciated.
akee
Enthusiast
Enthusiast
Posts: 496
Joined: Wed Aug 18, 2004 9:52 am
Location: Penang, Malaysia

Post by akee »

From what I've seen, my take on it is jaPBe and PureFORM should be merged into 1 editor utility rather than separate programs.

gnozal: Thanks for all your contributions.... :)
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

psdk latest version

Post by NoahPhense »

I'm planning to install the latest psdk .. the one here:
http://www.microsoft.com/downloads/deta ... laylang=en

Is japbe setup yet to use F1 yet?

I used to use the psdk R2 .. worked great. Just wondering if the new psdk
will be ok?

- np
Post Reply