Commit 4cd1617e authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Update data dictionnary of variables for autocompletion

parent eb06239f
......@@ -674,6 +674,7 @@ class TextSymbol(HorizontalSymbol):
''' When text was entered, update TASK completion list '''
# Get AST for the symbol
ast, _, _, _, _ = self.parser.parseSingleElement('text_area', pr_text)
CONTEXT.variables.update(ast.variables)
#Task.completion_list |= {dcl for dcl in ast.variables.keys()}
@property
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment