microsoft/vscode · error
Language ${languageId} is not supported
Error message
Language ${languageId} is not supported What it means
Error "Language ${languageId} is not supported" thrown in microsoft/vscode.
Source
Thrown at extensions/copilot/src/extension/completions-core/vscode-node/prompt/src/parseBlock.ts:951
/* languageId */ 'cpp',
/* nodeMatch */ {
// TODO -- unused in the current usage.
},
/* nodeTypesWithBlockOrStmtChild */ new Map([
// TODO -- unused in the current usage.
]),
/* startKeywords */[
// TODO -- unused in the current usage.
],
/* blockNodeType */ 'block',
/* emptyStatementType */ null,
/* curlyBraceLanguage */ true
),
};
export function getBlockParser(languageId: string): BlockParser {
if (!isSupportedLanguageId(languageId)) {
throw new Error(`Language ${languageId} is not supported`);
}
return wasmLanguageToBlockParser[languageIdToWasmLanguage(languageId)];
}
export async function isEmptyBlockStart(languageId: string, text: string, offset: number) {
if (!isSupportedLanguageId(languageId)) {
return false;
}
return getBlockParser(languageId).isEmptyBlockStart(text, offset);
}
export async function isBlockBodyFinished(languageId: string, prefix: string, completion: string, offset: number) {
if (!isSupportedLanguageId(languageId)) {
return undefined;
}
return getBlockParser(languageId).isBlockBodyFinished(prefix, completion, offset);
}
View on GitHub (pinned to a94b963a32)
When it happens
Trigger: Thrown at extensions/copilot/src/extension/completions-core/vscode-node/prompt/src/parseBlock.ts:951 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of microsoft/vscode@a94b963a32 (2026-08-12).
Data as JSON: /api/errors/83dd0bd924b8ffd4.
Report an issue: GitHub.