The openSUSE Tumbleweed rolling release Linux distribution has begun rolling out the KDE Plasma 6.0.1, Gear 24.02 apps, and Frameworks 6.0 packages. Plasma 5 is being replaced within the Tumbleweed repository but openSUSE Tumbleweed isn’t yet transitioning to the Wayland session by default.
you might want to give this fix a shot!
https://old.reddit.com/r/Fedora/comments/1afkoge/how_to_make_vscode_run_in_wayland_mode/