comment out ctrlk so it builds

This commit is contained in:
Andrew 2024-10-28 03:37:18 -07:00
parent 29b037726e
commit 18557c8f6e

View file

@ -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));
}