[Lazarus] Project Group support in the IDE

Graeme Geldenhuys graeme at geldenhuys.co.uk
Fri Sep 13 14:23:49 CEST 2013


On 2013-09-13 12:03, Juha Manninen wrote:
> Unfortunately it is quite a complex task. The biggest challenge is to
> refactor the code so that Project1 is not referred to directly.
> A project holds lots of data including session info.


Thinking about it a bit more... It might not be as complex - if you only
want to be able to switch between grouped projects (exclude Mattias's
debugging requirement for now).

For example... Currently only one "active" project is allowed [the
reference to Project1]. Well, with grouped projects that would still be
true. The Project Group window will simply allow you to switch the
active project much easier - a simple double-click.

The other Project Group functionality like compiling all grouped
projects would simply mean that the IDE switches the active project by
iterating the group list, and then at the end set the active project
back to what it was before the "compile all projects" task was run.
Loading of each project would do exactly what "Project -> Open
Project.." does now.

With this in mind, Project Group functionality could probably be
implemented as a Lazarus Add-on - without affecting the lazarus project
release cycle.

Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/






More information about the Lazarus mailing list