Feature request regarding the editor
Posted: Sun Sep 15, 2019 8:14 am
When tracing through code looking for a bug a feature I am often using is to open an edit window on a variable. I can watch the changes made by the code to the variable which is often enough to identify the line that mutilates the data.
Unfortunately this does not work as well in dfns. As long as something is appended or the variable is indexed in one way or another it is still okay, but a reassignment means that a new variable with the same name is created, effectively shadowing the original one. The editor reflects this by changing the background colour of the edit window.
To me it seems more reasonable when the editor would continue to show the current (or new) value of the variable, as it would in a tradfn.
To implement this does not require a major effort, but in order to make it happen Dyalog still needs to know whether this is a feature people think is wortwhile implementing. So, if you are in favour of this enhancement, you should voice your opinion, because otherwise it is unlikely to happen.
Unfortunately this does not work as well in dfns. As long as something is appended or the variable is indexed in one way or another it is still okay, but a reassignment means that a new variable with the same name is created, effectively shadowing the original one. The editor reflects this by changing the background colour of the edit window.
To me it seems more reasonable when the editor would continue to show the current (or new) value of the variable, as it would in a tradfn.
To implement this does not require a major effort, but in order to make it happen Dyalog still needs to know whether this is a feature people think is wortwhile implementing. So, if you are in favour of this enhancement, you should voice your opinion, because otherwise it is unlikely to happen.