From bd8c565c74065a2f29f8260157979a8e09c978f2 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Thu, 25 Jun 2026 14:24:25 -0700 Subject: [PATCH] vscode: don't use carbon LSP for testdata files (#7420) These files aren't exactly written in Carbon, but rather in some meta-language with file splits and semantically meaningful comments, and in any case getting red squiggles for expected errors is distracting and largely unhelpful. (We *could* teach the LSP to run the test and produce errors if the test doesn't match its expectations, but it's not clear that that would be helpful in practice either.) --- utils/vscode/src/extension.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/utils/vscode/src/extension.ts b/utils/vscode/src/extension.ts index 90f7427e9af9..0295136d39cc 100644 --- a/utils/vscode/src/extension.ts +++ b/utils/vscode/src/extension.ts @@ -291,7 +291,6 @@ export function activate(context: ExtensionContext) { const clientOptions: LanguageClientOptions = { documentSelector: [ { language: 'carbon' }, - { language: 'carbon-testdata' }, ], };