Question: how to change variable name in visual studio code?
Answer: Rename symbol# Press F2 and then type the new desired name and press Enter. All usages of the symbol will be renamed, across files.