Author Topic: (edit) My first codeblocks plugin : help file Integration .  (Read 17092 times)

Bourricot

  • Guest
(edit) My first codeblocks plugin : help file Integration .
« on: April 30, 2005, 09:46:20 pm »
Hello,

I managed to integrate win32-help in the IDE !
You put the caret on the word, right-click, select Win32help and here we go !
I know this is easy but it makes me happy.

Now, I have to make a nice config windows.
i think it will be more difficult as i'm learning wxwidgets.

sorry for my english.

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
(edit) My first codeblocks plugin : help file Integration .
« Reply #1 on: April 30, 2005, 11:36:07 pm »
@bourricot
can you post a sample please ?

thanks
-tiwag

Bourricot

  • Guest
(edit) My first codeblocks plugin : help file Integration .
« Reply #2 on: May 01, 2005, 02:21:59 pm »
Hi,

Source code and dll are here : http://glbourricot.free.fr/winhelp32-plugin.zip

edit : I've just discover wxHelpController
http://glbourricot.free.fr/winhelp32-plugin-wxHelpController.zip

Beware, it's an alpha plugin. use it at your own risk :mrgreen:
no config for the moment, i'm learning wxwidgets and i'm not a good coder.

- Download Win32.hlp (http://www.cs.virginia.edu/~lcc-win32/ for example) and put it in the directory where codeblocks.exe is.
- put the dll in the plugins directory

For compil,
- Uncompress files in codeblocks src directory
- project file : winhelp32-plugin.cbp
WX_VER is set to 242.

Sorry for my englih.

Bourricot

  • Guest
(edit) My first codeblocks plugin : help file Integration .
« Reply #3 on: May 07, 2005, 09:05:17 pm »
Hi,

I have made an update to my plugin.

I have added a configuration box for 3 help files.
You can use chm or hlp.

Check readme.txt for use/compil.

http://glbourricot.free.fr/help_plugin-v0.01.zip

Anonymous

  • Guest
(edit) My first codeblocks plugin : help file Integration .
« Reply #4 on: May 07, 2005, 11:49:56 pm »
Does it support the CTRL-F1 shortcut?

Bourricot

  • Guest
(edit) My first codeblocks plugin : help file Integration .
« Reply #5 on: May 08, 2005, 12:06:16 am »
not for the moment.
I need to study wxwidget and codeblocks more. ;)

Bourricot

  • Guest
(edit) My first codeblocks plugin : help file Integration .
« Reply #6 on: May 16, 2005, 10:23:31 am »
Hi,

new version : http://glbourricot.free.fr/help_plugin-v002.zip
Changes : compatible with codeblocks finalbeta.

Not support for shortcut keys.

If someone have tips on how you can access  accelerator keys  in codeblocks...

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
(edit) My first codeblocks plugin : help file Integration .
« Reply #7 on: May 16, 2005, 10:41:10 am »
Hi Bourricot,

I 'm going to create a "contrib" folder for third-party plugins. They will be maintained by their authors and moved to built-in plugins when they 're stable enough (with the author's conscent of course).
Your plugin qualifies as a candidate for this.

So, if you agree, read the following and reply:
I took the liberty to edit it quite a bit to support more than 3 help files (no limit). I can send it to you for review (and you decide if you can maintain it) before adding it in CVS.

Nevertheless, no matter what you decide, thanks for contributing to Code::Blocks :D

Yiannis.
Be patient!
This bug will be fixed soon...

Bourricot

  • Guest
(edit) My first codeblocks plugin : help file Integration .
« Reply #8 on: May 16, 2005, 01:12:05 pm »
Of course i agree :).
You can send the code. (email in my profile)

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
(edit) My first codeblocks plugin : help file Integration .
« Reply #9 on: May 16, 2005, 04:01:26 pm »
Since you agreed, I added it in CVS directly. You can work from there :)
I need you to tell me your sourceforge account name (if you don't have, create one: it's free) to give you write access to your plugin's folder.

Yiannis.
Be patient!
This bug will be fixed soon...

Bourricot

  • Guest
(edit) My first codeblocks plugin : help file Integration .
« Reply #10 on: May 16, 2005, 06:42:27 pm »
I've just created one. Account name : bourricot :)

Edit : I've donloaded the new code. You have down all the update i wanted to do. Nice job !

I will now try to add support for html files.

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
(edit) My first codeblocks plugin : help file Integration .
« Reply #11 on: May 16, 2005, 09:31:41 pm »
Done.
You can now checkout (and build) codeblocks as 'bourricot'. This will give you commit access to codeblocks/src/plugins/contrib/help_plugin.
If you need any assistance, e-mail me.

Yiannis.
Be patient!
This bug will be fixed soon...