The real answer here is to run X on windows and run vscode from inside wsl
I went from 8 years on osx to ragequitting in disgust after fighting brew for a whole day.
Spent half a year using plain windows, was not happy. Wsl came out and I was more happy, but since my editor ran in windows it kept screwing up locks and whatnot. It even corrupted my git making me lose my work a few times.
Spent half a year on ubuntu, disgusted with how bad linux is for desktop usage i went back to wsl again, this time running Mobaxterm.
It works sooooo well. The vscode and gitkraken windows run from wsl and show up as native apps in win10. All the awesomeness of a «real» desktop environment with proper drivers, wifi not dying after closing laptop lid etc while also having a proper nix env to do my work in.
I’m very happy with this, even more so than the «golden years» before osx started to decline in quality.