1.10.2 Abbreviation

CodeBlocks

[Contents] CodeBlocks Manual   [Search] Search

[Table of contents]

1.10.2 Abbreviation


A lot of typing can be saved in CodeBlocks by defining abbreviation. This is done by selecting ’Settings’ /’Editor’ and defining the abbreviations under the name <name>, which can then be called by the keyboard shortcut Ctrl-J (see Figure 1.3).

[Figure # 3]
Figure 1.3: Defining abbreviations

Parametrisation is also possible by including variables $(NAME) in the abbreviations.
  #ifndef $(Guard token)
  #define $(Guard token)
  #endif // $(Guard token)
When performing the abbreviation <name> in the source text and performing Ctrl-J, the content of the variable is requested and included.


[Previous] 1.10.1  Default Code
[Next] 1.10.3  Personalities

Created: 2010/25/05 11:52   Updated: 2010/25/05 11:52
Author: HighTec EDV-Systeme GmbH
Copyright © 2010 HighTec EDV-Systeme GmbH