You can find instructions on how to install Virtual Studio Code on openSUSE Leap and Tumbleweed in a tutorial published by Linux Capable.
How to Install VSCode on openSUSE Leap & Tumbleweed
Learn how to easily install Visual Studio Code on OpenSUSE Leap or Tumbleweed with step-by-step guide. Get started with the powerful, open-source code editor.
How to Install VSCode on openSUSE Leap & Tumbleweed - LinuxCapable