Question: how to change the name of a file in visual studio?
Answer: Rename the project by clicking on the project name, pressing [F2] and renaming the project. In Solution Explorer, select the main . ino file, press F2 and rename it to match the name of the project. Close the solution with File > Close Solution.