I was planning to develop a feature planned for v2.1, but decided to investigate imported variables files in error. I am happy to say that this was fixed and variables are recognized in autocomplete (need more improvements in this area).
See below a screen capture with the help for variables from YAML and JSON files (it works also for Python files ):