User forums => Help => Topic started by: eugen_mihailescu on September 28, 2010, 06:08:56 pm
Title: Detailed usage info of Help plugin
Post by: eugen_mihailescu on September 28, 2010, 06:08:56 pm
Hi,
I am trying to find out how to deal with the Help plug-in (release 10.05, I'm working on Ubuntu 10.04 TLS x86_64). What are my expectations from such a plug-in:
to select a keyword in the source file (ex: cpp/h)
to press F1 (or Help->[my help man-page]) and to see a help file (or man or HTML or anything that is setup properly) that display the help page related to selected keyword
If the plug-in is not capable of doing this then it's not a help plug-in, it's just another external tool def (see Tools menu). OK, in order to test all plug-in capabilities I have defined 3 manuals as following:
Linux CHM manpage (http://onnerby.se/~daniel/chm/man-pages/manpages.chm (http://onnerby.se/~daniel/chm/man-pages/manpages.chm))
Linux man page (/usr/share/man)
Google search (http://www.google.de/search?hl=de&q=CodeBlocks&btnG=Google-Suche&meta= (http://www.google.de/search?hl=de&q=CodeBlocks&btnG=Google-Suche&meta=))
For Linux CHM manpage I have installed gnochm viewer (0.9.11) then I have created a new entry in Settings->Environment settings->Help files as following: command: gnochm /home/eugen/devel/man/manpages.chm This line represents a full command to be executed = ON
When pressing F1 (or by selecting corresponding shortcut in Help menu) the CHM manual is open successfully. Q: how to setup this entry properly in order to open not only the manual but also the page corresponding to my $(keyword)?
I have to mention that I have searched the gnochm manual but couldn't find anything relevant. Also, using the advice of C::B wiki (corresponding to CHM Files) I have defined the entry only with the command:/home/eugen/devel/man/manpages.chm. This is not working too. Did I missed something? I have started the C::B from terminal (in order to capture the output) and when I am choosing the help shortcut it shows on terminal "Help File is /home/eugen/devel/man/manpages.chm" but nothing happens.
Is something related to C::B or gnochm? In the meanwhile I will use the yelp as it proves to be reliable. Regarding the other two (tested) options:
for Linux man page I have used the C::B wiki example (command=man:/usr/share/man and uncheck anything else) and I have to say that it works like a charm.
for Google search option (or any other http webpage) I have followed also the C::B wiki example and must to confirm it's OK.
Edit: does anyone know where can I find latest C++ linux manpages? (right now I have downloaded and using everything I could find at ftp://gcc.gnu.org/pub/gcc/libstdc++/doxygen/)
Title: Re: Detailed usage info of Help plugin
Post by: hitlijinfeng on December 31, 2010, 05:14:53 am
Code
apt-get install libstdc++6-4.4-doc
but how to use the htmls within the help plugin?
Title: Re: Detailed usage info of Help plugin
Post by: Jenna on December 31, 2010, 11:14:55 am
chm-files are windows helpfiles, even if some linux implementations of chm-readers exist, they are very limited in their functionality.