File tree Expand file tree Collapse file tree 4 files changed +8
-0
lines changed Expand file tree Collapse file tree 4 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ import {
3030} from "./ScopeVisualizerCommandApi" ;
3131
3232export const DONT_SHOW_TALON_UPDATE_MESSAGE_KEY = "dontShowUpdateTalonMessage" ;
33+
3334export class ScopeTreeProvider implements TreeDataProvider < MyTreeItem > {
3435 private visibleDisposable : Disposer | undefined ;
3536 private treeView : TreeView < MyTreeItem > ;
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ export function constructTestHelpers(
2828 hatTokenMap : HatTokenMap ,
2929 vscodeIDE : VscodeIDE ,
3030 normalizedIde : NormalizedIDE ,
31+ spokenFormsJsonPath : string ,
3132 injectIde : ( ide : IDE ) => void ,
3233 runIntegrationTests : ( ) => Promise < void > ,
3334) : TestHelpers | undefined {
@@ -61,6 +62,8 @@ export function constructTestHelpers(
6162 ) ;
6263 } ,
6364
65+ spokenFormsJsonPath,
66+
6467 setStoredTarget (
6568 editor : vscode . TextEditor ,
6669 key : StoredTargetKey ,
Original file line number Diff line number Diff line change @@ -83,6 +83,7 @@ export async function activate(
8383 scopeProvider,
8484 snippets,
8585 injectIde,
86+ spokenFormsJsonPath,
8687 runIntegrationTests,
8788 customSpokenFormGenerator,
8889 } = createCursorlessEngine (
@@ -125,6 +126,7 @@ export async function activate(
125126 hatTokenMap ,
126127 vscodeIDE ,
127128 normalizedIde as NormalizedIDE ,
129+ spokenFormsJsonPath ,
128130 injectIde ,
129131 runIntegrationTests ,
130132 )
Original file line number Diff line number Diff line change @@ -44,6 +44,8 @@ export interface TestHelpers {
4444
4545 runIntegrationTests ( ) : Promise < void > ;
4646
47+ spokenFormsJsonPath : string ;
48+
4749 /**
4850 * A thin wrapper around the VSCode API that allows us to mock it for testing.
4951 */
You can’t perform that action at this time.
0 commit comments