Skip to content

Any way I can script a local file to open in code-server as a Chrome app #6580

Answered by code-asher
bubblesnout asked this question in Q&A
Discussion options

You must be logged in to vote

I am not sure about automating drag/drop, but supposedly it is possible to properly register a PWA as a file handler: https://developer.chrome.com/docs/capabilities/web-apis/file-handling

Then the next step is to get VS Code to actually handle the file.

Oh, and turns out there is actually already an upstream issue for this. microsoft/vscode#135784 Give it a thumbs up, maybe they will prioritize it. Would be a really cool feature.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bubblesnout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants