I have no problem discussing this in public. I just wanted the right person to see it — someone who can actually implement it 🙂
I have some code that was generated by “my friend” (the first letter is 'A' and the last one, you can guess, is 'I' )) ). I’ve tried to make it work and made some improvements — mainly fixing some errors.
But to make it fully work, you really need to see the whole picture. I’m sure that if I had written Lazarus myself, I would have implemented this feature without much difficulty.
I like a lot the function Desktops, which is very convenient for debugging in different cases. And one time I thought - oh, it would be nice to have the similar feature for the project with the same interface ( I mean - the dedicated button next to the Desktops, named Layouts and absolutely the same popup menu for it ). But the concept of Layouts is essentially - saving the 'current vision' of editor with IDE break points and watch lists - so you can activate them for certain issues (and you can name issues and you name desktops). It’s a kind of quick solution for when too many units are open and you want to get back to debugging exactly the same issue.
We can only guess how much time it will save — no IDE has such a feature today (or at least I’m not aware of any).
So I’m gladly posting the code here and welcome anyone who would like to take it and integrate it into the IDE. I would create a ticket, but I probably did that a long time ago (if I did it at all), so I’ll just attach the code here and hope it will be helpful.