Adds smart autocomplete of variables