Wish about statusbar-command-viewing and Japbe

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
max_aigneraigner@web.de
User
User
Posts: 67
Joined: Sun Nov 02, 2008 10:37 pm
Location: Bavaria
Contact:

Wish about statusbar-command-viewing and Japbe

Post by max_aigneraigner@web.de »

Uh.. how to say this o.O ^^
My wish to the IDE is, that I can add custom commands that are shown in the statusbar with their arguments. for example if I have a custom library like the irrlicht wrapper, and I write
irraddstatictext(
then in the statusbar should appear "irraddstatictext ( text.s , x.i , y.i , width.i , height.i , font.irrfont) "
(maybe loaded from a custom textfile)
or even add some more japbe features. would be great, I guess ^^ :)

good idea?

greetings max ;)
3D Projects
A ship is safest in the harbor, but that is not what ships are built for.
User avatar
skywalk
Addict
Addict
Posts: 4211
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: Wish about statusbar-command-viewing and Japbe

Post by skywalk »

I definitely agree.
Allow context help to span included files and external libraries.
Or, allow user to manually edit the underlying database.
Last edited by skywalk on Tue Feb 12, 2013 12:40 am, edited 1 time in total.
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Re: Wish about statusbar-command-viewing and Japbe

Post by freak »

> Allow context help to span included files and external libraries.

Just create a project and add the include files and it will work.
quidquid Latine dictum sit altum videtur
User avatar
skywalk
Addict
Addict
Posts: 4211
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: Wish about statusbar-command-viewing and Japbe

Post by skywalk »

And I thought I had read enough of the manual?

Thanks Freak!
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
User avatar
skywalk
Addict
Addict
Posts: 4211
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: Wish about statusbar-command-viewing and Japbe

Post by skywalk »

Hi Freak,
I do see the context help now with a project, but only when the include files are loaded in the IDE.
Will that always be the case?

Also, can the context help also show the procedure's return type, if it actually does or not?

Instead of this...
MyFun(x.d, y.d)

Do this...
MyFun.d(x.d, y.d)
Last edited by skywalk on Tue Feb 12, 2013 12:40 am, edited 1 time in total.
User avatar
max_aigneraigner@web.de
User
User
Posts: 67
Joined: Sun Nov 02, 2008 10:37 pm
Location: Bavaria
Contact:

Re: Wish about statusbar-command-viewing and Japbe

Post by max_aigneraigner@web.de »

and what if there is only a pure-library and no include-file? then you can't include anything..
3D Projects
A ship is safest in the harbor, but that is not what ships are built for.
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Re: Wish about statusbar-command-viewing and Japbe

Post by freak »

> I do see the context help now with a project, but only when the include files are loaded in the IDE.

If you enable the "Scan file for Autocomplete" option for the files in the project settings then you do not need to have the files open.

> Also, can the context help also show the procedure's return type, if it actually does or not?

Nope.

> and what if there is only a pure-library and no include-file? then you can't include anything..

Then the statusbar help is read directly from the library anyway.
quidquid Latine dictum sit altum videtur
User avatar
skywalk
Addict
Addict
Posts: 4211
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: Wish about statusbar-command-viewing and Japbe

Post by skywalk »

Thanks Freak,
That works.
I'll keep the return type on my features Ping list. :)
Post Reply