Code Templates

From HTML5 Builder
Jump to: navigation, search

Code Insight can be used to insert code templates on your code.

Code templates are common code structures, mainly those inherent to programming language control structures such as conditional statements or loops. To get a code template printed, write the beginning of your code structure, and press Ctrl+J. For example, if you write for and then press the aforementioned key combination, you will get something like the following:

for($i=0;$i<=;$i++)
{

}

There are a lot of code templates available. To get a list of available code templates at a given point of the source code, use its key combination on an empty line there. Additionally, you can create your own code templates or modify the existing ones from Home > Options > Editor options > Code Insight > Templates.