I am working on creating a vscode extension and i would like the ability to send message directly from my clipboard to cursor chat window. is there a way currently to achieve the same?
const currentClipboard = await vscode.env.clipboard.readText();
i tried the below, it didnt work,it opens up a blank window
vscode.commands.executeCommand(‘composer.createNewWithPrevContext’, {
input: Here is the current instructions :\n\n${currentClipboard}
});