VSCode can run from WSL2 and have access to its file system
Wsl is pretty terrible in my experience. your better off using a vm you manage yourself. Every vendor has shared folders. Each one can use a x server to display programs in your windows window manager.
My main personal notebook is a windows device w/WSL and my main work notebook is a MacOS device, because at the end of the day, I need my computer's to just work, painlessly.
WSL is great for alot of Linux userspace stuff and is a fantastic CLI for interacting with and managing remote servers, alongside the ease of Windows. Of course it's not as performance, and had some edges, but I happily accept the trade-offs due to great driver support and the flexibility to run almost any software on one device.
Your right about it being a tool. A tool which has better alternatives.
A virtual machine running in virtual box or some other vendor's VM has literally none of the limitations that wsl2 does.
WSL 2 Doesn't fully support all userspace stuff, I bump into that all the time.
You can ssh into other boxes using PowerShell.
It is objectively bad compared to the alternatives.
The same goes for programming languages and engineering problems. I train my team to identify multiple possible solutions to a problem then identify pros and cons and then pick the solution that optimizes for the most important goal. There is rarely a "right" solution.
I use WSL everyday and it’s no different than using native Linux. What’s so terrible? It’s easy to setup and easy to add to windows terminal.
It is most definitely not just like regular Linux.
I actually used it pretty extensively for years before I figured out it was causing more friction than it was worth. It's convenient, I'll give you that, but again, it's objectively worse than the other tools available. You should try them.
Vscode renders sharply without having to do extra work.
Both wsls are reasonably enjoyable. Much better than ssh-ing to a Linux host
I don't think vs code is running inside the wsl environment directly.
So there are many companies and many projects and i don't work with any Microsoft technology, for me it makes sense to just dodge any company that doesn't allow me any kind of Linux on daily driver, it's just that for me it makes sense, it's not a huge effort, it's not a huge sacrifice, it would be a sacrifice accepting a job with windows/mac when there are many more on linux
Edit: Thinking about it some more, I believe I was able to get WSL1 to work but not WSL2, unfortunately.