Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Version control plug-in
cacb:
--- Quote from: oBFusCATed on November 21, 2010, 11:51:09 am ---Have you tried cb_share_config? It comes with the C::B's installation.
--- End quote ---
No, I wasn't aware of it, thanks! I checked it now and find it is available on both my windows and linux installations. Nice tool!
However, as far as i can tell it will copy ALL of the tools definitions from one config file to another, and that will not work for the case I described where some of the tools are platform specific (e.g. the external debugger tools in my example), and some are portable (the QBZR tools). I would still have to manually hack the .config files. But if the Tools menu would allow submenus, and if you could select/copy such submenus using cb_share_config, it would be almost the same as what I suggested. It would probably be good enough for much of my needs.
Still I think a generic source control plugin sounds like a great idea, especially if it could be configured in much the same way as the tools menu.
dushara:
At the moment it's specific to git because it will be parsing the output of the git commands (e.g. git status --porcelain) to work out how to display the status of the project files. It may be possible to write a wrapper script to simulate the output of git.
But I'm getting ahead of myself here. It's still at the early stages right now.
Dushara.
dmoore:
--- Quote from: cacb on November 21, 2010, 11:31:32 am ---So far it seems to work, but it could be more elegant. Perhaps your plugin is the answer. But in fact a slight improvement to the Tools menu facility would almost seem good enough
- Some way to define a submenu in the Tools menu
- Some way to export/import submenus to/from XML files, allowing for definitions to be moved to other machines.
--- End quote ---
The PowerShell plugin does exactly this (actually, import/export is to a flat file not xml). It's in need of a UI cleanup, suggetions welcome
cacb:
--- Quote from: dmoore on November 22, 2010, 04:06:37 pm ---The PowerShell plugin does exactly this (actually, import/export is to a flat file not xml). It's in need of a UI cleanup, suggetions welcome
--- End quote ---
I have Code::Blocks 6840 (Win XP) and 6853 (Linux Kubuntu), but there is no PowerShell plugin included as far as I can tell. Is there a simple way I can get it without having to rebuild the IDE? I prefer to use the prebuilt Nightly Builds on Win and Linux.
Navigation
[0] Message Index
[*] Previous page
Go to full version