Where is my YAML file

I have spent more than 2 hours trying to figure out where is my YAML file!
I have windows machine, I have VSCode installed, my Home assistant is on raspberry Pi

How can I open my configuration.YAML file in my VSCode & edit it

Aren’t you making things a bit complicated? Why not open HA in a browser, go to Supervisor and install the file editor add-on, and use that?

Failing that, this thread may help:

I assume you use HA OS ? Install the samba add-on, map a network drive to \\x.x.x.x\config, where x.x.x.x is the ip of your pi.

The File editor is not nearly as capable as VS Code.

Also the guide you linked makes it way more complicated than needed, just create a samba dhare as @francisp said and connect to it from your machine.