Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2017-02

Feature Request: IDE user defined recorded macros

2 messages · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Graeme Geldenhuys

Hi,

Are there any plans to add user recorded macros support to Lazarus IDE?

Many text editors have this built-in, and allows for a huge amount of “extending the editor’s features” without modify the underlying program's source code. We can simply record a sequence of actions, give it a name, assign it a keyboard shortcut and play it back when we need that functionality.

I was quite surprised to see Lazarus IDE doesn’t have that. Maybe I’m simply overlooking the feature (very possible), or it’s enabled via an external IDE package add-on?

See attached screenshot of a commercial text editor called EditPad Pro
7. It has extensive support for user recorded macros. You can even export the macro to a INI file, edit the macro and then import it again.

Here is an example of an exported "join lines" macro.

==================
[EditPadProMacro]
Caption=Join Lines
ShortCut=16458
CommandCount=6
C0=Editor.CaretDown
C1=Editor.CaretHome
C2=Editor.CaretEnd
C3=Actions.ActionExtraTrimLeading
C4=Editor.CaretUp
C5=Editor.Backspace

[EditPadProMacroC2]
ExpandSel=1
==================

Regards,
Graeme

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp -------------- next part -------------- A non-text attachment was scrubbed... Name: user_recorded_macros.png Type: image/png Size: 6323 bytes Desc: not available URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20170223/85b02bd0/attachment.png>

Reply by email