[Lazarus] Controlling Lazarus from external application
Mattias Gaertner
nc-gaertnma at netcologne.de
Thu Feb 26 15:52:00 CET 2015
On Thu, 26 Feb 2015 12:12:39 +0000
Graeme Geldenhuys <mailinglists at geldenhuys.co.uk> wrote:
> Hi,
>
> Does Lazarus IDE implement an IPC server or something similar so it can
> be controlled (or rather commanded) to do something from an external
> tool or application?
No.
But you can write a package for that with a few lines of code using
simpleipc.
> For example:
> I mostly run my unit tests via a GUI Test Runner (like FPTest) which
> reports the test failure or error, but also reports the unit and line
> number information. I would like to be able to double click on that
> information, then magically my running Lazarus IDE instance would open
> that unit and place the edit cursor on the correct line number.
> Programming is all about convenience and saving time. ;-)
>
> As I'm currently working on a project that uses FPCUnit, I don't mind
> extending Lazarus's GUI Test Runner to have some of the functionality
> that FPTest's GUI Runner has too.
>
> But first I need to know if the IDE could be commanded in this way - or
> if it at least has an IPC server implemented.
Mattias
More information about the Lazarus
mailing list