arduino vscode upload choosing sketch
snippet in c

arduino vscode upload choosing sketch

user4686

Down at the bottom, on the right
you'll see the Arduino status bar. There you'll find your board,
your programmer, your port... and the .ino file that you're compiling.
Click there, change the name to the sketch you want to compile and done!