The Lime VSCode extension doesn’t yet watch the project.xml file for changes, so code completion doesn’t update dynamically. You can find the corresponding issue here:
Note: simply switching the target or build configuration with the dropdowns in the status bar should work as well, so you don’t have to restart VSCode.