News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Cached wx documentation for CC

Started by Alpha, November 14, 2013, 03:38:15 PM

Previous topic - Next topic

Alpha

Because wxWidgets supplies their documentation separately from the source, CC is unable to display the documentation in popups.  I dumped much of the documentation into cc_wx_doc.xml.7z (Edit: See next post.), so extract the XML, put it in ~/.codeblocks/share/codeblocks/codecompletion/cc_wx_doc.xml or %AppData%\CodeBlocks\share\codeblocks\codecompletion\cc_wx_doc.xml and apply the attached patch.

Completely experimental patch, but it has had reasonable results for me, so far.

dmoore

I haven't applied the patch, but very nice idea. One request: rename AppendDocumentation to AppendwxWidgetsDocumentation, or better yet AppendExternalDocumentation and make it GUI configurable to add other xml docs (assuming that such things exist in a standard format, otherwise don't worry about it)
Python plugins: [url="https://github.com/spillz/codeblocks-python"]https://github.com/spillz/codeblocks-python[/url]
Code::Blocks Daily Builds -- Ubuntu PPA: [url="https://launchpad.net/~damien-moore/+archive/codeblocks"]https://launchpad.net/~damien-moore/+archive/codeblocks[/url]

Alpha

Yes, currently this is just a quick hack of mine :) (because I was annoyed at switching tabs/windows too much).  I will try to clean it up a bit over the weekend.

Updated XML to address a few issues cc_wx_doc.xml_2.7z.