xatom-debug icon indicating copy to clipboard operation
xatom-debug copied to clipboard

remember expanded state in (variable- etc.) trees

Open hg42 opened this issue 8 years ago • 0 comments

Hi,

when debugging I constantly need to expand the variables tree on each step. I understand, that it has to be redrawn.

Best solution would be to remember expanded nodes by path. Node paths that don't exist any more should still be remembered, so they are opened again, when coming into scope. From non-existing paths the part that is existing could be opened (but I am not sure if this is what I want).

A remembered path should only be thrown away when it's explicitly closed by me. Because this strategy will cumulate many paths over time, there should probably be an upper limit (configurable). The oldest path should be thrown away first.

I would also like to have these paths editable (text file, reloadable, or watched automatically). There could be a global file and a file for the project and one in ~/.atom where the manually opened paths are stored. I would certainly have "this" and "locals" in the global file.

The same paths could be expanded in the console, too.

hg42 avatar Apr 16 '17 10:04 hg42