Phu1237 / vscode-vs-browser

Built-in browser for Visual Studio Code
MIT License
37 stars 3 forks source link

Feature: Support `xdg-open` #13

Open CodeMan99 opened 1 year ago

CodeMan99 commented 1 year ago

I would love a setting to make xdg-open http://localhost open this browser. It is important that it works well with sindresorhus/open since many CLI tools depend on that.

Phu1237 commented 1 year ago

Is the xdg-open is belong to Linux? Can you give me more information about xdg-open or a description video about your suggestions? Thank you!

CodeMan99 commented 1 year ago

Yes, xdg-open is an X11 utility.

Question on Stack Overflow: How does the xdg-open command know which application to use to open a file?

I'm asking specifically for the Linux utility as a proof of concept - it would support using devcontainers.

Phu1237 commented 1 year ago

You mean when xdg-open http://localhost it will open this browser in vscode right?

CodeMan99 commented 1 year ago

Correct.

Phu1237 commented 1 year ago

I will research this. Thank you for your suggestions 🤗