How do I get started with building a custom VS Code extension using the Language Server Protocol for syntax highlighting?
Download run
Fan-out diagram
The searches the AI actually ran for this prompt.
SEED QUERY
How do I get started with building a custom VS Code extension using the Language Server Protocol for syntax highlighting?
3 real searches · 1 real-search pass
site:code.visualstudio.com/api/language-extensions language server extension semantic tokens TextMate grammarGoogle ↗
OBSERVEDOther / navigational
site:microsoft.github.io/language-server-protocol semanticTokens protocolGoogle ↗
OBSERVEDOther / navigational
github.com/microsoft/vscode-extension-samples lsp-sample serverGoogle ↗
OBSERVEDOther / navigational
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 (3)
Classes come from the query-classifier (a local Laya model). 2 of 3 calls are low-confidence (under 50%) — hover a query in the table to see its confidence.
Searches and sources
ChatGPT3 real searches · gpt-6
site:code.visualstudio.com/api/language-extensions language server extension semantic tokens TextMate grammar Google ↗
site:microsoft.github.io/language-server-protocol semanticTokens protocol Google ↗
github.com/microsoft/vscode-extension-samples lsp-sample server Google ↗
- Semantic Highlight Guide · code.visualstudio.com
- Language Server Extension Guide · code.visualstudio.com
- LSP Sample Repository · github.com
- Language Server Protocol Specification · microsoft.github.io
Queries
3 queries · click a column to sort
| Query / type | Search | Intent | Query class | Routing format | Cluster | Freq ↓ | Weight |
|---|---|---|---|---|---|---|---|
site:code.visualstudio.com/api/language-extensions language server extension semantic tokens TextMate grammar OBSERVED | Google ↗ AI Mode ↗ | — | Other / navigational | — | — | 1x of 1 | |
site:microsoft.github.io/language-server-protocol semanticTokens protocol OBSERVED | Google ↗ AI Mode ↗ | — | Other / navigational | — | — | 1x of 1 | |
github.com/microsoft/vscode-extension-samples lsp-sample server OBSERVED | Google ↗ AI Mode ↗ | — | Other / navigational | — | — | 1x of 1 |