GhostText icon indicating copy to clipboard operation
GhostText copied to clipboard

Automatically open an editor when starting the extension

Open mybearworld opened this issue 2 years ago • 1 comments

Setup

Browser: Edge Editor: VSCode

Description

I don't know if other editors have this, but VSCode has vscode:// URLs that can open VSCode. It would be a nice experience to automatically start the editor instead of showing an error message if the connection fails.

mybearworld avatar Jun 04 '23 18:06 mybearworld

That’s not a bad idea, I’ll have to check how it works. My guess it’s that it’s more complicated than it sounds because opening VSCode isn’t instant, and extensions are delayed too. This means that it’s not enough to open VSCode and immediately connect to it, so GhostText would also need to enter a polling state that waits for the editor.

fregante avatar Jun 05 '23 03:06 fregante