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.
:D
I'd like this feature in Pelles C IDE/Source editor.
What do you think, Pelle?
Well, I have been thinking about a snippet manager, similar to this I guess, but it looks like a lot of work, so I can't say I'm terribly excited about it... Maybe, maybe not...
Hi Pelle!
I see this feature is implemented in Pelles C 5.0.
Very nice!
Thank you for this nice programming tool!
OK, thanks! This specific feature is 'v1.0', so possibly more to do in some future version...