Godot cpp for windows and linux

Godot Version

4.2 linux/windows

Question

Can someone create a guide step by step how to use godot with cpp language for linux - vsc - and windows - vs2022. Im stuck and idk how to properly set include path to header file to lib.

This should be the start even if it may not be exactly what you need but it will help you choose your tool chain.

And if you plan to build an extension

It would help to know what you have set up so far. I would recommend using the official godot cpp template from github.