Difference between revisions of "Scripting Code::Blocks"
From Code::Blocks
Sethjackson (talk | contribs) (We already have a debugger scripts page......) |
|||
Line 5: | Line 5: | ||
* [[Startup script|Startup]]: Run arbitrary commands on application startup. | * [[Startup script|Startup]]: Run arbitrary commands on application startup. | ||
* [[Wizard scripts|Wizards]]: Register new wizards for generating projects, build targets, files or anything else. All wizards shipped with Code::Blocks are scripted. | * [[Wizard scripts|Wizards]]: Register new wizards for generating projects, build targets, files or anything else. All wizards shipped with Code::Blocks are scripted. | ||
− | * [[ | + | * [[Debugger scripts]]: Extend GDB (and others) to support arbitrary data types. Code::Blocks ships with scripts that add wxString, std::string and std::vector "knowledge" to GDB. |
* [[Build scripts]]: Extend the build system. Scripts can be attached to build targets and are executed before and/or after each build target is built. | * [[Build scripts]]: Extend the build system. Scripts can be attached to build targets and are executed before and/or after each build target is built. | ||
Line 12: | Line 12: | ||
''NOTE: Before you attempt editing the shipped scripts or writing your own, please read about [[scripting commands]].'' | ''NOTE: Before you attempt editing the shipped scripts or writing your own, please read about [[scripting commands]].'' | ||
− | [[Category:Code:: | + | [[Category:Code::Blocks Documentation]] |
Revision as of 14:03, 3 July 2006
Code::Blocks supports scripting to extend various parts of its functionality during runtime. The scripting language used is Squirrel. Check http://www.squirrel-lang.org/#doc for documentation.
Currently, Code::Blocks uses scripts for:
- Startup: Run arbitrary commands on application startup.
- Wizards: Register new wizards for generating projects, build targets, files or anything else. All wizards shipped with Code::Blocks are scripted.
- Debugger scripts: Extend GDB (and others) to support arbitrary data types. Code::Blocks ships with scripts that add wxString, std::string and std::vector "knowledge" to GDB.
- Build scripts: Extend the build system. Scripts can be attached to build targets and are executed before and/or after each build target is built.
More Code::Blocks parts may be exposed to scripting in the future.
NOTE: Before you attempt editing the shipped scripts or writing your own, please read about scripting commands.