👩💻 Join our community of thousands of amazing developers!
Use vscode.window.showInputBox - the returned value will be undefined if the input box was canceled (e.g. pressing ESC). Otherwise the returned value will be the string typed by the user or an empty string if the user did not type anything but dismissed the input box with OK. const searchQuery = await vscode.window.showInputBox({ placeHolder: "Search query", prompt: "Search my snippets on Codever", value: selectedText }); if(searchQuery === ''){ console.log(searchQuery); vscode.window....