Page 1 of 1

IDE Macros

Posted: Wed Sep 14, 2011 9:22 pm
by remi_meier
Not sure if that has been requested before, but I'll
simply ask again, because it would be awesome!
I use this feature on a daily basis. :wink:

You may already know Emacs' macros. It's pretty
simple: Just press F3 and Emacs starts to record
all your key presses, press F4 and it will stop
recording. Now everytime you press F4 again,
Emacs will replay the recorded key presses.

Here are some demonstrations:
http://www.youtube.com/watch?v=1YNA-VA77vw  
http://www.youtube.com/watch?v=zropjwVQlWQ
http://www.youtube.com/watch?v=LlMU_KYjXI0 (bit long)

Scintilla supports recording macros, so it shouldn't
be hard to implement. :P

Cheers!

Re: IDE Macros

Posted: Fri Sep 16, 2011 6:08 pm
by IdeasVacuum
That is similar functionality to UltraEdit and NotePad++

I think it would take a lot of hard work to add this kind of facility, but it is indeed very useful.

Re: IDE Macros

Posted: Fri Sep 16, 2011 6:19 pm
by skywalk
As a compromise, could we expose more of the built-in features of Scintilla?
Like we already have the duplicate line function with [Ctrl+D] and column editing.
Why are the others disabled?
I use [Ctrl+Shift+Up] and [Ctrl+Shift+Down] a lot in Notepad++.
And the search functions that go forward and reverse.
And so on...

Re: IDE Macros

Posted: Sat Sep 17, 2011 11:46 am
by remi_meier
Why would you be talking about a compromise
or hard work? As I said, Scintilla supports recording
macros. It's pretty easy:
http://www.scintilla.org/ScintillaDoc.h ... oRecording

Of course you will have to replay the commands,
but that shouldn't be too hard.

But I also understand that Freak already has a huge
ToDo list and it is his decision if he wants to put it
on there. I just want to say that it is really useful
in a lot of cases.

Re: IDE Macros

Posted: Sat Sep 17, 2011 4:09 pm
by skywalk
I welcome any IDE enhancements that reduce my development time.
I should have said, in addition to Macros, add the basic editing functions supported by Scintilla.
Just a bit frustrated by the "so close, but so far" feeling I get every time I edit code in an external Scintilla editor like NotePad++ :(