Using editor templates

I am trying to make code completion work and it is not working the way I thought it would.

I type while and what i thought was going to happen was optiperl would automatically conver that into while () {
}

Answer:
To do what you want, do the following. Type "while" and then press Control-J (or the menu item Edit / Templates). This will convert the string immediatelly to while () {\n}

The templates are set from Edit / Edit Templates.

03.03.2004. 01:02

This article hasn't been commented yet.

Write a comment

:

:

:


7 + 4 =