Also activate chat context on jsonc (#1267)

This commit is contained in:
Alex Ross
2026-01-27 18:03:27 +01:00
committed by GitHub
parent 275a515b6a
commit a4feb90e1f
2 changed files with 3 additions and 1 deletions

View File

@ -326,6 +326,7 @@ export const samples: Sample[] = [
{ description: 'wasm-component-model-resource', excludeFromReadme: true, path: 'wasm-component-model-resource', guide: null, apis: [], contributions: [] },
{ description: 'wasm-component-model', excludeFromReadme: true, path: 'wasm-component-model', guide: null, apis: [], contributions: [] },
{ description: 'welcome-view-content-sample', excludeFromReadme: true, path: 'welcome-view-content-sample', guide: null, apis: [], contributions: [] },
{ description: 'chat-context-sample', excludeFromReadme: true, path: 'chat-context-sample', guide: null, apis: ['chatContextProvider'], contributions: [] },
]
/**

View File

@ -14,7 +14,8 @@
],
"activationEvents": [
"onChatContextProvider:chat-context-sample.jsonLineCount",
"onLanguage:json"
"onLanguage:json",
"onLanguage:jsonc"
],
"main": "./out/extension.js",
"contributes": {