File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import * as vscode from 'vscode' ;
22import { EffektHoleInfo } from './effektHoleInfo' ;
3- import { OutgoingMessage } from './webview/messages ' ;
3+ import { OutgoingMessage } from './webview/vscodeApi ' ;
44
55export class HolesViewProvider implements vscode . WebviewViewProvider {
66 public static readonly viewType = 'effekt.holesView' ;
Original file line number Diff line number Diff line change 88} from '../effektHoleInfo' ;
99import { ScopeGroup } from './ScopeGroup' ;
1010import { FilterBox } from './FilterBox' ;
11- import { IncomingMessage } from './messages ' ;
11+ import { IncomingMessage } from './vscodeApi ' ;
1212import { Location as LSPLocation } from 'vscode-languageserver-protocol' ;
1313
1414interface BindingsSectionProps {
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -8,13 +8,14 @@ export interface VSCodeAPI {
88declare function acquireVsCodeApi ( ) : VSCodeAPI ;
99
1010export type OutgoingMessage =
11- | { command : 'openCopilotChat ' ; holeId : string }
12- | { command : 'jumpToHole ' ; holeId : string }
13- | { command : 'jumpToDefinition ' ; definitionLocation : LSPLocation } ;
11+ | { command : 'jumpToHole ' ; holeId ? : string }
12+ | { command : 'jumpToDefinition ' ; definitionLocation : LSPLocation }
13+ | { command : 'openCopilotChat ' ; holeId : string } ;
1414
1515export type IncomingMessage =
1616 | { command : 'highlightHole' ; holeId : string }
1717 | { command : 'updateHoles' ; holes : EffektHoleInfo [ ] }
18- | { command : 'setShowHoles' ; show : boolean } ;
18+ | { command : 'setShowHoles' ; show : boolean }
19+ | { command : 'focusPanel' } ;
1920
2021export const vscode = acquireVsCodeApi ( ) ;
You can’t perform that action at this time.
0 commit comments