Skip to content

Gitpod Pallete Command to Terminate and Launch a New Workspace for faster .gitpod.yml interation #6818

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

Closed
omenking opened this issue Nov 21, 2021 · 7 comments
Labels
editor: code (browser) meta: stale This issue/PR is stale and will be closed soon team: IDE type: feature request New feature or request

Comments

@omenking
Copy link

Is your feature request related to a problem? Please describe

When you are iterating on a .gitpod.yml file you need to terminate and launch a new workspace.
The flow from terminating and launching the new workspace is clunky.
image

Describe the behaviour you'd like

It would be really nice if we had a pallete command that would terminate the current workspace and then launch a new workspace in the same context. eg. Gitpod: Terminate and Launch New Workspace

image

Describe alternatives you've considered

Additional context

@iQQBot
Copy link
Contributor

iQQBot commented Nov 21, 2021

You can use teams and projects

https://www.gitpod.io/blog/teams-and-projects

@geropl
Copy link
Member

geropl commented Nov 22, 2021

In my mind I was calling this "Gitpod: Open New Workspace on Same Context" 👍

@iQQBot
Copy link
Contributor

iQQBot commented Nov 22, 2021

In my mind I was calling this "Gitpod: Open New Workspace on Same Context" 👍

If the context is commit, that's not quite right

@svenefftinge
Copy link
Member

I'd love to make this a gp CLI command, which takes the current .gitpod.yml (and dockerfile) and starts a fresh workspace with an explicit prebuild stage. The CLI would output the build logs (docker build, prebuild, tasks) to standard out and at the end (ready state) print a link so one can optionally go open the IDE. The workspace stops when I terminate the process.

We can then have IDE commands to run this. I think a code lens in the .gitpod.yml would be even better. Also, a notification when the config has changed could be useful for users to discover this.

@svenefftinge
Copy link
Member

tracked in #7671

@stale
Copy link

stale bot commented Apr 21, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the meta: stale This issue/PR is stale and will be closed soon label Apr 21, 2022
@stale stale bot closed this as completed May 1, 2022
@jwpjrdev
Copy link
Contributor

I'd like to note that simply adding an action to cmd+shift+P would be a bit annoying on devices like phones or tablets because it takes a bit longer to open that menu. On iPads with hardware keyboards it's not that bad but the touch screen still makes it much harder to navigate.

Side note: palette not pallete

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editor: code (browser) meta: stale This issue/PR is stale and will be closed soon team: IDE type: feature request New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants