Alt.[F1] - alternative ide help

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
User avatar
chi
Addict
Addict
Posts: 1028
Joined: Sat May 05, 2007 5:31 pm
Location: Linz, Austria

Alt.[F1] - alternative ide help

Post by chi »

(IDE-Tool) Google-Search selected keyword
Image
-> Point the cursor to a PB- or API-Keyword and hit Alt + F1
-> If no PB- or API-Keyword is selected & Alt + F1 = Config

Alt.[F1]v0.62.zip (vt:1/67)
. v0.6.2 (2017-11-28)
- fixed: bug opening .ini file
- fixed: tooltip render issue

. v0.6.1 (2017-11-27)
- UI and search algorithm modernized

. v0.5.0.4
- fixed: deprecated "I´m feeling Lucky" (Google) function (bug reported by Kurzer... thx:)
- fixed: deprecated googleExt (Google Code Search)
- fixed: focus rectangle visibility
- added: ability to search purebasic.com/... or purebasic.fr/...

. v0.5.0.3
- fixed: #WM_USER & co. -> API (bug reported by c4s... thx:)
- added: ability to search only the french forum
- added: custom search now allows multiple entries (separate with a comma)

. v0.5.0.2
- added: multipage - search on 2 sites simultaneously (on non-tabbed webbrowser you have to use the "back" button)
- added: googleExt - use google´s new codesearch feature for API functions (multipage behavior)
- added: extended - use keywords to specify searchresults ( +donald -duck OR "mickey mouse" )

. v0.5.0.1
- fixed: changed to preference-lib... should be vista compatible now ;)
- fixed: empty stings in customsearch switches to default search params

. v0.4.0.5
- workaround for vista user: default search now works. you just can´t save any settings (wip)
- fixed: msdn search now returns the function (if there is one)
cheers, chi
Last edited by chi on Tue Nov 28, 2017 1:04 pm, edited 12 times in total.
AND51
Addict
Addict
Posts: 1040
Joined: Sun Oct 15, 2006 8:56 pm
Location: Germany
Contact:

Post by AND51 »

Well, the idea is good, but the program... not so good.

I wanted to search for "beep_", placed the cursor onto it and pressed Alt+F1...
Look, where your program lead me to: Spoiler (click me)

And where can I click "OK" to save my settings? Evrytime I start your program, I click "msdn.microsoft.com" and "purebasic.fr (english+german)", but next time I start your program, it forgets this setting.
PB 4.30

Code: Select all

onErrorGoto(?Fred)
User avatar
chi
Addict
Addict
Posts: 1028
Joined: Sat May 05, 2007 5:31 pm
Location: Linz, Austria

Post by chi »

thx for the feedback...

beep_ & co should be fixed now ;)

there is no need for a save button... stores in registry (HKLM/Software/Alt.[F1])
works nice on xp... maybe it´s a vista bug??? -> wip


cheers, chi
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

chi wrote: there is no need for a save button... stores in registry (HKLM/Software/Alt.[F1])
works nice on xp... maybe it´s a vista bug??? -> wip
Not a vista bug. HKLM requires admin-privilege, also on XP, but most
XP users a admin, the loves spyware :twisted:
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

Post by Mistrel »

Registry keys aren't easily backed up and its use has been discouraged since Vista was released.
User avatar
chi
Addict
Addict
Posts: 1028
Joined: Sat May 05, 2007 5:31 pm
Location: Linz, Austria

Post by chi »

changing from HKEY_LOCAL_MACHINE\SOFTWARE\Alt.[F1] -> to -> HKEY_CLASSES_ROOT\VirtualStore\Machine\Software\Alt.[F1]
wont fix my problem, right?

so whats the best solution to save 4 little strings for my app :?:

sorry to bother you, but i don´t have vista installed (nor do friends of mine)
and so i can´t reproduce this problem..


thx, chi
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

You can use HKEY_CURRENT_USER without admin-privileg, but better use
the preference lib and store the prefs in APPDATA
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
User avatar
chi
Addict
Addict
Posts: 1028
Joined: Sat May 05, 2007 5:31 pm
Location: Linz, Austria

Post by chi »

thanks guys! new version is up and should work with vista now.

there´s more to come...

- defineable 2nd keyword to constrict search results
- open multiple search results
- more predefined websites to choose from
- custom stringgadgets will be replaced by an editable combobox


if you miss something just let me know... feedback welcome!


cheers
User avatar
chi
Addict
Addict
Posts: 1028
Joined: Sat May 05, 2007 5:31 pm
Location: Linz, Austria

Post by chi »

v0.5.0.2 is up!

please check out the new features and gimme a little feedback ;)


thx, chi
c4s
Addict
Addict
Posts: 1981
Joined: Thu Nov 01, 2007 5:37 pm
Location: Germany

Re: Alt.[F1] - alternative ide help

Post by c4s »

Nice addon!
The only thing I don't understand is how it distinguishs between Api and PureBasic.
A few examples:
1) SendMessage_() -> Api
2) IsGadget() -> PB
3) #PB_Ascii -> PB
4) #WM_USER -> PB, not good

I think you should change it that every word with "#PB_" at the beginning or "(" at the end is PureBasic and just "#" at the beginning and "_(" at the end is Api.

So it would be nice if you could fix this.
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
User avatar
chi
Addict
Addict
Posts: 1028
Joined: Sat May 05, 2007 5:31 pm
Location: Linz, Austria

Re: Alt.[F1] - alternative ide help

Post by chi »

thx! bug fixed and added new features... see first post
Et cetera is my worst enemy
c4s
Addict
Addict
Posts: 1981
Joined: Thu Nov 01, 2007 5:37 pm
Location: Germany

Re: Alt.[F1] - alternative ide help

Post by c4s »

Yes, works perfect - thank you very much!

I really love your tool. :)
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
User avatar
chi
Addict
Addict
Posts: 1028
Joined: Sat May 05, 2007 5:31 pm
Location: Linz, Austria

Re: Alt.[F1] - alternative ide help

Post by chi »

i do appreciate that, thank you!
Et cetera is my worst enemy
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6161
Joined: Sat May 17, 2003 11:31 am
Contact:

Re: Alt.[F1] - alternative ide help

Post by blueznl »

I liked your tool, Chi, and hope you don't mind that I borrowed / stole the idea added similar functionality to CodeCaddy... but hey, you're mentioned :-)
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
User avatar
chi
Addict
Addict
Posts: 1028
Joined: Sat May 05, 2007 5:31 pm
Location: Linz, Austria

Re: Alt.[F1] - alternative ide help

Post by chi »

... no problem blueznl!
think we all "borrowed" one or two ideas from other people :wink:

i have to confess that i never tried codecaddy... but i´m downloading right now!

greetings, chi
Et cetera is my worst enemy
Post Reply