Well, there are some Mac OS editors that support a feature called QuickText.
The Notepad++ editor for windows also support this.
The feature works like this:
You define some completion template in the configuration dialog, example:
If ($) {
$
}
Now when you are coding you hit Ctrl+ENTER while the cursor is at the
if and it completes the block placing the cursor at the position of the first $. You write the condition, and press Ctrl+ENTER again and the cursor goes to the next $.
So it makes you write code faster. Common used blocks of code become automatic.
Example:
if
You hit Ctrl+ENTER, and...
if (_ )
{
}
// _ is the cursor.
...this appears.
I'd like this feature in Pelles C IDE/Source editor.
What do you think, Pelle?