Pelles C forum

Pelles C => Feature requests => Topic started by: Freddy on April 10, 2007, 09:09:52 PM

Title: QuickText for Pelles C IDE?
Post by: Freddy on April 10, 2007, 09:09:52 PM
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:
Code: [Select]
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:
Code: [Select]
if
You hit Ctrl+ENTER, and...
Code: [Select]
if (_ )
{

}
// _ is the cursor.
...this appears.

:D
I'd like this feature in Pelles C IDE/Source editor.
What do you think, Pelle?
Title: Re: QuickText for Pelles C IDE?
Post by: Pelle on April 11, 2007, 08:18:59 PM
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...
Title: Re: QuickText for Pelles C IDE?
Post by: Freddy on February 18, 2008, 02:20:58 AM
Hi Pelle!
I see this feature is implemented in Pelles C 5.0.
Very nice!
Thank you for this nice programming tool!
Title: Re: QuickText for Pelles C IDE?
Post by: Pelle on February 27, 2008, 06:01:30 PM
OK, thanks! This specific feature is 'v1.0', so possibly more to do in some future version...