Difference between revisions of "Scripting Code::Blocks"

From Code::Blocks
m (add category)
m (wikify)
Line 2: Line 2:
 
[[Category:Scripting Code::Blocks]]
 
[[Category:Scripting Code::Blocks]]
  
Code::Blocks supports scripting to extend various parts of its functionality during runtime. The scripting language used is [http://www.squirrel-lang.org Squirrel]. Check http://www.squirrel-lang.org/#doc for documentation.
+
Code::Blocks supports '''scripting''' to extend various parts of its functionality during runtime. The scripting language used is [http://www.squirrel-lang.org Squirrel].
  
 
Currently, Code::Blocks uses scripts for:
 
Currently, Code::Blocks uses scripts for:
  
* [[Startup script|Startup]]: Run arbitrary commands on application startup.
+
'''[[Startup script|Startup]]'''
* [[Wizard scripts|Wizards]]: Register new wizards for generating projects, build targets, files or anything else. All wizards shipped with Code::Blocks are scripted.
+
: Run arbitrary commands on application startup.
* [[Debugger scripts|Debugger]]: 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|Build]]: Extend the build system. Scripts can be attached to projects and/or build targets and are executed before and/or after each of these is built.
+
'''[[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|Debugger]]'''
 +
: Extend the GNU Debugger (and others) to support arbitrary data types. Code::Blocks ships with scripts that add wxString, std::string and std::vector "knowledge" to the GNU Debugger.
 +
 
 +
'''[[Build scripts|Build]]'''
 +
: Extend the build system. Scripts can be attached to projects and/or build targets and are executed before and/or after each of these is built.
  
 
More Code::Blocks parts may be exposed to scripting in the future.
 
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]].''
+
== See also ==
 +
 
 +
* [[Scripting commands]]
 +
* [http://www.squirrel-lang.org/#doc Squirrel documentation]

Revision as of 20:12, 31 August 2006


Code::Blocks supports scripting to extend various parts of its functionality during runtime. The scripting language used is Squirrel.

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

Extend the GNU Debugger (and others) to support arbitrary data types. Code::Blocks ships with scripts that add wxString, std::string and std::vector "knowledge" to the GNU Debugger.

Build

Extend the build system. Scripts can be attached to projects and/or build targets and are executed before and/or after each of these is built.

More Code::Blocks parts may be exposed to scripting in the future.

See also