Aren't you curious how 4MB of typescript can parse and understand C++ code? It doesn't. It downloads an additional 200MB binary language server that does all the work.