PB Intellisense Addon tool for PB IDE

Developed or developing a new product in PureBasic? Tell the world about it.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by ricardo.

Since i have very bad memory... i often forget the exactly name of some PureBasic commands, etc.
Then i start last night coding this simple Intellisense feature that its very usefull for me.




Of course, as usuall, i use a lot of examples of this forums and wan to say thanks to the coders.

This gizmo has two features:

1.- Show you the Keywords that starts with the text that you are typing. Then if you are typing "File" you will get:

FileSeek
FileSize
...

2.- Shows ALL the keywords that contain the word that you are typing.

In this case if you type "File" you get

AddPackFile
CloseFile
CopyFile
CreateFile
DeleteFile
FileSeek
etc, etc, etc.

(This second method is usefull for bad memory ppl like me if you want to find all commands for some key!!!)

You can choose which 'method' you want to use.

Its a very early beta and has some knowbugs or maybe has some unknown :cry:

Read the READ ME file for Instructions.

This is an ADDON for the PB IDE.

http://www.getafile.com/cgi-bin/merlot/ ... isense.zip

You can add your own Keywords easily.

PS This version the Intellisense window appears always on the same place, latter it will be added to appear where you are typing, just need to know how to convert the position into Richedit to pixels:)

Note: I discover that crashes on w98 due to a ¿bug? on PB, im working on it. Please confirm the bug

Not for the Note: THE BUG WAS ON MY BRAIN HA HA Sometimes im a little donkey!!

Note for the Note of the Note:
I have to admit it: im a sinner and i deserve some punishment.
I post some bug that wasnt a bug.
I have 2 HD on those PC and both have a w98 and i test in one without DirectX (-the other one has it- and like an idiot report it like a bug.
Sorry :cry: Promise to dont do it again



But the PB Intellisense works fine if you have DirectX on your PC.

Best Regards

Ricardo

Dont cry for me Argentina...
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Berikco.

Very nice Ricardo, remembers me the GFA Basic Editor wich used this to complete the command you type.
Worked the same, a list with possible command popup after the cursor, and you could choose the command from it.
No need to type all.

it works on Xp, but makes the IDE a little unusable somethimes.


Regards,

Berikco

http://www.benny.zeb.be/purebasic.htm
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Rings.

first look is good, but i believe it should put-in nativ in the Editor for better Key-Use (Use tab, arrowkeys and Return for choose).




Its a long way to the top if you wanna .....CodeGuru
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Henrik.

Hi ricardo
Great tool ;o)
It dose'nt crash on my win98 se ..... Yet... ;o)

I try it out some more later to night..


Roflmao ;o)
Response to the: Note for the Note of the Note:
Guess that mean i can stop the bug-hunting now. :wink:




Bedst Regards
Henrik.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by CoderLaureate.

Wow Ricardo!

Great tool.
Thank You.

-Jim

---------------------------------------------
AMD Duron 950Mhz/Windows XP Pro
http://www.BlueFireStudios.com
Post Reply