News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Help Plugin feature request

Started by ironhead, July 10, 2006, 12:46:50 AM

Previous topic - Next topic

ironhead

I've got a small request for the Help Plugin.  It would be nice if it would be possible to do a lookup on a URL.  For example, in my SciTEUser.properties file I have help setup for C/CPP files to be:

command.help.$(file.patterns.cpp)=http://search.msdn.microsoft.com/search/default.aspx?siteId=0&tab=0&query=$(CurrentWord)

Since the MSDN site will typically be the most up-to-date in terms of the win32 api, it seems the logical place to go looking for information.

Cheers!

Ceniza

I like the idea... and I just committed it (rev 2721) :D

Be sure to read Help->Plugins->Help plugin (Description).

sethjackson

Quote from: Ceniza on July 10, 2006, 02:19:06 AM
I like the idea... and I just committed it (rev 2721) :D

Be sure to read Help->Plugins->Help plugin (Description).

Now that is just cool. I have never used the Help plugin, but that feature alone is enough to motivate me to compile it.  8)

Pecan

I quit using the help plugin long ago because MS .chm's used the evil class MSegotistic_arrogance("stay on top", "we know best") method calls.

But since Ceniza kicked that problem out the door, I use it more and more each day.

Way to go Ceniza!

thanks
pecan

thomas

Searching MSDN and Google has been implemented in the core application for about 6 months. Try right-clicking a word while holding down Ctrl.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

artoj

Quote from: thomas on July 10, 2006, 09:57:56 AM
Searching MSDN and Google has been implemented in the core application for about 6 months. Try right-clicking a word while holding down Ctrl.

I think this should be put in the tips.txt.

Game_Ender

If a feature isn't documented, its not really a feature.  Not saying this wasn't listed somewhere, but its a good mantra to live by and before the attacks start, I try to live by this one not just spout it off :).

Ceniza

Ctrl + Right click... really bad combination for me since I'm using that one for Babylon Translator, but anyway, good to know that secret code :)

ironhead

Quote from: Ceniza on July 10, 2006, 02:19:06 AM
I like the idea... and I just committed it (rev 2721) :D

Be sure to read Help->Plugins->Help plugin (Description).

I've tried and it doesn't seem to be working right.  I have defined a new help source (called MSDN) with the following URL:

http://search.msdn.microsoft.com/search/default.aspx?siteId=0&tab=0&query=$(keyword)

as the source and made it the default help.

Now, when I highlight a word and hit F1, the $(keyword) is not getting replaced with the highlighted word.  Have I defined something in correctly?

Ceniza

Pressing F1 doesn't make keyword lookup. The only way to do that is right clicking on a word and selecting "Locate in ..." :)

MortenMacFly

I'd like to add another feature request, if possible:
If I right-click into an editor the menu has grown quite large (because I've added quite some help files). Thus basic functions as e.g. all "Edit" or similar are quite "jumpy". Depending on where I right-click in the editor I have to move the mouse a "long way" to reach the function I want... ;-)

So my feature request is to make a sub-menu (e.g. "Locate in") and then show all the help files in this sub-menu. If you agree you can have a look at the "Insert..." menu how it's done there maybe...

With best regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

Ceniza

Hmmm, a submenu... sounds good too. I'll check that this afternoon (GMT-5:00) when I, hopefully, have totally waken up :P