I am writing a VS Code extension for code formatting and need the best tutorial on how to hook into the language server protocol
Download run
Fan-out diagram
The searches the AI actually ran for this prompt.
SEED QUERY
I am writing a VS Code extension for code formatting and need the best tutorial on how to hook into the language server protocol
1 real search · 1 real-search pass
VS Code Language Server Extension Guide formatting textDocument/formatting official docs tutorialGoogle ↗
OBSERVEDInstruction
Badge and edge weight = share of passes that produced the query. Hover a query for its intent and routing format.
Query classes
Google's semantic query class for every sub-query: what kind of answer each search is after, simulated vs real.
ChatGPT real searches (1)
Classes come from the query-classifier (a local Laya model).
Searches and sources
ChatGPT1 real searches · gpt-6
VS Code Language Server Extension Guide formatting textDocument/formatting official docs tutorial Google ↗
- Microsoft LSP Sample on GitHub · github.com
- Official LSP specification · microsoft.github.io
- GitHub repository · github.com
- Official documentation · code.visualstudio.com