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

Gitpod to support gp install #1400

Closed
JesterOrNot opened this issue Apr 16, 2020 · 6 comments
Closed

Gitpod to support gp install #1400

JesterOrNot opened this issue Apr 16, 2020 · 6 comments
Labels

Comments

@JesterOrNot
Copy link
Contributor

I would like to propose a new subcommand for the Gitpod CLI gp install this would take a path to a *.vsix file and install it. This would make working with VSCode extension development in Gitpod a bit easier.

@Kreyren
Copy link

Kreyren commented Apr 16, 2020

duplicate of / relevant to #1097

@svenefftinge
Copy link
Member

Could you outline some concrete use cases to better understand this request?

@JesterOrNot
Copy link
Contributor Author

For Gitpodifying VSCode extensions

tasks:
  - init: vsce package
    command: gp install *.vsix

Then contributors could open a workspace and then test the latest version of the extension

My current workflow is

  1. vsce package
  2. Go to explorer
  3. Download vsix file
  4. Open file explorer
  5. open extensions view
  6. drag and drop to install
  7. Reload tab if need be

With gp install you could completely automate the building and testing of VSCode extensions in Gitpod.

@akosyakov
Copy link
Member

One can add node launch configuration similar to eclipse-theia/theia#3251 (comment) then you go to Debug view and click run. At least till we don't support extensionHost target.

The stopper for it is to allow running VS Code extensions from source by Gitpod Theia. @svenefftinge Would it be fine to enable it?

@philschatz
Copy link
Contributor

Hello, I am helping write a VSCode extension specifically to run in gitpod. I tried adapting the instructions in eclipse-theia/theia#3251 (comment) but was unable to get the breakpoints to work and the solution required using VNC (see this PR).

If the method mentioned above is not possible, do you have any suggestions for how to approach adding this feature? I am not familiar with go but could try a bit.

@akosyakov
Copy link
Member

Closing as a duplicate of #3166

It is not yet possible, but we are going to add ability to manage extension in March milestone.

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

No branches or pull requests

5 participants