For openSUSE Tumbleweed run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:tools:ide:vscode/openSUSE_Tumbleweed/devel:tools:ide:vscode.repo
zypper refresh
zypper install code
For openSUSE Factory RISCV run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:tools:ide:vscode/openSUSE_Factory_RISCV/devel:tools:ide:vscode.repo
zypper refresh
zypper install code
For 15.6 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:tools:ide:vscode/15.6/devel:tools:ide:vscode.repo
zypper refresh
zypper install code
For 15.5 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:tools:ide:vscode/15.5/devel:tools:ide:vscode.repo
zypper refresh
zypper install code