Visual Studio: Configuration question regarding error messages (syntax check)

I’m using VSCode under Win10 with the openHAB extension to modify my openHAB files.
If there are errors like these…
…I can’t click on the error message itself to open the place where it occured, because I get this message then:

The reason is clear to me: The error message points to the path on the SD card on the raspberry, but when VSCode tries to open /etc/…, it doesn’t lead somewhere useful for my windows machine.

My question is: Is there e.g. some configuration setting in VSCode to resolve this difference in the paths?


Are you connected to the pi using samba or SSH?