For some reason unity doesnt fully bind to VS unless this option is set. You can find this option under edit > preferences > external tools from memory, not at my pc to double check.
Inside Visual Studio Code, enter in the Extensios panel, search for Unity Code and click on Install button.
Clone Clone with SSH Clone with HTTPS Open in your IDE Visual Studio Code (SSH) Visual.