NO

Author Topic: QuickText for Pelles C IDE?  (Read 3345 times)

Freddy

  • Guest
QuickText for Pelles C IDE?
« 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?
« Last Edit: April 10, 2007, 09:11:31 PM by Freddy »

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • http://www.smorgasbordet.com
Re: QuickText for Pelles C IDE?
« Reply #1 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...
/Pelle

Freddy

  • Guest
Re: QuickText for Pelles C IDE?
« Reply #2 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!

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • http://www.smorgasbordet.com
Re: QuickText for Pelles C IDE?
« Reply #3 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...
/Pelle