Skip to content

Commit fd0e41f

Browse files
committed
Also activate chat context on jsonc
1 parent 275a515 commit fd0e41f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.scripts/samples.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,7 @@ export const samples: Sample[] = [
326326
{ description: 'wasm-component-model-resource', excludeFromReadme: true, path: 'wasm-component-model-resource', guide: null, apis: [], contributions: [] },
327327
{ description: 'wasm-component-model', excludeFromReadme: true, path: 'wasm-component-model', guide: null, apis: [], contributions: [] },
328328
{ description: 'welcome-view-content-sample', excludeFromReadme: true, path: 'welcome-view-content-sample', guide: null, apis: [], contributions: [] },
329+
{ description: 'chat-context-sample', excludeFromReadme: true, path: 'chat-context-sample', guide: null, apis: ['chatContextProvider'], contributions: [] },
329330
]
330331

331332
/**

chat-context-sample/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
],
1515
"activationEvents": [
1616
"onChatContextProvider:chat-context-sample.jsonLineCount",
17-
"onLanguage:json"
17+
"onLanguage:json",
18+
"onLanguage:jsonc"
1819
],
1920
"main": "./out/extension.js",
2021
"contributes": {

0 commit comments

Comments
 (0)