Recent

Author Topic: Editor Macros feature request/suggestion  (Read 451 times)

440bx

  • Hero Member
  • *****
  • Posts: 5820
Editor Macros feature request/suggestion
« on: June 07, 2025, 04:37:38 pm »
it would be nice if the Editor Macros offered the option of saving a macro to a file and, correspondingly loading a macro from a file.

That's the feature request/suggestion.

Comments welcome.
FPC v3.2.2 and Lazarus v4.0rc3 on Windows 7 SP1 64bit.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 11826
  • Debugger - SynEdit - and more
    • wiki
Re: Editor Macros feature request/suggestion
« Reply #1 on: June 07, 2025, 04:50:56 pm »
Agreed, but for later.... Feel free to make a feature request.
Call it import/export.

I guess the file can be an XML containing one or more macros?

440bx

  • Hero Member
  • *****
  • Posts: 5820
Re: Editor Macros feature request/suggestion
« Reply #2 on: June 07, 2025, 05:10:09 pm »
added the feature request in the tracker.

url: https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/41702
ticket: 41702

As far as saving more than one macro in a single file, that would be fine.  That said, saving only one macro per file gives a 1 to 1 relationship that might make it simpler to know which file has which macro.

At your discretion.  I'll be perfectly happy with 1 file, 1 macro. 

If 1 file per macro then it might be nice to be able to select multiple files to load at once.  Just a thought.
FPC v3.2.2 and Lazarus v4.0rc3 on Windows 7 SP1 64bit.

 

TinyPortal © 2005-2018