Visual Studio Code was created as a very light-weight text editor and the revolution that has made it the go-to editor for so many languages is the Language Server Protocol: VS Code doesn't need to understand your language, you only need an LSP that does and somewhat magically VS Code and your favorite language will get along as though they were made for each other.
Why can't we do something similar to LSP for browser-side languages? And no, I don't count anything that is implemented in WASM as being valid for what I'm saying: just because you can compile the Python or Ruby interpreter to WASM doesn't mean the browser natively supports it and native support is what I wish other languages had.