It's called a Language Service Protocol extension. There was talk of integrating LSPs pre-1.0, but MCP was coming. Someone will probably start one soon.
https://learn.microsoft.com/en-us/visualstudio/extensibility/adding-an-lsp-extension?view=vs-2022