gitpod-io / openvscode-server

Run upstream VS Code on a remote machine with access through a modern web browser from any device, anywhere.

Home Page:https://www.gitpod.io/

Repository from Github https://github.comgitpod-io/openvscode-serverRepository from Github https://github.comgitpod-io/openvscode-server

open extension from url

cosentino-smeup opened this issue · comments

I am using the vscode-ibmi extension to work with IBMi systems and edit source code inside OpenVSCode.

vscode-ibmi has recently introduced a feature to open connect automatically to IBMi and open a file from URL. This feature works only with a local "VS Code" because it uses the following syntax:

vscode://halcyontechltd.code-for-ibmi/open?host=1.1.1.1&path=/home/liama/xyz

This will send a request to the "halcyontechltd.code-for-ibmi" extension, to run the "open" action on host "1.1.1.1" to open file "/home/liama/xyz"

I would like to do the same thing with OpenVSCode.

For example, if my OpenVSCode link is at this URL:

https://myserver.smeup.com:3500/

The syntax to open a file with vscode-ibmi should be something like this (I just invented it to show to concept):

https://myserver.smeup.com:3500/vscode://halcyontechltd.code-for-ibmi/open?host=1.1.1.1&path=/home/liama/xyz

Would it be possible to support the "vscode://" in the URL with "OpenVSCode" ?