When user opens and editor, there is a list of the local variables that the user has inserted.
This list can be refreshed either after the first execution or during the code writing.
The first solution is much simpler, but rather insufficient.
The second solution will be a little bit more difficult but much more complete. A possible implementation, is that a local temporary variable tree is constructed during editing. During editing there is nor other process for EngLab, so this solution will not burden the complexity.