mirror of
https://github.com/voideditor/void
synced 2026-05-24 09:58:23 +00:00
comment out ctrlk so it builds
This commit is contained in:
parent
29b037726e
commit
18557c8f6e
1 changed files with 7 additions and 7 deletions
|
|
@ -34,18 +34,18 @@ export class CtrlKWebviewProvider {
|
|||
|
||||
onPressCtrlK() {
|
||||
|
||||
// TODO if currently selecting a ctrl k element, just focus it and do nothing
|
||||
// // TODO if currently selecting a ctrl k element, just focus it and do nothing
|
||||
|
||||
|
||||
const inset = vscode.window.createWebviewTextEditorInset(editor, line, height);
|
||||
// const inset = vscode.window.createWebviewTextEditorInset(editor, line, height);
|
||||
|
||||
|
||||
const newCtrlKId = this._idPool++
|
||||
updateWebviewHTML(inset.webview, this._extensionUri, { jsOutLocation: 'dist/webviews/ctrlk/index.js', cssOutLocation: 'dist/webviews/styles.css' },
|
||||
{ id: newCtrlKId }
|
||||
)
|
||||
// const newCtrlKId = this._idPool++
|
||||
// updateWebviewHTML(inset.webview, this._extensionUri, { jsOutLocation: 'dist/webviews/ctrlk/index.js', cssOutLocation: 'dist/webviews/styles.css' },
|
||||
// { id: newCtrlKId }
|
||||
// )
|
||||
|
||||
ctrlKWebviewProvider.webview.then(webview => webview.postMessage({ type: 'ctrl+k', selection: { selectionStr, selectionRange, filePath } } satisfies MessageToSidebar));
|
||||
// ctrlKWebviewProvider.webview.then(webview => webview.postMessage({ type: 'ctrl+k', selection: { selectionStr, selectionRange, filePath } } satisfies MessageToSidebar));
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue