Use the registerTerminalLinkProvider function (API docs, example code) to rewrite http://localhost:xyz links in the terminal to the correct link that works on devbox.sh.
Update: I should have mentioned this likely has a few prerequisites. For one, devbox.sh needs to support VS Code extensions through https://open-vsx.org. Secondly, a Devbox extension should be installed by default which contains the registerTerminalLinkProvider code mentioned above.
### Tasks
- [ ] [Devbox Cloud] Support VSCode extensions through open-vsx.org
- [ ] [VSCode] Add the `registerTerminalLinkProvider` to the Devbox VSCode extension
Use the
registerTerminalLinkProvider
function (API docs, example code) to rewrite http://localhost:xyz links in the terminal to the correct link that works on devbox.sh.For example, when I click on https://localhost:5173 in the terminal seen in the screenshot below, I'd like a new browser tab to open which loads https://devbox.sh/app/projects/uuid/port/5173.
Update: I should have mentioned this likely has a few prerequisites. For one, devbox.sh needs to support VS Code extensions through https://open-vsx.org. Secondly, a Devbox extension should be installed by default which contains the
registerTerminalLinkProvider
code mentioned above.