Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 560 Bytes

File metadata and controls

17 lines (11 loc) · 560 Bytes

Code templates are predefined pieces of code that can be inserted by a keyboard shortcut. Not all IDEs support code templates.

Example

In the C++ Builder 6.0 IDE, one can define a code template as follows:

for (int i=0; i!=|; ++i) {  }

The bar ('|') denotes the cursor position after insertion.

This code can be inserted by using CTRL-J and the code template's shortcut, for example 'i'.