Real ChatGPT answer · index seedJAhYPalLJUscompleteB2B software · developer toolsinformational

How do I get started with building a custom VS Code extension using the Language Server Protocol for syntax highlighting?

ChatGPTgpt-63 queries10/31/2026
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)
Short factOther / navigational100%ComparisonConsequenceReasonDefinitionInstructionYes / no

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 ↗
  1. Semantic Highlight Guide · code.visualstudio.com
  2. Language Server Extension Guide · code.visualstudio.com
  3. LSP Sample Repository · github.com
  4. Language Server Protocol Specification · microsoft.github.io

Queries

3 queries · click a column to sort
Query / typeSearchIntentQuery classRouting formatClusterFreq ↓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