Author Topic: Cached wx documentation for CC  (Read 4726 times)

Offline Alpha

  • Developer
  • Lives here!
  • *****
  • Posts: 1513
Cached wx documentation for CC
« on: November 14, 2013, 03:38:15 pm »
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.
« Last Edit: November 15, 2013, 02:57:03 am by Alpha »

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: Cached wx documentation for CC
« Reply #1 on: November 14, 2013, 03:45:11 pm »
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)

Offline Alpha

  • Developer
  • Lives here!
  • *****
  • Posts: 1513
Re: Cached wx documentation for CC
« Reply #2 on: November 15, 2013, 02:56:03 am »
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.