Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically open an editor when starting the extension #287

Open
mybearworld opened this issue Jun 4, 2023 · 1 comment
Open

Automatically open an editor when starting the extension #287

mybearworld opened this issue Jun 4, 2023 · 1 comment

Comments

@mybearworld
Copy link

mybearworld commented Jun 4, 2023

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.

@fregante
Copy link
Owner

fregante commented Jun 5, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants